Return state (with two derivatives)
function state2 extends Modelica.Icons.Function; input Real u[3] "Required values for state and der(s)"; input Real dummy "Just to have one input signal that should be differentiated to avoid possible problems in the Modelica tool (is not used)"; output Real s; end state2;