Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.596/1.596, allocations: 297.8 MB / 313.7 MB, free: 60 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009497/0.0009496, allocations: 170.1 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.2 MB / 0.6626 GB, free: 4.199 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008396/0.0008395, allocations: 90.09 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 12.81 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5896/0.59, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.7825, allocations: 184.5 MB / 1.206 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.7828, allocations: 102.1 kB / 1.207 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.7938/1.577, allocations: 170.4 MB / 1.373 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.204e-06/1.577, allocations: 0 / 1.373 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001765/1.577, allocations: 102.3 kB / 1.373 GB, free: 152.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008112/1.585, allocations: 3.441 MB / 1.376 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.585, allocations: 8.438 kB / 1.377 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/1.59, allocations: 0.9585 MB / 1.377 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.595, allocations: 2.331 MB / 1.38 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.595, allocations: 322.6 kB / 1.38 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008795/1.596, allocations: 426.9 kB / 1.38 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.607, allocations: 6.725 MB / 1.387 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/1.607, allocations: 9.719 kB / 1.387 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/1.608, allocations: 184 kB / 1.387 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/1.608, allocations: 260.4 kB / 1.387 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008589/1.617, allocations: 5.321 MB / 1.393 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/1.648, allocations: 32.5 MB / 1.424 GB, free: 131 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.651, allocations: 1.859 MB / 1.426 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.653, allocations: 1.089 MB / 1.427 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/1.653, allocations: 105.9 kB / 1.427 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.653, allocations: 46.72 kB / 1.427 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.146e-06/1.653, allocations: 0 / 1.427 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.006036/1.659, allocations: 4.805 MB / 1.432 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.659, allocations: 142.5 kB / 1.432 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.661, allocations: 1.634 MB / 1.434 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/1.661, allocations: 42.89 kB / 1.434 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000736/1.662, allocations: 1.912 MB / 1.436 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/1.662, allocations: 333.3 kB / 1.436 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/1.662, allocations: 38.53 kB / 1.436 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.662, allocations: 392.5 kB / 1.436 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/1.663, allocations: 1.107 MB / 1.438 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.665, allocations: 2.183 MB / 1.44 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/1.668, allocations: 3.285 MB / 1.443 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.668, allocations: 13.72 kB / 1.443 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004073/1.672, allocations: 3.312 MB / 1.446 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004359/1.672, allocations: 1.087 MB / 1.447 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/1.672, allocations: 32.28 kB / 1.447 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.862e-05/1.673, allocations: 49.41 kB / 1.447 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.674, allocations: 0.621 MB / 1.448 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.786e-05/1.674, allocations: 72.39 kB / 1.448 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.676, allocations: 366.8 kB / 1.448 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.677, allocations: 116.8 kB / 1.448 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/1.677, allocations: 10.5 kB / 1.448 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003162/1.68, allocations: 2.757 MB / 1.451 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/1.68, allocations: 33.25 kB / 1.451 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/1.68, allocations: 49.19 kB / 1.451 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.681, allocations: 0.5583 MB / 1.452 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-05/1.681, allocations: 70.59 kB / 1.452 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.683, allocations: 250.6 kB / 1.452 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.683, allocations: 115.8 kB / 1.452 GB, free: 122.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.002579/1.686, allocations: 1.712 MB / 1.454 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.686, allocations: 156.4 kB / 1.454 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/1.688, allocations: 1.915 MB / 1.456 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.688, allocations: 9.062 kB / 1.456 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.688, allocations: 3.031 kB / 1.456 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/1.688, allocations: 4.719 kB / 1.456 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/1.697, allocations: 7.744 MB / 1.463 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.697, allocations: 6.625 kB / 1.463 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.698, allocations: 342.2 kB / 1.464 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/1.698, allocations: 11.02 kB / 1.464 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/1.698, allocations: 24.22 kB / 1.464 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.698, allocations: 17.27 kB / 1.464 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.698, allocations: 10.38 kB / 1.464 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.701, allocations: 2.321 MB / 1.466 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/1.701, allocations: 462.9 kB / 1.467 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/1.701, allocations: 23.25 kB / 1.467 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/1.702, allocations: 164.5 kB / 1.467 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.702, allocations: 76.03 kB / 1.467 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/1.703, allocations: 33.31 kB / 1.467 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001172/1.704, allocations: 1.087 MB / 1.468 GB, free: 120 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/1.704, allocations: 0 / 1.468 GB, free: 120 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0036/1.707, allocations: 1.229 MB / 1.469 GB, free: 120 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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 Backend phase and start with SimCode phase: time 0.0002099/1.708, allocations: 156 kB / 1.469 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004439/1.712, allocations: 3.826 MB / 1.473 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.712, allocations: 2.969 kB / 1.473 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009275/1.713, allocations: 0.8884 MB / 1.474 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.716, allocations: 379.6 kB / 1.474 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.728, allocations: 8.091 MB / 1.482 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/1.73, allocations: 2.861 MB / 1.485 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003168/1.734, allocations: 1.2 MB / 1.486 GB, free: 114 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/1.734, allocations: 122.5 kB / 1.486 GB, free: 114 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/1.734, allocations: 0.6562 kB / 1.486 GB, free: 114 MB / 0.9323 GB Notification: Performance of Templates: time 0.04662/1.781, allocations: 22.26 MB / 1.508 GB, free: 112.9 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)