How to print simulation time in Output box

Hi all,
I’m trying to print out the simulation time using process modeling after a Transport In statement is completed.

I’m trying to use the Print statement like in the image below but i’m not getting results.

Can anyone help me?
Thaks you all.
Tommaso

Hello,
you have to write just : SimTime()

This is documented here: Process Statements
Go to “Other”

Thank you so much.
How can I add a string before like
“TransportIn happened at:” SimTime()

You can’t combine Strings and floats with the print statement. You could have them on 2 lines if you first print the “TransportIn happened at:” and then print SimTime()…

Thaks you again.
Have a nice day