Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001279/0.001279, allocations: 187.7 kB / 377.1 MB, free: 1.539 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.682/1.682, allocations: 205.4 MB / 0.6367 GB, free: 8.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.0008859/0.0008859, allocations: 83.77 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3383, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9304/1.269, allocations: 171.8 MB / 1.156 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.269, allocations: 101.8 kB / 1.156 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.46/1.729, allocations: 182.4 MB / 1.334 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.278e-06/1.729, allocations: 0 / 1.334 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.00032/1.729, allocations: 123.9 kB / 1.335 GB, free: 1.93 MB / 0.9011 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.01638/1.746, allocations: 4.492 MB / 1.339 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.746, allocations: 12.03 kB / 1.339 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/1.754, allocations: 1.02 MB / 1.34 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/1.765, allocations: 3.225 MB / 1.343 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/1.766, allocations: 365.7 kB / 1.343 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/1.768, allocations: 471.9 kB / 1.344 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/1.786, allocations: 7.499 MB / 1.351 GB, free: 264 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/1.786, allocations: 23.77 kB / 1.351 GB, free: 240 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006692/1.787, allocations: 220 kB / 1.351 GB, free: 20 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/1.787, allocations: 269.1 kB / 1.352 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/1.799, allocations: 5.403 MB / 1.357 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7915/2.591, allocations: 36.25 MB / 1.392 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/2.594, allocations: 2.138 MB / 1.394 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/2.594, allocations: 16.47 kB / 1.394 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/2.594, allocations: 51.06 kB / 1.394 GB, free: 143 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=157): time 4.428e-06/2.594, allocations: 2.719 kB / 1.394 GB, free: 143 MB / 0.9323 GB Notification: Performance of matching and sorting (n=160): time 0.0187/2.613, allocations: 7.531 MB / 1.402 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/2.613, allocations: 67.97 kB / 1.402 GB, free: 141 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/2.618, allocations: 1.564 MB / 1.403 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/2.618, allocations: 54.67 kB / 1.403 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/2.621, allocations: 2.098 MB / 1.406 GB, free: 140 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000806/2.621, allocations: 0.5544 MB / 1.406 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/2.621, allocations: 42.28 kB / 1.406 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002143/2.622, allocations: 390.8 kB / 1.406 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/2.624, allocations: 1.011 MB / 1.407 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/2.626, allocations: 1.729 MB / 1.409 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/2.628, allocations: 1.306 MB / 1.41 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/2.628, allocations: 9.719 kB / 1.41 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007276/2.636, allocations: 3.799 MB / 1.414 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/2.636, allocations: 15.28 kB / 1.414 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/2.636, allocations: 28.83 kB / 1.414 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/2.638, allocations: 0.9232 MB / 1.415 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/2.64, allocations: 412.8 kB / 1.416 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/2.657, allocations: 21.4 MB / 1.436 GB, free: 123 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/2.66, allocations: 127.6 kB / 1.437 GB, free: 123 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/2.66, allocations: 91.97 kB / 1.437 GB, free: 123 MB / 0.9323 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.004057/2.664, allocations: 1.643 MB / 1.438 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/2.665, allocations: 253.2 kB / 1.438 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/2.67, allocations: 3.254 MB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/2.67, allocations: 16.59 kB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/2.67, allocations: 9.531 kB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/2.67, allocations: 10.5 kB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/2.684, allocations: 7.515 MB / 1.449 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/2.684, allocations: 3.875 kB / 1.449 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/2.685, allocations: 226.3 kB / 1.449 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/2.687, allocations: 0.8733 MB / 1.45 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/2.687, allocations: 37.16 kB / 1.45 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/2.703, allocations: 21.36 MB / 1.471 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/2.703, allocations: 10.88 kB / 1.471 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/2.71, allocations: 3.692 MB / 1.475 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/2.711, allocations: 0.537 MB / 1.475 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/2.712, allocations: 30.25 kB / 1.475 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/2.713, allocations: 90.11 kB / 1.475 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/2.713, allocations: 136.3 kB / 1.475 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/2.713, allocations: 49.69 kB / 1.475 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001781/2.715, allocations: 1.177 MB / 1.477 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/2.715, allocations: 0.6562 kB / 1.477 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004661/2.72, allocations: 0.9462 MB / 1.477 GB, free: 105.2 MB / 0.9323 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.0004957/2.72, allocations: 167.2 kB / 1.478 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006828/2.727, allocations: 4.341 MB / 1.482 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.727, allocations: 0 / 1.482 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003948/2.731, allocations: 2.996 MB / 1.485 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/2.735, allocations: 0.7095 MB / 1.486 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/2.752, allocations: 9.189 MB / 1.494 GB, free: 98.15 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004057/2.756, allocations: 3.294 MB / 1.498 GB, free: 97.37 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002506/2.758, allocations: 0.5122 MB / 1.498 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/2.759, allocations: 145.9 kB / 1.498 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/2.759, allocations: 1.312 kB / 1.498 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.1046/2.863, allocations: 38.84 MB / 1.536 GB, free: 95.77 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)