Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.588/1.588, allocations: 297.8 MB / 313.7 MB, free: 136 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.0008905/0.0008904, allocations: 190 kB / 384.6 MB, free: 10.86 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.303/1.303, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0007441/0.0007441, allocations: 95.16 kB / 0.7808 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 18.75 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6395, allocations: 120.3 MB / 1.026 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.8788, allocations: 198.6 MB / 1.22 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.8791, allocations: 101.5 kB / 1.22 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.7517/1.631, allocations: 156.1 MB / 1.373 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/1.631, allocations: 0.7969 kB / 1.373 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002916/1.631, allocations: 98.61 kB / 1.373 GB, free: 175.7 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009498/1.641, allocations: 3.449 MB / 1.376 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.641, allocations: 10.56 kB / 1.376 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/1.646, allocations: 0.8318 MB / 1.377 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/1.653, allocations: 2.624 MB / 1.38 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/1.654, allocations: 274.2 kB / 1.38 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/1.656, allocations: 388.8 kB / 1.38 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/1.668, allocations: 5.731 MB / 1.386 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.668, allocations: 19.19 kB / 1.386 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/1.668, allocations: 163.7 kB / 1.386 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/1.668, allocations: 213.1 kB / 1.386 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/1.677, allocations: 4.126 MB / 1.39 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/1.707, allocations: 27.69 MB / 1.417 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/1.708, allocations: 1.091 MB / 1.418 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.709, allocations: 0.9918 MB / 1.419 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.591e-05/1.709, allocations: 14.7 kB / 1.419 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.709, allocations: 44.91 kB / 1.419 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/1.709, allocations: 0 / 1.419 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.01987/1.729, allocations: 9.558 MB / 1.429 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.729, allocations: 64.53 kB / 1.429 GB, free: 141 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.731, allocations: 1.474 MB / 1.43 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.731, allocations: 53.42 kB / 1.43 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/1.732, allocations: 1.669 MB / 1.432 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/1.732, allocations: 470.4 kB / 1.432 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/1.732, allocations: 35.88 kB / 1.432 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/1.733, allocations: 379 kB / 1.433 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.734, allocations: 0.8732 MB / 1.434 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.735, allocations: 1.469 MB / 1.435 GB, free: 137 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/1.737, allocations: 2.54 MB / 1.438 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.737, allocations: 3.75 kB / 1.438 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004724/1.742, allocations: 3.226 MB / 1.441 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.742, allocations: 13.44 kB / 1.441 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.742, allocations: 17.97 kB / 1.441 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/1.744, allocations: 0.7223 MB / 1.441 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.745, allocations: 399.7 kB / 1.442 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.756, allocations: 15.6 MB / 1.457 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.758, allocations: 101.2 kB / 1.457 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.758, allocations: 79.75 kB / 1.457 GB, free: 120.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002134/1.76, allocations: 1.313 MB / 1.459 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/1.76, allocations: 205.1 kB / 1.459 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/1.764, allocations: 2.737 MB / 1.461 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.764, allocations: 11.03 kB / 1.461 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.764, allocations: 11.31 kB / 1.461 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.764, allocations: 7.547 kB / 1.461 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008953/1.773, allocations: 6.09 MB / 1.467 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.773, allocations: 3.938 kB / 1.467 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.774, allocations: 241.4 kB / 1.468 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/1.776, allocations: 0.6423 MB / 1.468 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/1.776, allocations: 31.67 kB / 1.468 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009868/1.786, allocations: 15.33 MB / 1.483 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.786, allocations: 7.25 kB / 1.483 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/1.791, allocations: 3.925 MB / 1.487 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/1.792, allocations: 452.4 kB / 1.488 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.792, allocations: 35.28 kB / 1.488 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/1.793, allocations: 83.41 kB / 1.488 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.793, allocations: 117.4 kB / 1.488 GB, free: 99.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/1.793, allocations: 34.41 kB / 1.488 GB, free: 99.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001169/1.794, allocations: 0.9727 MB / 1.489 GB, free: 99.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.794, allocations: 0 / 1.489 GB, free: 99.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002258/1.796, allocations: 0.709 MB / 1.489 GB, free: 99.56 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/1.797, allocations: 158.3 kB / 1.49 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003975/1.801, allocations: 3.432 MB / 1.493 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.801, allocations: 0 / 1.493 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.803, allocations: 2.264 MB / 1.495 GB, free: 96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.807, allocations: 0.577 MB / 1.496 GB, free: 95.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/1.816, allocations: 7.832 MB / 1.503 GB, free: 91.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/1.819, allocations: 2.657 MB / 1.506 GB, free: 90.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001671/1.82, allocations: 488.5 kB / 1.506 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.821, allocations: 116.2 kB / 1.507 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/1.821, allocations: 0 / 1.507 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.04421/1.865, allocations: 30.6 MB / 1.536 GB, free: 68.43 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)