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.207/2.207, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 179.1 kB / 325.6 MB, free: 2.832 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.325/2.325, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001152/0.001152, allocations: 100.4 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004658, allocations: 15.41 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9651/1.178, allocations: 189.9 MB / 1.084 GB, free: 54.31 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.179, allocations: 102.7 kB / 1.084 GB, free: 54.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4471/1.626, allocations: 113.7 MB / 1.195 GB, free: 8.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/1.626, allocations: 0 / 1.195 GB, free: 8.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002756/1.626, allocations: 79.77 kB / 1.196 GB, free: 8.844 MB / 0.698 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.01186/1.638, allocations: 2.889 MB / 1.198 GB, free: 6.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.638, allocations: 12.03 kB / 1.198 GB, free: 6.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007116/1.645, allocations: 0.67 MB / 1.199 GB, free: 5.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007426/1.653, allocations: 2.065 MB / 1.201 GB, free: 3.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/1.653, allocations: 225.8 kB / 1.201 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/1.655, allocations: 298.8 kB / 1.202 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.67, allocations: 4.612 MB / 1.206 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/1.67, allocations: 7.938 kB / 1.206 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006384/1.671, allocations: 138.7 kB / 1.206 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/1.671, allocations: 165.8 kB / 1.206 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/1.682, allocations: 3.403 MB / 1.21 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0372/1.72, allocations: 21.6 MB / 1.231 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/1.723, allocations: 1.288 MB / 1.232 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.723, allocations: 9 kB / 1.232 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.723, allocations: 51.55 kB / 1.232 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=107): time 4.248e-06/1.723, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138): time 0.05003/1.773, allocations: 8.579 MB / 1.24 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/1.773, allocations: 76.61 kB / 1.241 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.775, allocations: 0.9597 MB / 1.241 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.776, allocations: 49.64 kB / 1.242 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/1.777, allocations: 1.307 MB / 1.243 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/1.778, allocations: 479.8 kB / 1.243 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/1.778, allocations: 36 kB / 1.243 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.778, allocations: 369.9 kB / 1.244 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.781, allocations: 0.8745 MB / 1.244 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/1.783, allocations: 1.335 MB / 1.246 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/1.786, allocations: 1.111 MB / 1.247 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.786, allocations: 8 kB / 1.247 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01095/1.797, allocations: 3.405 MB / 1.25 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/1.797, allocations: 12 kB / 1.25 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/1.797, allocations: 12 kB / 1.25 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/1.803, allocations: 1.139 MB / 1.251 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.805, allocations: 271.5 kB / 1.252 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02828/1.833, allocations: 12.96 MB / 1.264 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.835, allocations: 95.98 kB / 1.264 GB, free: 416 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/1.836, allocations: 67.98 kB / 1.264 GB, free: 348 kB / 0.7605 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 () * Number of clocked 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.003138/1.839, allocations: 1.118 MB / 1.266 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/1.839, allocations: 158.1 kB / 1.266 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009867/1.849, allocations: 3.126 MB / 1.269 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/1.849, allocations: 12 kB / 1.269 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.849, allocations: 12 kB / 1.269 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/1.849, allocations: 7.969 kB / 1.269 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.867, allocations: 6.115 MB / 1.275 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.867, allocations: 4 kB / 1.275 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.868, allocations: 151.8 kB / 1.275 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006608/1.875, allocations: 1.029 MB / 1.276 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004825/1.875, allocations: 31.98 kB / 1.276 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/1.906, allocations: 12.66 MB / 1.288 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.906, allocations: 7.938 kB / 1.288 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009189/1.915, allocations: 3.334 MB / 1.292 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.917, allocations: 419 kB / 1.292 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/1.917, allocations: 28 kB / 1.292 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.918, allocations: 75.89 kB / 1.292 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/1.919, allocations: 128.7 kB / 1.292 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.919, allocations: 36 kB / 1.292 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001628/1.921, allocations: 0.7436 MB / 1.293 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.41e-07/1.921, allocations: 0 / 1.293 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003314/1.924, allocations: 0.6719 MB / 1.294 GB, free: 1.695 MB / 0.7917 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 () * Number of clocked 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.0003659/1.924, allocations: 135.6 kB / 1.294 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008158/1.933, allocations: 3.078 MB / 1.297 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.933, allocations: 0 / 1.297 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005333/1.938, allocations: 1.936 MB / 1.299 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/1.941, allocations: 431.9 kB / 1.299 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.958, allocations: 6.41 MB / 1.305 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004663/1.963, allocations: 2.394 MB / 1.308 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002012/1.965, allocations: 342 kB / 1.308 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/1.965, allocations: 87.42 kB / 1.308 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of SimCode: time 1.453e-06/1.965, allocations: 4 kB / 1.308 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of Templates: time 0.08407/2.049, allocations: 29.14 MB / 1.336 GB, free: 5.938 MB / 0.8386 GB