-
Notifications
You must be signed in to change notification settings - Fork 298
/
MDD_test.mos
39 lines (38 loc) · 2.35 KB
/
MDD_test.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
28
29
30
31
32
33
34
35
36
37
38
39
// name: MDD_test
// keywords: MDD_test
// status: correct
// teardown_command: rm -rf MDD_test_*
//
// Checks that external object aliases are recognized properly. Otherwise the system has too many equations.
//
loadModel(Modelica, {"3.2.2"});getErrorString();
loadModel(Modelica_Synchronous); getErrorString();
loadModel(Modelica_DeviceDrivers); getErrorString();
loadFile("MDD_test.mo"); getErrorString();
buildModel(MDD_test); getErrorString();
// Result:
// true
// ""
// true
// "Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// Warning: Requested package ModelicaServices of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// "
// true
// "Warning: Requested package Modelica_Synchronous of version 0.92.2, but this package was already loaded with version 0.93.0-dev. You might experience problems if these versions are incompatible.
// Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// "
// true
// ""
// {"MDD_test","MDD_test_init.xml"}
// "Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// Warning: Requested package ModelicaServices of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// Warning: Requested package Modelica_Synchronous of version 0.92.2, but this package was already loaded with version 0.93.0-dev. You might experience problems if these versions are incompatible.
// Warning: Requested package Modelica of version 3.2.3, but this package was already loaded with version 3.2.2. You might experience problems if these versions are incompatible.
// Warning: Alias equations of external objects are not Modelica compliant as in:
// getInteger.pkgIn.pkg = resetPointer.pkgOut[1].pkg
// packInt.pkgOut[1].pkg = resetPointer.pkgIn.pkg
// packInt.pkgIn.pkg = packager.pkgOut.pkg
// packInt.pkgOut[1].pkg = packInt.pkgIn.pkg
// resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg
// "
// endResult