[bugfix] fix high memory usage bug when running a simulator generated with acsim -hlt
[bugfix] fix high memory usage bug when running a simulator generated with acsim -hlt

tiagofalcao/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,lianaduenha/ArchC,lianaduenha/ArchC,lianaduenha/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,lianaduenha/ArchC,tiagofalcao/ArchC