def callback(simulator): print("Callback called at {}s".format(simulator.time))