Make sure we flush log file in %sim
SIM: Hook system, autostep, speed improvements
More performance work on the simulator