Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.923/4.923, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002693/0.002692, allocations: 366.3 kB / 0.644 GB, free: 21.45 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.085/4.085, allocations: 410.7 MB / 1.112 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 181.7 kB / 1.225 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0008534/0.0008538, allocations: 12.03 kB / 1.348 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1733, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03166/0.205, allocations: 30.17 MB / 1.49 GB, free: 190.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02178/0.2268, allocations: 13.97 MB / 1.504 GB, free: 176.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.2304, allocations: 131.2 kB / 1.504 GB, free: 176.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.233, allocations: 0.6682 MB / 1.505 GB, free: 175.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.2411, allocations: 2.47 MB / 1.507 GB, free: 173.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.2462, allocations: 1.403 MB / 1.508 GB, free: 171.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.2569, allocations: 9.732 MB / 1.518 GB, free: 162.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/0.2745, allocations: 9.845 MB / 1.528 GB, free: 152.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.2798, allocations: 2.884 MB / 1.53 GB, free: 149.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005471/0.2853, allocations: 3.395 MB / 1.534 GB, free: 146 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.2866, allocations: 300 kB / 1.534 GB, free: 145.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.2898, allocations: 0.8034 MB / 1.535 GB, free: 144.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.2927, allocations: 2.268 MB / 1.537 GB, free: 142.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.2947, allocations: 1.12 MB / 1.538 GB, free: 141.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.3044, allocations: 9.163 MB / 1.547 GB, free: 132.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3045, allocations: 0 / 1.547 GB, free: 132.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.419e-06/0.3045, allocations: 0 / 1.547 GB, free: 132.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000227/0.3047, allocations: 0 / 1.547 GB, free: 132.3 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0106/0.3153, allocations: 4.895 MB / 1.552 GB, free: 127.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3154, allocations: 12.69 kB / 1.552 GB, free: 127.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008535/0.324, allocations: 1.18 MB / 1.553 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/0.3313, allocations: 3.239 MB / 1.556 GB, free: 122.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.3317, allocations: 374 kB / 1.556 GB, free: 122.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.333, allocations: 0.4919 MB / 1.557 GB, free: 122 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.3501, allocations: 7.958 MB / 1.565 GB, free: 113.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.3503, allocations: 23.78 kB / 1.565 GB, free: 113.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006779/0.351, allocations: 216 kB / 1.565 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/0.3521, allocations: 437.6 kB / 1.565 GB, free: 113.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.3659, allocations: 6.049 MB / 1.571 GB, free: 107 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04057/0.4065, allocations: 35.19 MB / 1.606 GB, free: 68.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.4099, allocations: 2.025 MB / 1.608 GB, free: 66.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.4129, allocations: 1.854 MB / 1.609 GB, free: 64.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.4131, allocations: 21.95 kB / 1.609 GB, free: 64.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.4131, allocations: 52.56 kB / 1.609 GB, free: 64.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=171): time 5.796e-06/0.4131, allocations: 8 kB / 1.609 GB, free: 64.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=276): time 0.1931/0.6062, allocations: 38.99 MB / 1.648 GB, free: 25.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.6063, allocations: 81.53 kB / 1.648 GB, free: 25.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.6099, allocations: 2.258 MB / 1.65 GB, free: 23.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/0.6104, allocations: 73.7 kB / 1.65 GB, free: 23.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.6117, allocations: 2.276 MB / 1.652 GB, free: 20.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008872/0.6126, allocations: 0.9318 MB / 1.653 GB, free: 19.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.6129, allocations: 60 kB / 1.653 GB, free: 19.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6131, allocations: 424.1 kB / 1.654 GB, free: 19.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/0.6167, allocations: 1.958 MB / 1.655 GB, free: 17.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.6206, allocations: 2.591 MB / 1.658 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/0.6247, allocations: 2.372 MB / 1.66 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.6248, allocations: 8 kB / 1.66 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0172/0.642, allocations: 7.713 MB / 1.668 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.6421, allocations: 12 kB / 1.668 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.6421, allocations: 20 kB / 1.668 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.6536, allocations: 3.211 MB / 1.671 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.6557, allocations: 395.4 kB / 1.671 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6516/1.307, allocations: 31.12 MB / 1.702 GB, free: 179.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/1.313, allocations: 163.8 kB / 1.702 GB, free: 179.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.314, allocations: 103.2 kB / 1.702 GB, free: 179.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006743/1.321, allocations: 1.798 MB / 1.704 GB, free: 178.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.322, allocations: 329.3 kB / 1.704 GB, free: 178.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03169/1.354, allocations: 7.325 MB / 1.711 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/1.354, allocations: 27.69 kB / 1.711 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001503/1.354, allocations: 27.56 kB / 1.711 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.565e-05/1.355, allocations: 11.25 kB / 1.711 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04594/1.4, allocations: 12.92 MB / 1.724 GB, free: 169.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/1.401, allocations: 9.125 kB / 1.724 GB, free: 169.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.403, allocations: 227.6 kB / 1.724 GB, free: 169.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/1.42, allocations: 2.848 MB / 1.727 GB, free: 168.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006813/1.421, allocations: 55.88 kB / 1.727 GB, free: 168.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07616/1.497, allocations: 29.91 MB / 1.756 GB, free: 143.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.497, allocations: 7.938 kB / 1.756 GB, free: 143.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.512, allocations: 6.86 MB / 1.763 GB, free: 136 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.514, allocations: 0.7822 MB / 1.764 GB, free: 135.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000865/1.515, allocations: 55.95 kB / 1.764 GB, free: 135.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.517, allocations: 167.8 kB / 1.764 GB, free: 135 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009795/1.518, allocations: 249.5 kB / 1.764 GB, free: 134.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.519, allocations: 76 kB / 1.764 GB, free: 134.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002737/1.521, allocations: 1.498 MB / 1.766 GB, free: 133.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.42e-07/1.521, allocations: 0 / 1.766 GB, free: 133.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00522/1.527, allocations: 1.352 MB / 1.767 GB, free: 131.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005514/1.527, allocations: 189.3 kB / 1.767 GB, free: 131.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.541, allocations: 6.908 MB / 1.774 GB, free: 124.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.541, allocations: 8.062 kB / 1.774 GB, free: 124.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0094/1.55, allocations: 4.409 MB / 1.778 GB, free: 120.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/1.556, allocations: 1.034 MB / 1.779 GB, free: 119.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.577, allocations: 11.93 MB / 1.791 GB, free: 107.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005845/1.583, allocations: 3.734 MB / 1.794 GB, free: 103.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002845/1.585, allocations: 0.5634 MB / 1.795 GB, free: 102.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.586, allocations: 155.4 kB / 1.795 GB, free: 102.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.932e-06/1.586, allocations: 0 / 1.795 GB, free: 102.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.157/1.743, allocations: 71.59 MB / 1.865 GB, free: 32.17 MB / 0.8073 GB