Simulation time is a timestamp that is retrieved from a simulation clock. You can use ALH API to get the simulation time of execution.

public double getCurrentTime() {
...
} 
public double getCurrentTime(String timeUnit) {
...
}


The following code fragment shows how to get the simulation time of execution through ALH API.

ALH.getCurrentTime();
ALH.getCurrentTime("ms");