-
Notifications
You must be signed in to change notification settings - Fork 298
/
buildHumModOMC.mos
27 lines (24 loc) · 1.47 KB
/
buildHumModOMC.mos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// name: HumModOMCTotal [buildModel]
// keywords:
// status: correct
//
//
//
/*
* The HumModOMCTotal.mo model is GPL v2 (http://www.gnu.org/licenses/gpl-2.0.html).
* contact Pavol at: Pavol.Privitzer@lf1.cuni.cz if you have questions about the model
*/
loadFile("HumModTest_OMC_total.mo"); getErrorString();
buildModel(HumModTest); getErrorString();
// Result:
// true
// "Notification: Automatically loaded package Modelica 3.2.1 due to uses annotation.
// Notification: Automatically loaded package Complex 3.2.1 due to uses annotation.
// Notification: Automatically loaded package ModelicaServices 3.2.1 due to uses annotation.
// "
// {"HumModTest","HumModTest_init.xml"}
// "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
// Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
// Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
// "
// endResult