Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.755/2.755, allocations: 287.9 MB / 302.9 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 176.6 kB / 371.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.6 kB / 0.7434 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004704, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1592, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02899/0.1882, allocations: 26.62 MB / 1.005 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.2136, allocations: 12.59 MB / 1.017 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.2168, allocations: 115.2 kB / 1.017 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.2195, allocations: 0.6327 MB / 1.018 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.2277, allocations: 2.107 MB / 1.02 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.2327, allocations: 1.221 MB / 1.021 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008482/0.2412, allocations: 3.989 MB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01927/0.2605, allocations: 8.522 MB / 1.033 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.2657, allocations: 2.29 MB / 1.035 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.27, allocations: 2.036 MB / 1.037 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.2712, allocations: 244 kB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.2738, allocations: 0.5892 MB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/0.2768, allocations: 1.754 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.279, allocations: 0.9719 MB / 1.041 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.2904, allocations: 7.605 MB / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.245e-06/0.2904, allocations: 0 / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2904, allocations: 0 / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001858/0.2906, allocations: 0 / 1.048 GB, free: 4.625 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0112/0.3018, allocations: 4.169 MB / 1.052 GB, free: 388 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3019, allocations: 16.03 kB / 1.052 GB, free: 372 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.3092, allocations: 0.9699 MB / 1.053 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007869/0.3172, allocations: 2.818 MB / 1.056 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/0.3176, allocations: 316.5 kB / 1.056 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/0.3191, allocations: 419.9 kB / 1.057 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.3376, allocations: 6.717 MB / 1.063 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.3378, allocations: 23.78 kB / 1.063 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007146/0.3385, allocations: 180 kB / 1.064 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/0.3396, allocations: 380 kB / 1.064 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5283/0.8679, allocations: 5.073 MB / 1.069 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04117/0.9091, allocations: 30.75 MB / 1.099 GB, free: 55.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.9122, allocations: 1.383 MB / 1.1 GB, free: 54.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.9125, allocations: 14.2 kB / 1.1 GB, free: 54.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.9125, allocations: 51.36 kB / 1.1 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 5.285e-06/0.9125, allocations: 0 / 1.1 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.1095/1.022, allocations: 22.78 MB / 1.123 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.022, allocations: 72.47 kB / 1.123 GB, free: 45.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/1.026, allocations: 2.038 MB / 1.125 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003746/1.026, allocations: 62.14 kB / 1.125 GB, free: 44.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.028, allocations: 2.009 MB / 1.127 GB, free: 43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007624/1.028, allocations: 0.686 MB / 1.127 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/1.029, allocations: 45.22 kB / 1.127 GB, free: 42.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.029, allocations: 399.7 kB / 1.128 GB, free: 42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/1.032, allocations: 1.423 MB / 1.129 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/1.035, allocations: 1.996 MB / 1.131 GB, free: 39.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.039, allocations: 1.723 MB / 1.133 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.039, allocations: 3.906 kB / 1.133 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01423/1.053, allocations: 5.634 MB / 1.138 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/1.053, allocations: 14.5 kB / 1.138 GB, free: 35.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/1.053, allocations: 22.12 kB / 1.138 GB, free: 35.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009176/1.062, allocations: 2.083 MB / 1.14 GB, free: 34.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.064, allocations: 375.4 kB / 1.141 GB, free: 34.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04253/1.107, allocations: 36.27 MB / 1.176 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.11, allocations: 123.9 kB / 1.176 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/1.11, allocations: 99.94 kB / 1.176 GB, free: 11.19 MB / 0.698 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003749/1.114, allocations: 1.501 MB / 1.178 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008284/1.115, allocations: 284.6 kB / 1.178 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.129, allocations: 5.19 MB / 1.183 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/1.129, allocations: 20 kB / 1.183 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.513e-05/1.129, allocations: 20 kB / 1.183 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.236e-05/1.129, allocations: 11.95 kB / 1.183 GB, free: 4.082 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.154, allocations: 9.66 MB / 1.193 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/1.154, allocations: 8 kB / 1.193 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.156, allocations: 215.6 kB / 1.193 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008436/1.164, allocations: 1.844 MB / 1.195 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/1.165, allocations: 40 kB / 1.195 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05306/1.218, allocations: 35.28 MB / 1.229 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/1.218, allocations: 11.94 kB / 1.229 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.231, allocations: 5.426 MB / 1.234 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.233, allocations: 0.6147 MB / 1.235 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007657/1.234, allocations: 43.98 kB / 1.235 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.236, allocations: 127.8 kB / 1.235 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008079/1.237, allocations: 193.6 kB / 1.235 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.237, allocations: 56 kB / 1.235 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003074/1.24, allocations: 1.355 MB / 1.237 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.433e-06/1.24, allocations: 0 / 1.237 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005069/1.246, allocations: 1.039 MB / 1.238 GB, free: 9.254 MB / 0.7605 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/1.246, allocations: 174.9 kB / 1.238 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.26, allocations: 6.256 MB / 1.244 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.26, allocations: 0 / 1.244 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009598/1.27, allocations: 4.401 MB / 1.248 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/1.275, allocations: 0.8853 MB / 1.249 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.296, allocations: 9.583 MB / 1.259 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00636/1.302, allocations: 3.209 MB / 1.262 GB, free: 236 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002886/1.305, allocations: 0.5199 MB / 1.262 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/1.306, allocations: 147.4 kB / 1.262 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of SimCode: time 1.826e-06/1.306, allocations: 0 / 1.262 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of Templates: time 0.1565/1.462, allocations: 55.49 MB / 1.317 GB, free: 8.793 MB / 0.8386 GB