This function returns y = acos(u), with -1 ≤ u ≤ +1:
function acos extends Modelica.Math.Icons.AxisCenter; input Real u "Independent variable"; output Modelica.Units.SI.Angle y "Dependent variable y=acos(u)"; end acos;