GetTime will return 0 on error (simulation hasn't started).