This information is part of the Modelica Standard Library maintained by the Modelica Association.
Built-in variable time
encapsulated model SineSource import Modelica.Math.sin; connector OutPort=output Real; OutPort y=sin(time); // Uses the built-in variable time. end SineSource;
All declared variables are functions of the independent variable time. Time is a built-in variable available in all classes, which is treated as an input variable. It is implicitly defined as:
input Real time (final quantity = "Time", final unit = "s");
The value of the start attribute of time is set to the time instant at which the simulation is started.