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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, allocations: 252.6 MB / 265.2 MB, free: 5.773 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.001407/0.001407, allocations: 179.9 kB / 324.5 MB, free: 14.4 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.116/2.116, 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.001075/0.001075, allocations: 94.58 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.38e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.953/1.155, allocations: 189.8 MB / 1.08 GB, free: 11.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005634/1.156, allocations: 93 kB / 1.08 GB, free: 11.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5123/1.668, allocations: 113.2 MB / 1.191 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.766e-06/1.668, allocations: 4 kB / 1.191 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0004371/1.669, allocations: 71.98 kB / 1.191 GB, free: 14.57 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01665/1.685, allocations: 2.672 MB / 1.194 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/1.685, allocations: 8.031 kB / 1.194 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.697, allocations: 0.6752 MB / 1.194 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.709, allocations: 2.063 MB / 1.196 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000527/1.709, allocations: 226 kB / 1.196 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/1.711, allocations: 288 kB / 1.197 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02467/1.736, allocations: 4.556 MB / 1.201 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/1.736, allocations: 15.78 kB / 1.201 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/1.738, allocations: 136 kB / 1.201 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005308/1.739, allocations: 165.8 kB / 1.202 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.755, allocations: 3.349 MB / 1.205 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/1.794, allocations: 21.6 MB / 1.226 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/1.797, allocations: 1.265 MB / 1.227 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/1.8, allocations: 1.03 MB / 1.228 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/1.8, allocations: 9 kB / 1.228 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.8, allocations: 43.56 kB / 1.228 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 4.138e-06/1.8, allocations: 0 / 1.228 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.03331/1.833, allocations: 6.652 MB / 1.235 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/1.833, allocations: 68.67 kB / 1.235 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/1.836, allocations: 0.9614 MB / 1.236 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.836, allocations: 45.7 kB / 1.236 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.837, allocations: 1.304 MB / 1.237 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/1.838, allocations: 481.1 kB / 1.237 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/1.838, allocations: 32 kB / 1.237 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.838, allocations: 369.9 kB / 1.238 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/1.841, allocations: 0.8629 MB / 1.239 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/1.843, allocations: 1.327 MB / 1.24 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.846, allocations: 1.098 MB / 1.241 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.846, allocations: 4 kB / 1.241 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01074/1.857, allocations: 3.378 MB / 1.244 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/1.857, allocations: 12 kB / 1.244 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/1.857, allocations: 12 kB / 1.244 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005503/1.863, allocations: 1.15 MB / 1.245 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.865, allocations: 263.5 kB / 1.246 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/1.892, allocations: 12.43 MB / 1.258 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/1.894, allocations: 95.97 kB / 1.258 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003976/1.894, allocations: 64 kB / 1.258 GB, free: 6.816 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004963/1.895, allocations: 209.1 kB / 1.258 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/1.896, allocations: 162.4 kB / 1.258 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009964/1.906, allocations: 3.091 MB / 1.261 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.906, allocations: 12 kB / 1.261 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/1.906, allocations: 12 kB / 1.261 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-05/1.906, allocations: 11.97 kB / 1.261 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6219/2.528, allocations: 6.085 MB / 1.267 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/2.528, allocations: 5.719 kB / 1.267 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/2.529, allocations: 155.4 kB / 1.268 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/2.534, allocations: 1.012 MB / 1.269 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002931/2.534, allocations: 34.08 kB / 1.269 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/2.56, allocations: 12.14 MB / 1.28 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/2.56, allocations: 5.797 kB / 1.28 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/2.569, allocations: 3.316 MB / 1.284 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/2.57, allocations: 419.5 kB / 1.284 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/2.57, allocations: 29.42 kB / 1.284 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/2.572, allocations: 77.41 kB / 1.284 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/2.572, allocations: 127 kB / 1.284 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/2.573, allocations: 37.33 kB / 1.284 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001558/2.574, allocations: 0.7346 MB / 1.285 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/2.574, allocations: 1.25 kB / 1.285 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003419/2.578, allocations: 0.6698 MB / 1.286 GB, free: 240.1 MB / 0.8698 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/2.578, allocations: 141.4 kB / 1.286 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007777/2.586, allocations: 3.014 MB / 1.289 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.586, allocations: 5.688 kB / 1.289 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005241/2.591, allocations: 1.898 MB / 1.291 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/2.594, allocations: 433.7 kB / 1.291 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/2.607, allocations: 4.293 MB / 1.295 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004595/2.611, allocations: 2.391 MB / 1.298 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002133/2.614, allocations: 347.7 kB / 1.298 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/2.614, allocations: 83.69 kB / 1.298 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/2.614, allocations: 0 / 1.298 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.08097/2.695, allocations: 29.15 MB / 1.326 GB, free: 236.7 MB / 0.8698 GB