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.454/2.454, allocations: 253.2 MB / 260.6 MB, free: 7.457 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.001547/0.001547, allocations: 173.1 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.6 MB / 0.5708 GB, free: 15.22 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.001182/0.001181, allocations: 86.77 kB / 0.6751 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.18e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.205, allocations: 188.7 MB / 1.073 GB, free: 15.12 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/1.206, allocations: 102.4 kB / 1.073 GB, free: 15.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6239/1.83, allocations: 145.1 MB / 1.215 GB, free: 6.172 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.655e-06/1.83, allocations: 0 / 1.215 GB, free: 6.172 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003773/1.83, allocations: 91.97 kB / 1.215 GB, free: 6.082 MB / 0.823 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.01338/1.843, allocations: 3.218 MB / 1.218 GB, free: 2.805 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.844, allocations: 8.031 kB / 1.218 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008523/1.852, allocations: 0.8303 MB / 1.219 GB, free: 1.961 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009962/1.862, allocations: 2.557 MB / 1.221 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/1.862, allocations: 116 kB / 1.221 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/1.864, allocations: 227.9 kB / 1.222 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01233/1.877, allocations: 3.58 MB / 1.225 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/1.896, allocations: 5.112 MB / 1.23 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/1.896, allocations: 15.88 kB / 1.23 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/1.897, allocations: 12 kB / 1.23 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004177/1.898, allocations: 211 kB / 1.23 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04672/1.945, allocations: 26.9 MB / 1.257 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/1.947, allocations: 1.048 MB / 1.258 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.95, allocations: 0.9457 MB / 1.259 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/1.95, allocations: 13.31 kB / 1.259 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/1.95, allocations: 47.81 kB / 1.259 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.639e-06/1.95, allocations: 0 / 1.259 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.6461/2.596, allocations: 6.779 MB / 1.265 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/2.596, allocations: 68.05 kB / 1.265 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/2.599, allocations: 1.065 MB / 1.266 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003325/2.599, allocations: 25.7 kB / 1.266 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/2.601, allocations: 1.68 MB / 1.268 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/2.602, allocations: 450.7 kB / 1.268 GB, free: 232 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/2.602, allocations: 3.562 kB / 1.268 GB, free: 232 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001771/2.602, allocations: 376.3 kB / 1.269 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/2.604, allocations: 0.8217 MB / 1.27 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/2.607, allocations: 1.404 MB / 1.271 GB, free: 231 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/2.61, allocations: 1.066 MB / 1.272 GB, free: 231 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/2.61, allocations: 6.375 kB / 1.272 GB, free: 231 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01079/2.621, allocations: 2.973 MB / 1.275 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/2.621, allocations: 17.25 kB / 1.275 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/2.621, allocations: 20.19 kB / 1.275 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/2.625, allocations: 0.6961 MB / 1.276 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/2.628, allocations: 394.2 kB / 1.276 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/2.648, allocations: 14.95 MB / 1.291 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/2.65, allocations: 67.91 kB / 1.291 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/2.651, allocations: 78.28 kB / 1.291 GB, free: 220 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.0004841/2.651, allocations: 168.5 kB / 1.291 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/2.652, allocations: 187.4 kB / 1.291 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/2.659, allocations: 2.58 MB / 1.294 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/2.659, allocations: 14.48 kB / 1.294 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/2.659, allocations: 9.219 kB / 1.294 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/2.66, allocations: 6.75 kB / 1.294 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/2.677, allocations: 5.376 MB / 1.299 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/2.677, allocations: 5.281 kB / 1.299 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/2.68, allocations: 237.4 kB / 1.299 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/2.683, allocations: 0.6304 MB / 1.3 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003185/2.683, allocations: 18.12 kB / 1.3 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/2.702, allocations: 14.68 MB / 1.314 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/2.702, allocations: 10.67 kB / 1.314 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009812/2.712, allocations: 4.1 MB / 1.318 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/2.713, allocations: 432 kB / 1.319 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/2.714, allocations: 8.25 kB / 1.319 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/2.716, allocations: 63.53 kB / 1.319 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/2.716, allocations: 112.4 kB / 1.319 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/2.716, allocations: 37.88 kB / 1.319 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0018/2.718, allocations: 0.7941 MB / 1.32 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.12e-07/2.718, allocations: 3.031 kB / 1.32 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004475/2.723, allocations: 0.6373 MB / 1.32 GB, free: 206.8 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.0005702/2.723, allocations: 133.1 kB / 1.32 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008001/2.731, allocations: 3.227 MB / 1.323 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.731, allocations: 3.156 kB / 1.323 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004742/2.736, allocations: 2.131 MB / 1.326 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/2.741, allocations: 0.5391 MB / 1.326 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/2.755, allocations: 5.167 MB / 1.331 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/2.76, allocations: 2.737 MB / 1.334 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002734/2.763, allocations: 461.9 kB / 1.334 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/2.764, allocations: 106.5 kB / 1.334 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/2.764, allocations: 0 / 1.334 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.07512/2.839, allocations: 27.86 MB / 1.362 GB, free: 201.6 MB / 0.8698 GB