I want to know if it's possible to simulate a model in OMShell, that is nested inside a package, that I loaded in OMShell via loadFile()
. None of my attempts doing it via loadModel()
or loadFile()
were successful.
Situation is as follows: I have a self written (Modelica) package named Testpackage
that contains a model named Testmodel
that i want to simulate in OMShell. The package is not organized in a folder-structure - it`s just the package.mo file.
I manage to load the package-file by navigating via cd("/path/to/Testpackage")
and then loading the package via loadFile(Testpackage)
.
After that I am lost. When trying to load Testmodel
with command loadModel(Testmodel)
I get the message that it tried to load it from the standard Modelica library. Specifying the path it tells me things I don`t know how to interpret.
Thank you for your help in advance!Roman