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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.0016/0.0016, allocations: 178.3 kB / 325.6 MB, free: 2.816 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.542/2.542, allocations: 205.4 MB / 0.5766 GB, free: 21.16 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.00114/0.00114, allocations: 104 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006555, allocations: 14.03 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2501, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.07265/0.3228, allocations: 26.63 MB / 0.9249 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03907/0.362, allocations: 12.58 MB / 0.9372 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.3664, allocations: 119.2 kB / 0.9373 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.3708, allocations: 0.6366 MB / 0.9379 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.3837, allocations: 2.105 MB / 0.94 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008325/0.3921, allocations: 1.213 MB / 0.9411 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009665/0.4019, allocations: 4.005 MB / 0.9451 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01806/0.42, allocations: 8.517 MB / 0.9534 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/0.4262, allocations: 2.282 MB / 0.9556 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006774/0.433, allocations: 2.036 MB / 0.9576 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.4352, allocations: 244 kB / 0.9578 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.44, allocations: 0.5931 MB / 0.9584 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.4444, allocations: 1.754 MB / 0.9601 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.4471, allocations: 0.9641 MB / 0.9611 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.4646, allocations: 7.605 MB / 0.9685 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4646, allocations: 0 / 0.9685 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.298e-06/0.4647, allocations: 0 / 0.9685 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003185/0.465, allocations: 0 / 0.9685 GB, free: 10.43 MB / 0.6198 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.02093/0.4859, allocations: 4.181 MB / 0.9726 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.486, allocations: 8.031 kB / 0.9726 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/0.5109, allocations: 0.9737 MB / 0.9735 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.5218, allocations: 2.818 MB / 0.9763 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/0.5223, allocations: 312.5 kB / 0.9766 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.5241, allocations: 415.9 kB / 0.977 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.5455, allocations: 6.721 MB / 0.9835 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.5458, allocations: 23.77 kB / 0.9836 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/0.5471, allocations: 192 kB / 0.9837 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.5487, allocations: 368 kB / 0.9841 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/0.5654, allocations: 5.087 MB / 0.9891 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05477/0.6203, allocations: 30.76 MB / 1.019 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.6241, allocations: 1.375 MB / 1.02 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.6244, allocations: 17.31 kB / 1.02 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/0.6244, allocations: 59.75 kB / 1.021 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=130): time 4.458e-06/0.6245, allocations: 0 / 1.021 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of matching and sorting (n=199): time 0.1702/0.7947, allocations: 22.78 MB / 1.043 GB, free: 10.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.7948, allocations: 77.39 kB / 1.043 GB, free: 10.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.7992, allocations: 2.035 MB / 1.045 GB, free: 8.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004796/0.7998, allocations: 65.7 kB / 1.045 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.8019, allocations: 2.014 MB / 1.047 GB, free: 6.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/0.8032, allocations: 0.6777 MB / 1.048 GB, free: 6.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.8035, allocations: 44 kB / 1.048 GB, free: 6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002592/0.8038, allocations: 398.5 kB / 1.048 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/0.8077, allocations: 1.426 MB / 1.049 GB, free: 4.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004558/0.8123, allocations: 1.994 MB / 1.051 GB, free: 1.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.8171, allocations: 1.724 MB / 1.053 GB, free: 212 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.8172, allocations: 12 kB / 1.053 GB, free: 200 kB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.6211/1.438, allocations: 5.627 MB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/1.438, allocations: 12.84 kB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.438, allocations: 16.84 kB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/1.45, allocations: 2.072 MB / 1.061 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/1.454, allocations: 381.8 kB / 1.061 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06127/1.515, allocations: 36.27 MB / 1.096 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/1.521, allocations: 128.9 kB / 1.096 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006716/1.522, allocations: 90.97 kB / 1.097 GB, free: 110.1 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.00419/1.526, allocations: 1.51 MB / 1.098 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008482/1.527, allocations: 279.9 kB / 1.098 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.544, allocations: 5.189 MB / 1.103 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.544, allocations: 24.14 kB / 1.103 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.762e-05/1.544, allocations: 16.75 kB / 1.103 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-05/1.544, allocations: 18.59 kB / 1.103 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/1.573, allocations: 9.657 MB / 1.113 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/1.573, allocations: 6.031 kB / 1.113 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.575, allocations: 219.1 kB / 1.113 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/1.585, allocations: 1.841 MB / 1.115 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/1.585, allocations: 39.12 kB / 1.115 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04835/1.634, allocations: 35.28 MB / 1.149 GB, free: 63.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.634, allocations: 11.94 kB / 1.149 GB, free: 63.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02063/1.655, allocations: 5.432 MB / 1.155 GB, free: 57.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/1.657, allocations: 0.6171 MB / 1.155 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.659, allocations: 40 kB / 1.155 GB, free: 56.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004225/1.663, allocations: 131.8 kB / 1.155 GB, free: 56.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/1.665, allocations: 194.7 kB / 1.156 GB, free: 56.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/1.665, allocations: 56 kB / 1.156 GB, free: 56.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004331/1.669, allocations: 1.359 MB / 1.157 GB, free: 55.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/1.669, allocations: 0 / 1.157 GB, free: 55.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007574/1.677, allocations: 1.035 MB / 1.158 GB, free: 54 MB / 0.698 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.0008421/1.678, allocations: 170.8 kB / 1.158 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02063/1.699, allocations: 6.248 MB / 1.164 GB, free: 47.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/1.699, allocations: 0.875 kB / 1.164 GB, free: 47.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/1.712, allocations: 4.403 MB / 1.169 GB, free: 42.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008074/1.72, allocations: 0.8913 MB / 1.169 GB, free: 41.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.75, allocations: 9.583 MB / 1.179 GB, free: 32.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007685/1.757, allocations: 3.205 MB / 1.182 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003941/1.761, allocations: 0.5276 MB / 1.182 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/1.762, allocations: 143.4 kB / 1.183 GB, free: 28.33 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/1.762, allocations: 0 / 1.183 GB, free: 28.33 MB / 0.698 GB Notification: Performance of Templates: time 0.17/1.932, allocations: 55.49 MB / 1.237 GB, free: 5.539 MB / 0.7292 GB