A function that has more than one output parameter has multiple results.
Call it directly:
Another example of a multiple results function is the function pointOnCircle, which computes the cartesian coordinates of a point located at a certain angle on a circle with a certain radius. The cartesian coordinates are returned via the two result variables x and y.
load Modelica library
When calling a multiple results functions there are two possibilities, equation form or statement form.