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.598/1.598, allocations: 285.4 MB / 298 MB, free: 6.016 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.001163/0.001163, allocations: 184.8 kB / 366.4 MB, free: 2.117 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.348/1.348, allocations: 205.1 MB / 0.6248 GB, free: 7.773 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.0008342/0.0008343, allocations: 95.72 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.116e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.659, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.409/6.068, allocations: 2.12 GB / 3.091 GB, free: 341.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/6.068, allocations: 100.3 kB / 3.091 GB, free: 341.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4285/6.497, allocations: 186.6 MB / 3.273 GB, free: 202.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/6.497, allocations: 0 / 3.273 GB, free: 202.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003294/6.497, allocations: 99.94 kB / 3.273 GB, free: 202 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.01085/6.508, allocations: 3.636 MB / 3.277 GB, free: 198.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/6.508, allocations: 12.03 kB / 3.277 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/6.52, allocations: 1.809 MB / 3.279 GB, free: 196.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/6.526, allocations: 2.395 MB / 3.281 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/6.527, allocations: 316.5 kB / 3.281 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/6.528, allocations: 427.9 kB / 3.282 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/6.544, allocations: 6.013 MB / 3.288 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/6.544, allocations: 11.88 kB / 3.288 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/6.545, allocations: 184 kB / 3.288 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/6.546, allocations: 215.4 kB / 3.288 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/6.556, allocations: 5.635 MB / 3.294 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03589/6.592, allocations: 26.19 MB / 3.319 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/6.598, allocations: 3.747 MB / 3.323 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/6.601, allocations: 1.829 MB / 3.325 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/6.601, allocations: 0.5112 MB / 3.325 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002926/6.604, allocations: 1.983 MB / 3.327 GB, free: 144.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 6.542e-06/6.604, allocations: 0 / 3.327 GB, free: 144.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01313/6.617, allocations: 5.602 MB / 3.333 GB, free: 139.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/6.618, allocations: 453.1 kB / 3.333 GB, free: 138.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/6.62, allocations: 1.562 MB / 3.335 GB, free: 137.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003387/6.621, allocations: 69.7 kB / 3.335 GB, free: 137 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/6.622, allocations: 1.716 MB / 3.336 GB, free: 135.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/6.623, allocations: 0.8587 MB / 3.337 GB, free: 134.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/6.623, allocations: 52 kB / 3.337 GB, free: 134.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/6.624, allocations: 411.5 kB / 3.338 GB, free: 134 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/6.626, allocations: 1.407 MB / 3.339 GB, free: 132.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/6.628, allocations: 2.125 MB / 3.341 GB, free: 130.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/6.63, allocations: 1.702 MB / 3.343 GB, free: 128.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/6.63, allocations: 4 kB / 3.343 GB, free: 128.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.005762/6.636, allocations: 3.872 MB / 3.346 GB, free: 124.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/6.637, allocations: 6.829 MB / 3.353 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/6.637, allocations: 16 kB / 3.353 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.297e-05/6.637, allocations: 32 kB / 3.353 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/6.641, allocations: 0.8385 MB / 3.354 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.177e-05/6.641, allocations: 39.86 kB / 3.354 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/6.645, allocations: 394.2 kB / 3.354 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/6.645, allocations: 139.9 kB / 3.355 GB, free: 115.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/6.645, allocations: 4 kB / 3.355 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00509/6.65, allocations: 3.33 MB / 3.358 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/6.65, allocations: 20.03 kB / 3.358 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/6.65, allocations: 32 kB / 3.358 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/6.654, allocations: 0.78 MB / 3.359 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.271e-05/6.654, allocations: 43.86 kB / 3.359 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/6.657, allocations: 366.1 kB / 3.359 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/6.657, allocations: 131.9 kB / 3.359 GB, free: 110.8 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.0007519/6.658, allocations: 276.2 kB / 3.359 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006991/6.659, allocations: 237.1 kB / 3.36 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/6.666, allocations: 4.041 MB / 3.364 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/6.666, allocations: 31.94 kB / 3.364 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/6.666, allocations: 0 / 3.364 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/6.666, allocations: 19.89 kB / 3.364 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/6.681, allocations: 8.996 MB / 3.372 GB, free: 97.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/6.681, allocations: 0 / 3.372 GB, free: 97.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003875/6.685, allocations: 0.7842 MB / 3.373 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.457e-05/6.685, allocations: 12 kB / 3.373 GB, free: 96.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/6.685, allocations: 71.94 kB / 3.373 GB, free: 96.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.263e-05/6.685, allocations: 11.98 kB / 3.373 GB, free: 96.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/6.685, allocations: 7.938 kB / 3.373 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/6.691, allocations: 3.971 MB / 3.377 GB, free: 91.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/6.693, allocations: 0.821 MB / 3.378 GB, free: 91.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008005/6.694, allocations: 48 kB / 3.378 GB, free: 91.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/6.697, allocations: 291.6 kB / 3.378 GB, free: 90.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/6.697, allocations: 165.8 kB / 3.378 GB, free: 90.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/6.698, allocations: 95.92 kB / 3.378 GB, free: 90.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00241/6.7, allocations: 1.275 MB / 3.38 GB, free: 89.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/6.7, allocations: 0 / 3.38 GB, free: 89.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00581/6.706, allocations: 1.406 MB / 3.381 GB, free: 87.84 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.001579/6.708, allocations: 0.6302 MB / 3.382 GB, free: 87.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00786/6.715, allocations: 5.375 MB / 3.387 GB, free: 81.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/6.715, allocations: 4.5 kB / 3.387 GB, free: 81.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/6.718, allocations: 1.765 MB / 3.389 GB, free: 80.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/6.721, allocations: 0.5779 MB / 3.389 GB, free: 79.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/6.734, allocations: 6.168 MB / 3.395 GB, free: 73.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/6.737, allocations: 2.686 MB / 3.398 GB, free: 70.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009848/6.747, allocations: 1.421 MB / 3.399 GB, free: 69.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/6.749, allocations: 247.3 kB / 3.4 GB, free: 68.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/6.749, allocations: 0 / 3.4 GB, free: 68.91 MB / 0.948 GB Notification: Performance of Templates: time 0.06862/6.818, allocations: 44.54 MB / 3.443 GB, free: 24.48 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)