Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.789/0.789, allocations: 132.5 MB / 139.9 MB, free: 15.37 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.001065/0.001065, allocations: 169.4 kB / 171.8 MB, free: 2.039 MB / 138.7 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.606/1.606, allocations: 170.6 MB / 374.2 MB, free: 15.73 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.001945/0.001944, allocations: 110.2 kB / 444.8 MB, free: 9.25 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.5562/0.5562, allocations: 73.4 MB / 0.6666 GB, free: 47.04 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 6.032/6.588, allocations: 2.178 GB / 2.844 GB, free: 200.9 MB / 0.6198 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/6.589, allocations: 106.2 kB / 2.844 GB, free: 200.9 MB / 0.6198 GB
Notification: Performance of FrontEnd - DAE generated: time 0.461/7.05, allocations: 209.1 MB / 3.049 GB, free: 50.43 MB / 0.6198 GB
Notification: Performance of FrontEnd: time 2.605e-06/7.05, allocations: 0 / 3.049 GB, free: 50.43 MB / 0.6198 GB
Notification: Performance of Transformations before backend: time 0.0002425/7.05, allocations: 103.9 kB / 3.049 GB, free: 50.33 MB / 0.6198 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 1111
* Number of variables: 1111
Notification: Performance of Generate backend data structure: time 0.01121/7.061, allocations: 3.654 MB / 3.052 GB, free: 46.59 MB / 0.6198 GB
Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/7.061, allocations: 12.03 kB / 3.052 GB, free: 46.58 MB / 0.6198 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/7.074, allocations: 1.91 MB / 3.054 GB, free: 44.67 MB / 0.6198 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/7.081, allocations: 2.301 MB / 3.057 GB, free: 42.31 MB / 0.6198 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/7.081, allocations: 136 kB / 3.057 GB, free: 42.18 MB / 0.6198 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002224/7.084, allocations: 244 kB / 3.057 GB, free: 41.94 MB / 0.6198 GB
Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01373/7.097, allocations: 5.182 MB / 3.062 GB, free: 36.75 MB / 0.6198 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/7.116, allocations: 5.392 MB / 3.067 GB, free: 31.14 MB / 0.6198 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003304/7.117, allocations: 15.88 kB / 3.067 GB, free: 31.12 MB / 0.6198 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/7.119, allocations: 4 kB / 3.067 GB, free: 31.12 MB / 0.6198 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/7.119, allocations: 219.3 kB / 3.067 GB, free: 30.9 MB / 0.6198 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/7.163, allocations: 20.38 MB / 3.087 GB, free: 10.1 MB / 0.6198 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00633/7.169, allocations: 3.671 MB / 3.091 GB, free: 6.395 MB / 0.6198 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/7.172, allocations: 1.787 MB / 3.093 GB, free: 4.602 MB / 0.6198 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008334/7.173, allocations: 0.5072 MB / 3.093 GB, free: 4.004 MB / 0.6198 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003224/7.176, allocations: 1.944 MB / 3.095 GB, free: 2.027 MB / 0.6198 GB
Notification: Performance of pre-optimization done (n=252): time 6.732e-06/7.176, allocations: 0 / 3.095 GB, free: 2.027 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=255): time 0.4623/7.638, allocations: 8.77 MB / 3.104 GB, free: 132.6 MB / 0.6198 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/7.639, allocations: 372.6 kB / 3.104 GB, free: 132.2 MB / 0.6198 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/7.641, allocations: 1.297 MB / 3.105 GB, free: 132 MB / 0.6198 GB
Notification: Performance of collectPreVariables (initialization): time 0.000296/7.641, allocations: 33.39 kB / 3.105 GB, free: 132 MB / 0.6198 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001825/7.643, allocations: 1.656 MB / 3.107 GB, free: 131.4 MB / 0.6198 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008616/7.644, allocations: 0.8087 MB / 3.108 GB, free: 131 MB / 0.6198 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/7.644, allocations: 0 / 3.108 GB, free: 131 MB / 0.6198 GB
Notification: Performance of setup shared object (initialization): time 0.0001724/7.645, allocations: 415.7 kB / 3.108 GB, free: 130.7 MB / 0.6198 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/7.647, allocations: 1.4 MB / 3.109 GB, free: 130.6 MB / 0.6198 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/7.65, allocations: 2.068 MB / 3.111 GB, free: 129.9 MB / 0.6198 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.03296/7.683, allocations: 5.028 MB / 3.116 GB, free: 129.9 MB / 0.6198 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.118e-05/7.683, allocations: 5.219 kB / 3.116 GB, free: 129.9 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=346) (initialization): time 0.04205/7.725, allocations: 7.105 MB / 3.123 GB, free: 129.6 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 0.00195/7.727, allocations: 6.76 MB / 3.13 GB, free: 122.6 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/7.727, allocations: 17.12 kB / 3.13 GB, free: 122.6 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/7.727, allocations: 36.5 kB / 3.13 GB, free: 122.6 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/7.733, allocations: 0.8439 MB / 3.131 GB, free: 122.5 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.779e-05/7.733, allocations: 41.44 kB / 3.131 GB, free: 122.5 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/7.738, allocations: 347.8 kB / 3.131 GB, free: 122.5 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/7.739, allocations: 141.9 kB / 3.131 GB, free: 122.5 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/7.739, allocations: 5.125 kB / 3.131 GB, free: 122.5 MB / 0.6198 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04056/7.779, allocations: 6.545 MB / 3.138 GB, free: 122.2 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.87e-05/7.78, allocations: 16.81 kB / 3.138 GB, free: 122.2 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-05/7.78, allocations: 30.72 kB / 3.138 GB, free: 122.2 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/7.784, allocations: 0.7937 MB / 3.139 GB, free: 122.2 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.161e-05/7.785, allocations: 40.97 kB / 3.139 GB, free: 122.2 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/7.789, allocations: 297.8 kB / 3.139 GB, free: 122.1 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009838/7.79, allocations: 138.8 kB / 3.139 GB, free: 122.1 MB / 0.6198 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 76
* Number of states: 0 ()
* Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (346):
* Single equations (assignments): 344
* Array equations: 0
* Algorithm blocks: 2
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.001677/7.792, allocations: 176.2 kB / 3.139 GB, free: 122 MB / 0.6198 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/7.793, allocations: 225 kB / 3.139 GB, free: 121.9 MB / 0.6198 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0412/7.834, allocations: 7.215 MB / 3.146 GB, free: 121.4 MB / 0.6198 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/7.834, allocations: 27.03 kB / 3.146 GB, free: 121.4 MB / 0.6198 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/7.834, allocations: 0.9375 kB / 3.146 GB, free: 121.4 MB / 0.6198 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.447e-05/7.834, allocations: 14.36 kB / 3.146 GB, free: 121.4 MB / 0.6198 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04839/7.883, allocations: 11.39 MB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/7.883, allocations: 2.75 kB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005145/7.888, allocations: 0.7907 MB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.301e-05/7.888, allocations: 11.69 kB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009181/7.889, allocations: 46.84 kB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/7.889, allocations: 10.84 kB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/7.889, allocations: 8.078 kB / 3.158 GB, free: 120.4 MB / 0.6198 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04108/7.93, allocations: 7.175 MB / 3.165 GB, free: 119.3 MB / 0.6198 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002623/7.933, allocations: 0.8063 MB / 3.166 GB, free: 119 MB / 0.6198 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/7.934, allocations: 5 kB / 3.166 GB, free: 119 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003775/7.938, allocations: 247.9 kB / 3.166 GB, free: 119 MB / 0.6198 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006508/7.939, allocations: 157.8 kB / 3.167 GB, free: 119 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005338/7.939, allocations: 93.23 kB / 3.167 GB, free: 119 MB / 0.6198 GB
Notification: Performance of sorting global known variables: time 0.003033/7.942, allocations: 1.047 MB / 3.168 GB, free: 118.9 MB / 0.6198 GB
Notification: Performance of sort global known variables: time 4.2e-07/7.942, allocations: 0 / 3.168 GB, free: 118.9 MB / 0.6198 GB
Notification: Performance of remove unused functions: time 0.008072/7.95, allocations: 1.246 MB / 3.169 GB, free: 118.9 MB / 0.6198 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 10
* Number of states: 0 ()
* Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart)
* Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (270):
* Single equations (assignments): 268
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 2
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.002153/7.952, allocations: 0.5685 MB / 3.169 GB, free: 118.8 MB / 0.6198 GB
Notification: Performance of simCode: created initialization part: time 0.009668/7.962, allocations: 5.474 MB / 3.175 GB, free: 118.4 MB / 0.6198 GB
Notification: Performance of simCode: created event and clocks part: time 8.395e-06/7.962, allocations: 3.938 kB / 3.175 GB, free: 118.4 MB / 0.6198 GB
Notification: Performance of simCode: created simulation system equations: time 0.002817/7.965, allocations: 1.719 MB / 3.177 GB, free: 118.4 MB / 0.6198 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/7.969, allocations: 472.4 kB / 3.177 GB, free: 118.3 MB / 0.6198 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/7.983, allocations: 5.934 MB / 3.183 GB, free: 116 MB / 0.6198 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004619/7.988, allocations: 2.672 MB / 3.185 GB, free: 114.9 MB / 0.6198 GB
Notification: Performance of simCode: alias equations: time 0.008763/7.997, allocations: 1.434 MB / 3.187 GB, free: 114.6 MB / 0.6198 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/7.998, allocations: 247 kB / 3.187 GB, free: 114.6 MB / 0.6198 GB
Notification: Performance of SimCode: time 1.322e-06/7.998, allocations: 0 / 3.187 GB, free: 114.6 MB / 0.6198 GB
Notification: Performance of Templates: time 0.07776/8.076, allocations: 40.93 MB / 3.227 GB, free: 106.3 MB / 0.6198 GB
make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile
(rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)