-
Notifications
You must be signed in to change notification settings - Fork 298
/
ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.mos
63 lines (59 loc) · 8.01 KB
/
ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// name: ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.mos [simulation checking]
// keywords: simulation ThermoSysPro.Examples.SimpleExamples
// status: correct
// teardown_command: rm -rf _ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.* ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1_* ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1 ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.exe ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.cpp ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.makefile ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.libs ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.log ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.c ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.o output.log
//
// Simulation Results
// Modelica Standard Library
//
loadModel(Modelica, {"3.2.3"}); getErrorString();
loadModel(ThermoSysPro); getErrorString();
simulate(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1, stopTime=200); getErrorString();
res := OpenModelica.Scripting.compareSimulationResults(
"ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1_res.mat",
getEnvironmentVar("REFERENCEFILES")+"/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.mat",
"ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1_diff.csv",
0.01, 0.0001,
{"volumeFlueGasesATh.Ce1.Q", "volumeFlueGasesATh.Ce2.Q", "volumeFlueGasesATh.Cs1.Q", "volumeFlueGasesATh.Cs2.Q", "volumeFlueGasesATh.T", "volumeFlueGasesATh.P",
"volumeFlueGasesCTh.Ce1.Q", "volumeFlueGasesCTh.Ce2.Q", "volumeFlueGasesCTh.Ce3.Q", "volumeFlueGasesCTh.Cs.Q", "volumeFlueGasesCTh.T", "volumeFlueGasesCTh.P"});
// Result:
// true
// ""
// true
// ""
// record SimulationResult
// resultFile = "",
// simulationOptions = "startTime = 0.0, stopTime = 200.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "Simulation execution failed for model: ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1
// stdout | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
// stdout | warning | Error solving linear system of equations (no. 528) at time 0.000000.
// stdout | warning | Solving linear system 528 fails at time 0. For more information use -lv LOG_LS.
// assert | debug | Solving linear system 528 failed at time=0.
// | | | | For more information please use -lv LOG_LS.
// assert | info | simulation terminated by an assertion at initialization
// "
// end SimulationResult;
// "[ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet$volumeFlueGasesATh$Cs2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet$volumeFlueGasesATh$Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet$volumeFlueGasesCTh$Ce3 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// [ThermoSysPro 3.2.0/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0).
// 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.
// "
// {"Error get time!"}
// endResult