Simulator automatically invokes carsim function