Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false)
Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo)
Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo)
Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo)
Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo)
Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo)
Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8071/0.8071, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001151/0.001151, allocations: 176.1 kB / 180.9 MB, free: 15.08 MB / 154.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.531/1.531, allocations: 170.7 MB / 383.7 MB, free: 16.16 MB / 282.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001576/0.001576, allocations: 122 kB / 454.6 MB, free: 9.719 MB / 346.7 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8:
"
An important practical aspect of state machines is the abilit...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8:
"
The Modelica_StateGraph2 library is described in detail in (O...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8:
"
- Main Authors:
-
SCode: time 0.1719/0.1724, allocations: 73.42 MB / 0.6812 GB, free: 5.52 MB / 474.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.5221/0.6945, allocations: 149.3 MB / 0.827 GB, free: 13.82 MB / 0.5105 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/0.695, allocations: 103.6 kB / 0.8271 GB, free: 13.76 MB / 0.5105 GB
Notification: Performance of FrontEnd - DAE generated: time 1.068/1.763, allocations: 321.2 MB / 1.141 GB, free: 21.47 MB / 0.6042 GB
Notification: Performance of FrontEnd: time 3.155e-06/1.763, allocations: 3.938 kB / 1.141 GB, free: 21.46 MB / 0.6042 GB
Notification: Performance of Transformations before backend: time 0.0005486/1.764, allocations: 171.8 kB / 1.141 GB, free: 21.3 MB / 0.6042 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 1632
* Number of variables: 1632
Notification: Performance of Generate backend data structure: time 0.02501/1.789, allocations: 6.083 MB / 1.147 GB, free: 15.13 MB / 0.6042 GB
Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.789, allocations: 8.562 kB / 1.147 GB, free: 15.12 MB / 0.6042 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.805, allocations: 1.736 MB / 1.149 GB, free: 13.38 MB / 0.6042 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01717/1.822, allocations: 5.015 MB / 1.154 GB, free: 8.289 MB / 0.6042 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007045/1.823, allocations: 451.7 kB / 1.154 GB, free: 7.848 MB / 0.6042 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.004253/1.827, allocations: 0.5924 MB / 1.155 GB, free: 7.258 MB / 0.6042 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.4554/2.283, allocations: 9.869 MB / 1.164 GB, free: 60.88 MB / 0.6042 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0004812/2.283, allocations: 30.5 kB / 1.164 GB, free: 60.88 MB / 0.6042 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/2.286, allocations: 265 kB / 1.164 GB, free: 60.88 MB / 0.6042 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006163/2.287, allocations: 379 kB / 1.165 GB, free: 60.87 MB / 0.6042 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/2.311, allocations: 7.766 MB / 1.172 GB, free: 60.82 MB / 0.6042 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06885/2.38, allocations: 33.46 MB / 1.205 GB, free: 50.52 MB / 0.6042 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006682/2.386, allocations: 4.197 MB / 1.209 GB, free: 50.46 MB / 0.6042 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/2.387, allocations: 38.98 kB / 1.209 GB, free: 50.46 MB / 0.6042 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/2.387, allocations: 72.27 kB / 1.209 GB, free: 50.41 MB / 0.6042 GB
Notification: Performance of pre-optimization done (n=353): time 8.876e-06/2.387, allocations: 4.859 kB / 1.209 GB, free: 50.41 MB / 0.6042 GB
Notification: Performance of matching and sorting (n=578): time 0.4634/2.85, allocations: 106.4 MB / 1.313 GB, free: 36.42 MB / 0.6042 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/2.851, allocations: 111.9 kB / 1.313 GB, free: 36.29 MB / 0.6042 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/2.854, allocations: 2.146 MB / 1.315 GB, free: 34.5 MB / 0.6042 GB
Notification: Performance of collectPreVariables (initialization): time 0.001408/2.856, allocations: 117.7 kB / 1.316 GB, free: 34.38 MB / 0.6042 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001776/2.857, allocations: 2.655 MB / 1.318 GB, free: 32.19 MB / 0.6042 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002604/2.86, allocations: 1.949 MB / 1.32 GB, free: 30.42 MB / 0.6042 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/2.861, allocations: 112 kB / 1.32 GB, free: 30.31 MB / 0.6042 GB
Notification: Performance of setup shared object (initialization): time 0.0003424/2.861, allocations: 0.5263 MB / 1.321 GB, free: 29.85 MB / 0.6042 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005182/2.866, allocations: 3.8 MB / 1.324 GB, free: 26.56 MB / 0.6042 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006181/2.872, allocations: 4.916 MB / 1.329 GB, free: 21.82 MB / 0.6042 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/2.878, allocations: 4.603 MB / 1.334 GB, free: 17.64 MB / 0.6042 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/2.878, allocations: 8 kB / 1.334 GB, free: 17.63 MB / 0.6042 GB
Notification: Performance of matching and sorting (n=725) (initialization): time 0.03347/2.912, allocations: 16.01 MB / 1.349 GB, free: 4.66 MB / 0.6042 GB
Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/2.912, allocations: 16 kB / 1.349 GB, free: 4.645 MB / 0.6042 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/2.912, allocations: 38.19 kB / 1.349 GB, free: 4.613 MB / 0.6042 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.02537/2.937, allocations: 7.943 MB / 1.357 GB, free: 14.44 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/2.94, allocations: 0.5651 MB / 1.358 GB, free: 14 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5849/3.525, allocations: 71.02 MB / 1.427 GB, free: 92.41 MB / 0.6511 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006405/3.532, allocations: 241.4 kB / 1.427 GB, free: 92.41 MB / 0.6511 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/3.533, allocations: 205.6 kB / 1.427 GB, free: 92.41 MB / 0.6511 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 137
* Number of states: 0 ()
* Number of discrete variables: 0 ()
* Number of discrete states: 0 ()
* Number of clocked states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (286):
* Single equations (assignments): 275
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 11
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 11 {(5,92.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,83.3%) 40,(6,77.8%) 72,(14,51.0%) 72,(24,35.2%) 62,(10,64.0%) 68,(7,83.7%) 39}
* Non-linear torn systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.007779/3.541, allocations: 2.429 MB / 1.43 GB, free: 92.3 MB / 0.6511 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/3.543, allocations: 466.3 kB / 1.43 GB, free: 92.3 MB / 0.6511 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03767/3.58, allocations: 15.93 MB / 1.446 GB, free: 91.7 MB / 0.6511 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.343e-05/3.581, allocations: 54.5 kB / 1.446 GB, free: 91.7 MB / 0.6511 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002734/3.581, allocations: 70.31 kB / 1.446 GB, free: 91.7 MB / 0.6511 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000123/3.581, allocations: 29.69 kB / 1.446 GB, free: 91.7 MB / 0.6511 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05191/3.633, allocations: 24.15 MB / 1.47 GB, free: 90.54 MB / 0.6511 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001122/3.633, allocations: 7.562 kB / 1.47 GB, free: 90.54 MB / 0.6511 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/3.636, allocations: 321.1 kB / 1.47 GB, free: 90.54 MB / 0.6511 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.02289/3.658, allocations: 6.892 MB / 1.477 GB, free: 90.39 MB / 0.6511 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001583/3.66, allocations: 104.9 kB / 1.477 GB, free: 90.39 MB / 0.6511 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08683/3.747, allocations: 67.33 MB / 1.542 GB, free: 58.1 MB / 0.6511 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/3.747, allocations: 14.19 kB / 1.543 GB, free: 58.1 MB / 0.6511 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03941/3.786, allocations: 21 MB / 1.563 GB, free: 48.87 MB / 0.6511 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.004247/3.791, allocations: 1.257 MB / 1.564 GB, free: 48.14 MB / 0.6511 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/3.792, allocations: 108.6 kB / 1.564 GB, free: 48.07 MB / 0.6511 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/3.796, allocations: 231.8 kB / 1.565 GB, free: 48 MB / 0.6511 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/3.798, allocations: 0.5251 MB / 1.565 GB, free: 47.91 MB / 0.6511 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004478/3.798, allocations: 142.4 kB / 1.565 GB, free: 47.87 MB / 0.6511 GB
Notification: Performance of sorting global known variables: time 0.002394/3.801, allocations: 1.617 MB / 1.567 GB, free: 47.29 MB / 0.6511 GB
Notification: Performance of sort global known variables: time 4.11e-07/3.801, allocations: 0 / 1.567 GB, free: 47.29 MB / 0.6511 GB
Notification: Performance of remove unused functions: time 0.00927/3.81, allocations: 2.257 MB / 1.569 GB, free: 47.02 MB / 0.6511 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 31
* Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2])
* Number of discrete variables: 0 ()
* Number of discrete states: 0 ()
* Number of clocked states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for simulation (142):
* Single equations (assignments): 131
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 11
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72}
* Non-linear torn systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0008951/3.811, allocations: 242.7 kB / 1.569 GB, free: 46.86 MB / 0.6511 GB
Notification: Performance of simCode: created initialization part: time 0.02373/3.835, allocations: 14.03 MB / 1.583 GB, free: 40.39 MB / 0.6511 GB
Notification: Performance of simCode: created event and clocks part: time 1.234e-05/3.835, allocations: 3.875 kB / 1.583 GB, free: 40.39 MB / 0.6511 GB
Notification: Performance of simCode: created simulation system equations: time 0.01747/3.852, allocations: 9.073 MB / 1.592 GB, free: 35.87 MB / 0.6511 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006535/3.859, allocations: 1.101 MB / 1.593 GB, free: 35.55 MB / 0.6511 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/3.892, allocations: 18.43 MB / 1.611 GB, free: 22.34 MB / 0.6511 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006959/3.899, allocations: 5.005 MB / 1.616 GB, free: 18.57 MB / 0.6511 GB
Notification: Performance of simCode: alias equations: time 0.003295/3.903, allocations: 0.7538 MB / 1.616 GB, free: 18.05 MB / 0.6511 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/3.903, allocations: 193.4 kB / 1.617 GB, free: 17.86 MB / 0.6511 GB
Notification: Performance of SimCode: time 1.603e-06/3.903, allocations: 0 / 1.617 GB, free: 17.86 MB / 0.6511 GB
Notification: Performance of Templates: time 0.5938/4.497, allocations: 124.8 MB / 1.739 GB, free: 88.86 MB / 0.6667 GB
make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile
(rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)