- The Key Word Import isn't implemented in OpenModelica (example :
import SI=Modelica.SIunits.*;)

An import-clause can occur in one of the following five syntactic forms:
import packagename; (qualified import)
import [packagename.]definitionname; (single definition import)
import packagename.*; (unqualified import)
import shortpackagename = packagename; (renaming import)
import shortpackagename = [packagename.]definitionname; (renaming single def. import)

Your example is neither of the above.

- The Package Modelica.utilities doesn't exist in Openmodelica

Modelica.Utilities I think was removed from the Modelica sources because we don't have the external C sources compiled in OpenModelica.

Much of them works you download MSL from modelica.org and you compile the C sources yourself.

- Openmodelica don't accept C language key word as a name of modelica
variable (exp Boolean unsigned;)

Good point. But I guess this only affects variables used in functions?

- The two function edge() and change() are not implemented in openmodelica

I think this is true.

- Openmodelica don't accept a function that return two matrix or more in
a when statement

Even if this was fixed, OpenModelica has problems counting equations when you use array or matrix equations (try to generate code without the when equation; "The model has 2 equation(s) and 12 variable(s)")

--
Martin Sjölund

Reply via email to