Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 176.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 97.73 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.063e-05, allocations: 4 kB / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6855, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.419, allocations: 2.119 GB / 3.084 GB, free: 40.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/5.419, allocations: 107.8 kB / 3.084 GB, free: 39.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8833/6.302, allocations: 184.9 MB / 3.265 GB, free: 248.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/6.302, allocations: 4 kB / 3.265 GB, free: 248.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002009/6.303, allocations: 103.9 kB / 3.265 GB, free: 248.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.007439/6.31, allocations: 3.636 MB / 3.268 GB, free: 244.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/6.31, allocations: 8.031 kB / 3.268 GB, free: 244.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/6.321, allocations: 1.809 MB / 3.27 GB, free: 243 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/6.326, allocations: 2.399 MB / 3.272 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/6.326, allocations: 136 kB / 3.272 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/6.327, allocations: 255.9 kB / 3.273 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009359/6.337, allocations: 5.163 MB / 3.278 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/6.348, allocations: 5.403 MB / 3.283 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.621e-05/6.348, allocations: 11.94 kB / 3.283 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004949/6.349, allocations: 8 kB / 3.283 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/6.349, allocations: 219.4 kB / 3.283 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03081/6.38, allocations: 25.18 MB / 3.308 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004626/6.384, allocations: 3.633 MB / 3.311 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/6.386, allocations: 1.742 MB / 3.313 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/6.387, allocations: 0.5072 MB / 3.314 GB, free: 196.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/6.389, allocations: 1.905 MB / 3.315 GB, free: 194.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 4.137e-06/6.389, allocations: 0 / 3.315 GB, free: 194.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01148/6.401, allocations: 6.41 MB / 3.322 GB, free: 188 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/6.401, allocations: 441.2 kB / 3.322 GB, free: 187.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/6.403, allocations: 1.386 MB / 3.323 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/6.403, allocations: 29.7 kB / 3.323 GB, free: 186 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/6.404, allocations: 1.723 MB / 3.325 GB, free: 184.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/6.405, allocations: 0.8235 MB / 3.326 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/6.405, allocations: 3.938 kB / 3.326 GB, free: 183.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/6.405, allocations: 415.5 kB / 3.326 GB, free: 183 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/6.407, allocations: 1.36 MB / 3.328 GB, free: 181.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/6.409, allocations: 2.049 MB / 3.33 GB, free: 179.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/6.415, allocations: 2.608 MB / 3.332 GB, free: 176.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/6.415, allocations: 4 kB / 3.332 GB, free: 176.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.009889/6.425, allocations: 4.585 MB / 3.337 GB, free: 172.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/6.426, allocations: 6.794 MB / 3.343 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/6.426, allocations: 16 kB / 3.343 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-05/6.426, allocations: 32 kB / 3.343 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/6.43, allocations: 0.8346 MB / 3.344 GB, free: 164 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/6.43, allocations: 39.86 kB / 3.344 GB, free: 164 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/6.434, allocations: 346.1 kB / 3.345 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/6.434, allocations: 135.9 kB / 3.345 GB, free: 163.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/6.434, allocations: 4 kB / 3.345 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009774/6.444, allocations: 4.005 MB / 3.349 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/6.444, allocations: 20.06 kB / 3.349 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/6.444, allocations: 36 kB / 3.349 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/6.448, allocations: 0.78 MB / 3.349 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.287e-05/6.448, allocations: 39.88 kB / 3.349 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/6.452, allocations: 294.2 kB / 3.35 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/6.452, allocations: 131.9 kB / 3.35 GB, free: 158.1 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007617/6.453, allocations: 184.1 kB / 3.35 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006947/6.454, allocations: 229.2 kB / 3.35 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/6.465, allocations: 4.797 MB / 3.355 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/6.465, allocations: 24 kB / 3.355 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/6.465, allocations: 8 kB / 3.355 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-05/6.466, allocations: 15.94 kB / 3.355 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/6.483, allocations: 8.967 MB / 3.364 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/6.483, allocations: 0 / 3.364 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/6.487, allocations: 0.7803 MB / 3.365 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/6.487, allocations: 19.95 kB / 3.365 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/6.487, allocations: 39.94 kB / 3.365 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/6.487, allocations: 15.94 kB / 3.365 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/6.487, allocations: 4 kB / 3.365 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009947/6.497, allocations: 4.761 MB / 3.369 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/6.499, allocations: 0.8094 MB / 3.37 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/6.499, allocations: 8 kB / 3.37 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/6.502, allocations: 247.6 kB / 3.37 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/6.503, allocations: 169.8 kB / 3.37 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/6.503, allocations: 95.94 kB / 3.371 GB, free: 136.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001617/6.504, allocations: 1.111 MB / 3.372 GB, free: 135.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.504, allocations: 0 / 3.372 GB, free: 135.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004674/6.509, allocations: 1.246 MB / 3.373 GB, free: 134.2 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * 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.001251/6.51, allocations: 0.5572 MB / 3.373 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006444/6.517, allocations: 5.145 MB / 3.378 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/6.517, allocations: 0 / 3.378 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/6.519, allocations: 1.712 MB / 3.38 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/6.522, allocations: 0.5153 MB / 3.381 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/6.532, allocations: 6.036 MB / 3.386 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/6.534, allocations: 2.693 MB / 3.389 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006071/6.54, allocations: 1.409 MB / 3.39 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/6.541, allocations: 243.3 kB / 3.391 GB, free: 115.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/6.541, allocations: 0 / 3.391 GB, free: 115.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06015/6.601, allocations: 41.98 MB / 3.432 GB, free: 73.93 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)