_sim.m now returns time as third argument