Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 178.7 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 90.03 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.152e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.219, allocations: 188.5 MB / 1.079 GB, free: 12.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/1.22, allocations: 91.31 kB / 1.079 GB, free: 12.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5942/1.814, allocations: 145.8 MB / 1.221 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/1.814, allocations: 0 / 1.221 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003809/1.814, allocations: 99.91 kB / 1.221 GB, free: 14.92 MB / 0.8386 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.01422/1.829, allocations: 3.212 MB / 1.225 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.829, allocations: 8.031 kB / 1.225 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00874/1.837, allocations: 0.8225 MB / 1.225 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/1.848, allocations: 2.557 MB / 1.228 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/1.848, allocations: 267.3 kB / 1.228 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/1.85, allocations: 383.9 kB / 1.229 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/1.87, allocations: 5.647 MB / 1.234 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/1.87, allocations: 19.78 kB / 1.234 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/1.872, allocations: 164 kB / 1.234 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004036/1.872, allocations: 211 kB / 1.234 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/1.886, allocations: 4.056 MB / 1.238 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6902/2.577, allocations: 27.67 MB / 1.265 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/2.58, allocations: 1.078 MB / 1.266 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/2.582, allocations: 0.9827 MB / 1.267 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/2.582, allocations: 11.98 kB / 1.267 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/2.582, allocations: 44.48 kB / 1.267 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.308e-06/2.582, allocations: 0 / 1.267 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.03407/2.616, allocations: 7.982 MB / 1.275 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/2.616, allocations: 74.12 kB / 1.275 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/2.62, allocations: 1.263 MB / 1.277 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00037/2.62, allocations: 48.67 kB / 1.277 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/2.622, allocations: 1.664 MB / 1.278 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008382/2.623, allocations: 474.7 kB / 1.279 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/2.623, allocations: 37.47 kB / 1.279 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001717/2.623, allocations: 372.8 kB / 1.279 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/2.625, allocations: 0.8577 MB / 1.28 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/2.628, allocations: 1.446 MB / 1.281 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/2.632, allocations: 1.11 MB / 1.282 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/2.632, allocations: 8.75 kB / 1.282 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01105/2.643, allocations: 3.182 MB / 1.286 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/2.643, allocations: 13.44 kB / 1.286 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/2.643, allocations: 22.06 kB / 1.286 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003997/2.647, allocations: 0.7177 MB / 1.286 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/2.65, allocations: 397.7 kB / 1.287 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/2.671, allocations: 15.56 MB / 1.302 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/2.674, allocations: 110.9 kB / 1.302 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/2.674, allocations: 81.86 kB / 1.302 GB, free: 212 MB / 0.8698 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.0005137/2.675, allocations: 213 kB / 1.302 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/2.675, allocations: 197.2 kB / 1.302 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008372/2.683, allocations: 2.722 MB / 1.305 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/2.684, allocations: 16.52 kB / 1.305 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/2.684, allocations: 7.219 kB / 1.305 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/2.684, allocations: 7.172 kB / 1.305 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/2.702, allocations: 6.057 MB / 1.311 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/2.702, allocations: 5.531 kB / 1.311 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/2.704, allocations: 244 kB / 1.311 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/2.708, allocations: 0.6397 MB / 1.312 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/2.708, allocations: 31.56 kB / 1.312 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/2.726, allocations: 15.3 MB / 1.327 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/2.726, allocations: 9.969 kB / 1.327 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/2.736, allocations: 4.227 MB / 1.331 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/2.738, allocations: 444.4 kB / 1.331 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/2.738, allocations: 32.31 kB / 1.331 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/2.74, allocations: 83.8 kB / 1.332 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/2.74, allocations: 117.7 kB / 1.332 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/2.74, allocations: 39.19 kB / 1.332 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001876/2.742, allocations: 0.9576 MB / 1.333 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.41e-07/2.742, allocations: 0 / 1.333 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003867/2.746, allocations: 0.7082 MB / 1.333 GB, free: 198.2 MB / 0.8698 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.000417/2.747, allocations: 149.6 kB / 1.333 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007655/2.754, allocations: 3.395 MB / 1.337 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.754, allocations: 2.875 kB / 1.337 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/2.759, allocations: 2.216 MB / 1.339 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/2.764, allocations: 0.5811 MB / 1.34 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/2.777, allocations: 5.236 MB / 1.345 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004241/2.782, allocations: 2.731 MB / 1.347 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002672/2.785, allocations: 468.4 kB / 1.348 GB, free: 193 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/2.785, allocations: 114.8 kB / 1.348 GB, free: 193 MB / 0.8698 GB Notification: Performance of SimCode: time 2.405e-06/2.785, allocations: 4 kB / 1.348 GB, free: 193 MB / 0.8698 GB Notification: Performance of Templates: time 0.08454/2.87, allocations: 30.25 MB / 1.377 GB, free: 191.8 MB / 0.8698 GB