Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.89/4.89, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003572/0.003572, allocations: 359.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.198/4.198, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 196.1 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005117, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7368, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2581/0.995, allocations: 170.7 MB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.9954, allocations: 105.9 kB / 1.628 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/2.337, allocations: 182.3 MB / 1.806 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.846e-06/2.337, allocations: 0 / 1.806 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004034/2.337, allocations: 125.4 kB / 1.806 GB, free: 206.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01989/2.357, allocations: 4.497 MB / 1.811 GB, free: 204 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/2.357, allocations: 12.59 kB / 1.811 GB, free: 204 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009853/2.367, allocations: 1.015 MB / 1.812 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/2.378, allocations: 3.226 MB / 1.815 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005191/2.379, allocations: 361 kB / 1.815 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/2.381, allocations: 470.8 kB / 1.816 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/2.406, allocations: 7.549 MB / 1.823 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/2.407, allocations: 19.78 kB / 1.823 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/2.409, allocations: 215.8 kB / 1.823 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000423/2.409, allocations: 269.1 kB / 1.823 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/2.426, allocations: 5.402 MB / 1.829 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05264/2.479, allocations: 36.26 MB / 1.864 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005351/2.484, allocations: 2.134 MB / 1.866 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/2.487, allocations: 1.473 MB / 1.868 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/2.487, allocations: 17.31 kB / 1.868 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/2.487, allocations: 59.83 kB / 1.868 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.469e-06/2.487, allocations: 0 / 1.868 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.02321/2.511, allocations: 7.551 MB / 1.875 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/2.511, allocations: 68.72 kB / 1.875 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/2.514, allocations: 1.806 MB / 1.877 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004783/2.515, allocations: 53.7 kB / 1.877 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/2.516, allocations: 2.094 MB / 1.879 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009284/2.517, allocations: 0.5542 MB / 1.88 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/2.517, allocations: 44 kB / 1.88 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002153/2.517, allocations: 394 kB / 1.88 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/2.52, allocations: 1.011 MB / 1.881 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/2.523, allocations: 1.744 MB / 1.883 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/2.526, allocations: 1.295 MB / 1.884 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/2.527, allocations: 8 kB / 1.884 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01039/2.537, allocations: 3.807 MB / 1.888 GB, free: 122 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/2.537, allocations: 13.88 kB / 1.888 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/2.537, allocations: 24 kB / 1.888 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/2.541, allocations: 0.918 MB / 1.889 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/2.544, allocations: 423.2 kB / 1.889 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/2.572, allocations: 21.02 MB / 1.91 GB, free: 97.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/2.576, allocations: 123.9 kB / 1.91 GB, free: 97.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004853/2.577, allocations: 96 kB / 1.91 GB, free: 97.78 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005332/2.582, allocations: 1.648 MB / 1.911 GB, free: 96.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009741/2.583, allocations: 252.7 kB / 1.912 GB, free: 95.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/2.595, allocations: 3.258 MB / 1.915 GB, free: 92.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/2.595, allocations: 16 kB / 1.915 GB, free: 92.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/2.595, allocations: 8 kB / 1.915 GB, free: 92.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/2.595, allocations: 7.969 kB / 1.915 GB, free: 92.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/2.621, allocations: 7.515 MB / 1.922 GB, free: 84.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/2.621, allocations: 8.062 kB / 1.922 GB, free: 84.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/2.623, allocations: 219.6 kB / 1.922 GB, free: 84.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005275/2.629, allocations: 0.8709 MB / 1.923 GB, free: 83.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004401/2.629, allocations: 39.98 kB / 1.923 GB, free: 83.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/2.656, allocations: 20.99 MB / 1.944 GB, free: 61.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.656, allocations: 8.062 kB / 1.944 GB, free: 61.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/2.665, allocations: 3.36 MB / 1.947 GB, free: 57.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/2.667, allocations: 0.5291 MB / 1.948 GB, free: 57.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/2.667, allocations: 35.98 kB / 1.948 GB, free: 57.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/2.67, allocations: 95.89 kB / 1.948 GB, free: 57.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/2.67, allocations: 139.9 kB / 1.948 GB, free: 56.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/2.671, allocations: 48 kB / 1.948 GB, free: 56.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002431/2.673, allocations: 1.182 MB / 1.949 GB, free: 55.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.72e-07/2.673, allocations: 0 / 1.949 GB, free: 55.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004972/2.678, allocations: 0.9336 MB / 1.95 GB, free: 54.73 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000614/2.679, allocations: 163 kB / 1.95 GB, free: 54.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009311/2.688, allocations: 4.341 MB / 1.954 GB, free: 50.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.688, allocations: 4 kB / 1.954 GB, free: 50.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006579/2.695, allocations: 2.985 MB / 1.957 GB, free: 46.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/2.701, allocations: 0.7497 MB / 1.958 GB, free: 46.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/2.721, allocations: 9.21 MB / 1.967 GB, free: 36.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005728/2.727, allocations: 3.294 MB / 1.97 GB, free: 33.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003106/2.73, allocations: 0.5083 MB / 1.971 GB, free: 33.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/2.731, allocations: 143.4 kB / 1.971 GB, free: 32.96 MB / 0.8542 GB Notification: Performance of SimCode: time 1.813e-06/2.731, allocations: 0 / 1.971 GB, free: 32.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.104/2.835, allocations: 38.86 MB / 2.009 GB, free: 10.77 MB / 0.8698 GB