Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6696/0.6696, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001017/0.001017, allocations: 171.1 kB / 176.9 MB, free: 2.242 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.25/1.25, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001705/0.001705, allocations: 115.7 kB / 450 MB, free: 5.836 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.4734/0.4735, allocations: 73.38 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.633, allocations: 124.7 MB / 0.7954 GB, free: 7.895 MB / 0.4948 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6334, allocations: 93.02 kB / 0.7955 GB, free: 7.805 MB / 0.4948 GB
Notification: Performance of FrontEnd - DAE generated: time 0.04276/0.6762, allocations: 17.75 MB / 0.8128 GB, free: 6.023 MB / 0.5105 GB
Notification: Performance of FrontEnd: time 1.694e-06/0.6762, allocations: 0 / 0.8128 GB, free: 6.023 MB / 0.5105 GB
Notification: Performance of Transformations before backend: time 1.881e-05/0.6762, allocations: 4 kB / 0.8129 GB, free: 6.02 MB / 0.5105 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 56
* Number of variables: 56
Notification: Performance of Generate backend data structure: time 0.001094/0.6774, allocations: 0.6073 MB / 0.8134 GB, free: 5.363 MB / 0.5105 GB
Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6774, allocations: 12.03 kB / 0.8135 GB, free: 5.352 MB / 0.5105 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.6782, allocations: 98.36 kB / 0.8136 GB, free: 5.258 MB / 0.5105 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.6786, allocations: 274.3 kB / 0.8138 GB, free: 4.949 MB / 0.5105 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.6786, allocations: 12.44 kB / 0.8138 GB, free: 4.938 MB / 0.5105 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.6787, allocations: 27.92 kB / 0.8139 GB, free: 4.91 MB / 0.5105 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.6793, allocations: 370.7 kB / 0.8142 GB, free: 4.52 MB / 0.5105 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.6793, allocations: 3.938 kB / 0.8142 GB, free: 4.516 MB / 0.5105 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.6793, allocations: 11.61 kB / 0.8142 GB, free: 4.508 MB / 0.5105 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.6794, allocations: 20.36 kB / 0.8142 GB, free: 4.484 MB / 0.5105 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.6799, allocations: 312.9 kB / 0.8145 GB, free: 4.18 MB / 0.5105 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.6818, allocations: 1.449 MB / 0.816 GB, free: 2.652 MB / 0.5105 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.6826, allocations: 401.4 kB / 0.8163 GB, free: 2.238 MB / 0.5105 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.6828, allocations: 159.3 kB / 0.8165 GB, free: 2.078 MB / 0.5105 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.683, allocations: 89.03 kB / 0.8166 GB, free: 1.973 MB / 0.5105 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.6834, allocations: 229.9 kB / 0.8168 GB, free: 1.734 MB / 0.5105 GB
Notification: Performance of pre-optimization done (n=27): time 2.063e-06/0.6834, allocations: 4 kB / 0.8168 GB, free: 1.73 MB / 0.5105 GB
Notification: Performance of matching and sorting (n=28): time 0.0009362/0.6844, allocations: 444.8 kB / 0.8172 GB, free: 1.285 MB / 0.5105 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6844, allocations: 85.05 kB / 0.8173 GB, free: 1.184 MB / 0.5105 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.6846, allocations: 196.9 kB / 0.8175 GB, free: 0.9883 MB / 0.5105 GB
Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.6847, allocations: 33.7 kB / 0.8175 GB, free: 0.9492 MB / 0.5105 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6848, allocations: 164.1 kB / 0.8177 GB, free: 0.7852 MB / 0.5105 GB
Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.6849, allocations: 90.73 kB / 0.8178 GB, free: 0.6953 MB / 0.5105 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.6849, allocations: 12.09 kB / 0.8178 GB, free: 0.6836 MB / 0.5105 GB
Notification: Performance of setup shared object (initialization): time 0.0001222/0.685, allocations: 330.8 kB / 0.8181 GB, free: 360 kB / 0.5105 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.6853, allocations: 136.3 kB / 0.8182 GB, free: 224 kB / 0.5105 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.6855, allocations: 201.4 kB / 0.8184 GB, free: 15.99 MB / 0.5261 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.6858, allocations: 185.8 kB / 0.8186 GB, free: 15.8 MB / 0.5261 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6858, allocations: 7.938 kB / 0.8186 GB, free: 15.8 MB / 0.5261 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007331/0.6865, allocations: 472.4 kB / 0.819 GB, free: 15.32 MB / 0.5261 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0003592/0.6869, allocations: 0.9042 MB / 0.8199 GB, free: 14.35 MB / 0.5261 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6869, allocations: 4 kB / 0.8199 GB, free: 14.34 MB / 0.5261 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.6872, allocations: 40.81 kB / 0.82 GB, free: 14.3 MB / 0.5261 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.6876, allocations: 95.86 kB / 0.8201 GB, free: 14.21 MB / 0.5261 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.6889, allocations: 1.5 MB / 0.8215 GB, free: 12.57 MB / 0.5261 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.6892, allocations: 51.73 kB / 0.8216 GB, free: 12.52 MB / 0.5261 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.6893, allocations: 16 kB / 0.8216 GB, free: 12.5 MB / 0.5261 GB
Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.6893, allocations: 4 kB / 0.8216 GB, free: 12.5 MB / 0.5261 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006689/0.69, allocations: 414.7 kB / 0.822 GB, free: 12.09 MB / 0.5261 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.69, allocations: 7.938 kB / 0.822 GB, free: 12.08 MB / 0.5261 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.6901, allocations: 40.83 kB / 0.822 GB, free: 12.04 MB / 0.5261 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.6905, allocations: 84.34 kB / 0.8221 GB, free: 11.95 MB / 0.5261 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.6916, allocations: 1.477 MB / 0.8236 GB, free: 10.33 MB / 0.5261 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.6919, allocations: 55.83 kB / 0.8236 GB, free: 10.28 MB / 0.5261 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.692, allocations: 19.92 kB / 0.8236 GB, free: 10.26 MB / 0.5261 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 10
* Number of states: 0 ()
* Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (36):
* Single equations (assignments): 34
* Array equations: 0
* Algorithm blocks: 1
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 1 {(1,100.0%) 2}
* Non-linear torn systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.6921, allocations: 120.9 kB / 0.8237 GB, free: 10.14 MB / 0.5261 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.6922, allocations: 23.72 kB / 0.8238 GB, free: 10.11 MB / 0.5261 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.6929, allocations: 409.2 kB / 0.8242 GB, free: 9.707 MB / 0.5261 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6929, allocations: 0 / 0.8242 GB, free: 9.707 MB / 0.5261 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6929, allocations: 4 kB / 0.8242 GB, free: 9.703 MB / 0.5261 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6929, allocations: 0 / 0.8242 GB, free: 9.703 MB / 0.5261 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.6936, allocations: 0.574 MB / 0.8247 GB, free: 9.066 MB / 0.5261 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6936, allocations: 3.953 kB / 0.8247 GB, free: 9.062 MB / 0.5261 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.694, allocations: 75.92 kB / 0.8248 GB, free: 8.988 MB / 0.5261 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.6941, allocations: 40.83 kB / 0.8248 GB, free: 8.945 MB / 0.5261 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.6941, allocations: 4 kB / 0.8248 GB, free: 8.941 MB / 0.5261 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/0.6951, allocations: 1.413 MB / 0.8262 GB, free: 7.395 MB / 0.5261 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6951, allocations: 0 / 0.8262 GB, free: 7.395 MB / 0.5261 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.6958, allocations: 0.5004 MB / 0.8267 GB, free: 6.848 MB / 0.5261 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.696, allocations: 136.7 kB / 0.8268 GB, free: 6.695 MB / 0.5261 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.696, allocations: 15.95 kB / 0.8269 GB, free: 6.68 MB / 0.5261 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.6963, allocations: 43.94 kB / 0.8269 GB, free: 6.637 MB / 0.5261 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6965, allocations: 35.89 kB / 0.8269 GB, free: 6.602 MB / 0.5261 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6965, allocations: 8 kB / 0.8269 GB, free: 6.594 MB / 0.5261 GB
Notification: Performance of sorting global known variables: time 0.0001592/0.6967, allocations: 169.4 kB / 0.8271 GB, free: 6.43 MB / 0.5261 GB
Notification: Performance of sort global known variables: time 1.91e-07/0.6967, allocations: 8 kB / 0.8271 GB, free: 6.422 MB / 0.5261 GB
Notification: Performance of remove unused functions: time 0.0005613/0.6972, allocations: 143.9 kB / 0.8272 GB, free: 6.281 MB / 0.5261 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 4
* Number of states: 0 ()
* Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count)
* Number of discrete states: 1 (load.count)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (28):
* Single equations (assignments): 25
* 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: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 1 {(1,100.0%) 2}
* Non-linear torn systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.6975, allocations: 127.1 kB / 0.8274 GB, free: 6.148 MB / 0.5261 GB
Notification: Performance of simCode: created initialization part: time 0.001235/0.6987, allocations: 0.877 MB / 0.8282 GB, free: 5.223 MB / 0.5261 GB
Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6987, allocations: 0 / 0.8282 GB, free: 5.223 MB / 0.5261 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.6991, allocations: 290.5 kB / 0.8285 GB, free: 4.926 MB / 0.5261 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.6995, allocations: 45.66 kB / 0.8285 GB, free: 4.883 MB / 0.5261 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.7003, allocations: 457.3 kB / 0.829 GB, free: 4.41 MB / 0.5261 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.7007, allocations: 0.7963 MB / 0.8298 GB, free: 3.586 MB / 0.5261 GB
Notification: Performance of simCode: alias equations: time 0.0003505/0.701, allocations: 115.6 kB / 0.8299 GB, free: 3.477 MB / 0.5261 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.7011, allocations: 27.42 kB / 0.8299 GB, free: 3.449 MB / 0.5261 GB
Notification: Performance of SimCode: time 4.61e-07/0.7011, allocations: 0 / 0.8299 GB, free: 3.449 MB / 0.5261 GB
Notification: Performance of Templates: time 0.007838/0.709, allocations: 4.3 MB / 0.8341 GB, free: 15.21 MB / 0.5417 GB
make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile
(rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)