Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009043/0.0009044, allocations: 175.2 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008414/0.0008413, allocations: 88.23 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 20.62 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2072, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/4.939, allocations: 2.238 GB / 3.14 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/4.94, allocations: 104 kB / 3.14 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4096/5.349, allocations: 187.5 MB / 3.323 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.206e-06/5.349, allocations: 0 / 3.323 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003874/5.35, allocations: 95.94 kB / 3.323 GB, free: 157.2 MB / 0.8855 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.01143/5.361, allocations: 3.888 MB / 3.327 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/5.361, allocations: 12.03 kB / 3.327 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/5.372, allocations: 1.806 MB / 3.329 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/5.38, allocations: 2.473 MB / 3.331 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/5.38, allocations: 320.9 kB / 3.331 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/5.382, allocations: 416.4 kB / 3.332 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/5.401, allocations: 6.489 MB / 3.338 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/5.402, allocations: 23.72 kB / 3.338 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/5.404, allocations: 180 kB / 3.338 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/5.404, allocations: 215.4 kB / 3.338 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/5.42, allocations: 6.454 MB / 3.345 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/5.459, allocations: 26.2 MB / 3.37 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009024/5.468, allocations: 4.255 MB / 3.374 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/5.472, allocations: 2.074 MB / 3.376 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/5.473, allocations: 0.5071 MB / 3.377 GB, free: 99.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004692/5.477, allocations: 2.233 MB / 3.379 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=254): time 6.762e-06/5.477, allocations: 0 / 3.379 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=257): time 0.017/5.494, allocations: 7.712 MB / 3.387 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/5.495, allocations: 461 kB / 3.387 GB, free: 89.15 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/5.498, allocations: 1.794 MB / 3.389 GB, free: 87.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005298/5.498, allocations: 69.7 kB / 3.389 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/5.5, allocations: 1.712 MB / 3.391 GB, free: 85.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/5.501, allocations: 0.8548 MB / 3.391 GB, free: 84.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/5.501, allocations: 52 kB / 3.391 GB, free: 84.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001911/5.501, allocations: 415.5 kB / 3.392 GB, free: 84.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003776/5.505, allocations: 1.661 MB / 3.393 GB, free: 82.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/5.509, allocations: 2.379 MB / 3.396 GB, free: 79.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/5.517, allocations: 4.067 MB / 3.4 GB, free: 75.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/5.517, allocations: 4 kB / 3.4 GB, free: 75.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.009737/5.527, allocations: 4.359 MB / 3.404 GB, free: 71.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/5.527, allocations: 0.595 MB / 3.405 GB, free: 70.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/5.527, allocations: 16 kB / 3.405 GB, free: 70.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.803e-05/5.527, allocations: 28 kB / 3.405 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/5.531, allocations: 0.8346 MB / 3.405 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-05/5.531, allocations: 39.86 kB / 3.406 GB, free: 69.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/5.535, allocations: 402.1 kB / 3.406 GB, free: 68.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/5.535, allocations: 139.9 kB / 3.406 GB, free: 68.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/5.535, allocations: 6.031 kB / 3.406 GB, free: 68.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008308/5.544, allocations: 3.825 MB / 3.41 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/5.544, allocations: 16 kB / 3.41 GB, free: 64.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/5.544, allocations: 28.84 kB / 3.41 GB, free: 64.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/5.547, allocations: 0.7839 MB / 3.411 GB, free: 64.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.007e-05/5.547, allocations: 47.8 kB / 3.411 GB, free: 64.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/5.55, allocations: 338.3 kB / 3.411 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/5.551, allocations: 135.9 kB / 3.411 GB, free: 63.59 MB / 0.8855 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 () * Number of clocked 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.00315/5.554, allocations: 1.316 MB / 3.412 GB, free: 62.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/5.555, allocations: 245 kB / 3.413 GB, free: 62.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/5.566, allocations: 4.502 MB / 3.417 GB, free: 57.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/5.566, allocations: 31.94 kB / 3.417 GB, free: 57.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/5.566, allocations: 0 / 3.417 GB, free: 57.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/5.566, allocations: 19.89 kB / 3.417 GB, free: 57.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/5.586, allocations: 9.489 MB / 3.426 GB, free: 47.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/5.586, allocations: 0 / 3.426 GB, free: 47.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003823/5.59, allocations: 0.788 MB / 3.427 GB, free: 46.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-05/5.59, allocations: 12 kB / 3.427 GB, free: 46.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004624/5.591, allocations: 71.94 kB / 3.427 GB, free: 46.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/5.591, allocations: 15.98 kB / 3.427 GB, free: 46.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/5.591, allocations: 7.938 kB / 3.427 GB, free: 46.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009317/5.6, allocations: 4.298 MB / 3.431 GB, free: 42.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/5.602, allocations: 0.821 MB / 3.432 GB, free: 41.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/5.603, allocations: 55.94 kB / 3.432 GB, free: 41.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/5.606, allocations: 283.7 kB / 3.433 GB, free: 41.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/5.607, allocations: 165.8 kB / 3.433 GB, free: 41.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003726/5.607, allocations: 95.94 kB / 3.433 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002879/5.61, allocations: 1.297 MB / 3.434 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/5.61, allocations: 0 / 3.434 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007032/5.617, allocations: 1.402 MB / 3.435 GB, free: 38.32 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002204/5.62, allocations: 0.6664 MB / 3.436 GB, free: 37.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01374/5.633, allocations: 6.058 MB / 3.442 GB, free: 31.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/5.633, allocations: 0 / 3.442 GB, free: 31.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/5.638, allocations: 2.005 MB / 3.444 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/5.643, allocations: 0.6168 MB / 3.445 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/5.661, allocations: 9.416 MB / 3.454 GB, free: 19.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/5.665, allocations: 2.609 MB / 3.456 GB, free: 16.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007897/5.673, allocations: 1.277 MB / 3.458 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/5.675, allocations: 275.2 kB / 3.458 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/5.675, allocations: 7.938 kB / 3.458 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.5493/6.224, allocations: 42.25 MB / 3.499 GB, free: 224.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)