The time is rounded down to the integer second.
function timeTranslation extends Modelica.Icons.Function; import Modelica.Utilities.Streams.print; input String problem "Path and name of the model (with modifiers, if any)"; input String fileName = "translg.txt" "File where to print (empty string is the terminal)"; output Boolean ok "<html><code>true</code> if successful</html>"; end timeTranslation;