Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.812/2.812, allocations: 284.8 MB / 297.3 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002225/0.002224, allocations: 180.8 kB / 365.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 93.08 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.308e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8194, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/1.157, allocations: 194.8 MB / 1.16 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004624/1.157, allocations: 91.94 kB / 1.16 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.228/2.385, allocations: 145.7 MB / 1.303 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/2.386, allocations: 0 / 1.303 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004011/2.386, allocations: 95.33 kB / 1.303 GB, free: 199.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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01475/2.401, allocations: 3.216 MB / 1.306 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/2.401, allocations: 9.594 kB / 1.306 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008967/2.41, allocations: 0.8262 MB / 1.307 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/2.42, allocations: 2.557 MB / 1.309 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/2.421, allocations: 272.4 kB / 1.309 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/2.423, allocations: 376.9 kB / 1.31 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/2.443, allocations: 5.644 MB / 1.315 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/2.443, allocations: 23.12 kB / 1.315 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/2.445, allocations: 162.9 kB / 1.315 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/2.445, allocations: 224 kB / 1.316 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/2.458, allocations: 4.048 MB / 1.32 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04224/2.501, allocations: 27.67 MB / 1.347 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/2.503, allocations: 1.08 MB / 1.348 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/2.505, allocations: 0.9874 MB / 1.349 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/2.505, allocations: 16.59 kB / 1.349 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/2.506, allocations: 47.25 kB / 1.349 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.717e-06/2.506, allocations: 0 / 1.349 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.03037/2.536, allocations: 7.984 MB / 1.357 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/2.536, allocations: 64.09 kB / 1.357 GB, free: 168 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/2.539, allocations: 1.257 MB / 1.358 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003695/2.539, allocations: 45.45 kB / 1.358 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/2.54, allocations: 1.666 MB / 1.359 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/2.541, allocations: 475.7 kB / 1.36 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/2.541, allocations: 32.84 kB / 1.36 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001431/2.541, allocations: 377.6 kB / 1.36 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/2.543, allocations: 0.8537 MB / 1.361 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/2.546, allocations: 1.45 MB / 1.363 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/2.548, allocations: 1.107 MB / 1.364 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/2.548, allocations: 7.219 kB / 1.364 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0092/2.558, allocations: 3.186 MB / 1.367 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/2.558, allocations: 13.88 kB / 1.367 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/2.558, allocations: 28.05 kB / 1.367 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003596/2.561, allocations: 0.7132 MB / 1.368 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/2.564, allocations: 398.5 kB / 1.368 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/2.583, allocations: 15.58 MB / 1.383 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/2.586, allocations: 107 kB / 1.383 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/2.586, allocations: 73.5 kB / 1.383 GB, free: 148.6 MB / 0.8542 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 () * 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.0004802/2.587, allocations: 224 kB / 1.383 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/2.587, allocations: 203.7 kB / 1.384 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007633/2.595, allocations: 2.709 MB / 1.386 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/2.595, allocations: 13.94 kB / 1.386 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/2.595, allocations: 3.969 kB / 1.386 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/2.595, allocations: 10.83 kB / 1.386 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/2.612, allocations: 6.053 MB / 1.392 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/2.612, allocations: 7.688 kB / 1.392 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/2.614, allocations: 238.5 kB / 1.393 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/2.618, allocations: 0.6431 MB / 1.393 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/2.618, allocations: 30.41 kB / 1.393 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/2.635, allocations: 15.3 MB / 1.408 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.635, allocations: 4 kB / 1.408 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009639/2.645, allocations: 4.237 MB / 1.412 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/2.647, allocations: 454.1 kB / 1.413 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006847/2.648, allocations: 35.56 kB / 1.413 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/2.649, allocations: 80.03 kB / 1.413 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/2.65, allocations: 110.1 kB / 1.413 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/2.65, allocations: 40 kB / 1.413 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001945/2.652, allocations: 0.9554 MB / 1.414 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.903e-06/2.652, allocations: 0 / 1.414 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003845/2.656, allocations: 0.7063 MB / 1.415 GB, free: 123.7 MB / 0.8542 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 () * 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.0005094/2.656, allocations: 158.2 kB / 1.415 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0074/2.664, allocations: 3.379 MB / 1.418 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.664, allocations: 0 / 1.418 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/2.669, allocations: 2.232 MB / 1.42 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/2.673, allocations: 0.5716 MB / 1.421 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/2.688, allocations: 5.243 MB / 1.426 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004555/2.693, allocations: 2.734 MB / 1.429 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002731/2.695, allocations: 477.2 kB / 1.429 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/2.696, allocations: 115.4 kB / 1.429 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.773e-06/2.696, allocations: 0 / 1.429 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.08168/2.778, allocations: 30.24 MB / 1.459 GB, free: 79.6 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)