This function returns y = log(10) (the natural logarithm of u), with u > 0:
function log extends Modelica.Math.Icons.AxisLeft; input Real u "Independent variable"; output Real y "Dependent variable y=ln(u)"; end log;