Completed simulation routine, still does not reach main simulation loop?