Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.00134/0.00134, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.568/1.568, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0009761/0.0009762, allocations: 90.69 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.682e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5275, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.7251, allocations: 171.8 MB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.7254, allocations: 92.56 kB / 1.141 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9093/1.635, allocations: 200.4 MB / 1.337 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/1.635, allocations: 0 / 1.337 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002804/1.635, allocations: 145.1 kB / 1.337 GB, free: 182.1 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01236/1.647, allocations: 4.863 MB / 1.342 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.647, allocations: 10.69 kB / 1.342 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006952/1.654, allocations: 1.138 MB / 1.343 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007679/1.662, allocations: 3.696 MB / 1.346 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.662, allocations: 185.6 kB / 1.347 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.664, allocations: 329.8 kB / 1.347 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009164/1.673, allocations: 5.687 MB / 1.352 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.687, allocations: 7.866 MB / 1.36 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/1.687, allocations: 14.81 kB / 1.36 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006308/1.688, allocations: 14.28 kB / 1.36 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/1.688, allocations: 303.8 kB / 1.36 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/1.72, allocations: 40.26 MB / 1.4 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/1.723, allocations: 2.969 MB / 1.403 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.726, allocations: 2.064 MB / 1.405 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.726, allocations: 24.97 kB / 1.405 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.726, allocations: 68.52 kB / 1.405 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 3.827e-06/1.726, allocations: 0 / 1.405 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.009351/1.735, allocations: 6.289 MB / 1.411 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.735, allocations: 77.34 kB / 1.411 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.737, allocations: 1.329 MB / 1.412 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/1.737, allocations: 25.7 kB / 1.412 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008958/1.738, allocations: 2.391 MB / 1.415 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/1.739, allocations: 0.7006 MB / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.739, allocations: 0 / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.739, allocations: 415.2 kB / 1.416 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.74, allocations: 1.243 MB / 1.417 GB, free: 121 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.742, allocations: 2.012 MB / 1.419 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.743, allocations: 1.61 MB / 1.421 GB, free: 117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.743, allocations: 8 kB / 1.421 GB, free: 117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006059/1.749, allocations: 4.596 MB / 1.425 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.749, allocations: 16.94 kB / 1.425 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.749, allocations: 28.88 kB / 1.425 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.752, allocations: 1.397 MB / 1.426 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.754, allocations: 439.3 kB / 1.427 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.769, allocations: 16.45 MB / 1.443 GB, free: 93.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.771, allocations: 91.86 kB / 1.443 GB, free: 93.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/1.771, allocations: 112.1 kB / 1.443 GB, free: 93.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003938/1.772, allocations: 176.2 kB / 1.443 GB, free: 93.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/1.772, allocations: 265 kB / 1.444 GB, free: 92.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/1.778, allocations: 4.169 MB / 1.448 GB, free: 88.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.778, allocations: 20 kB / 1.448 GB, free: 88.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.778, allocations: 24 kB / 1.448 GB, free: 88.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.778, allocations: 11.95 kB / 1.448 GB, free: 88.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.789, allocations: 8.545 MB / 1.456 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.789, allocations: 4 kB / 1.456 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/1.79, allocations: 240.2 kB / 1.456 GB, free: 79.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/1.793, allocations: 1.358 MB / 1.458 GB, free: 78.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.793, allocations: 4 kB / 1.458 GB, free: 78.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.808, allocations: 16.42 MB / 1.474 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.808, allocations: 12 kB / 1.474 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/1.814, allocations: 4.626 MB / 1.478 GB, free: 56.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.815, allocations: 0.5956 MB / 1.479 GB, free: 56.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/1.815, allocations: 11.98 kB / 1.479 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.817, allocations: 83.81 kB / 1.479 GB, free: 56.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.817, allocations: 169.7 kB / 1.479 GB, free: 55.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.817, allocations: 67.94 kB / 1.479 GB, free: 55.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001222/1.818, allocations: 0.9646 MB / 1.48 GB, free: 54.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/1.818, allocations: 4 kB / 1.48 GB, free: 54.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003175/1.822, allocations: 1.051 MB / 1.481 GB, free: 53.79 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002696/1.822, allocations: 127 kB / 1.481 GB, free: 53.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005187/1.827, allocations: 4.333 MB / 1.485 GB, free: 49.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.827, allocations: 4 kB / 1.485 GB, free: 49.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003292/1.83, allocations: 2.748 MB / 1.488 GB, free: 46.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/1.833, allocations: 0.681 MB / 1.489 GB, free: 45.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.844, allocations: 7.355 MB / 1.496 GB, free: 38.37 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/1.848, allocations: 3.791 MB / 1.5 GB, free: 34.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00201/1.85, allocations: 0.5162 MB / 1.5 GB, free: 34.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.85, allocations: 143.4 kB / 1.5 GB, free: 33.91 MB / 0.8542 GB Notification: Performance of SimCode: time 6.62e-07/1.85, allocations: 0 / 1.5 GB, free: 33.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.06238/1.912, allocations: 43.71 MB / 1.543 GB, free: 6.73 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)