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 5.02/5.02, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002378, allocations: 359.1 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.184/4.184, allocations: 410.7 MB / 1.112 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001803, allocations: 184.5 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.5849, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02984/0.6148, allocations: 27.87 MB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.6353, allocations: 12.76 MB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.6386, allocations: 127.2 kB / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.6409, allocations: 0.5892 MB / 1.501 GB, free: 243 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.6485, allocations: 2.28 MB / 1.503 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.653, allocations: 1.208 MB / 1.505 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.009058/0.6621, allocations: 8.382 MB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01574/0.6779, allocations: 8.508 MB / 1.521 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005164/0.6831, allocations: 2.514 MB / 1.523 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.6877, allocations: 2.842 MB / 1.526 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.689, allocations: 244 kB / 1.526 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.6923, allocations: 0.6981 MB / 1.527 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.695, allocations: 1.905 MB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.6971, allocations: 0.9641 MB / 1.53 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008194/0.7054, allocations: 7.733 MB / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.659e-06/0.7054, allocations: 3.938 kB / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.082e-06/0.7054, allocations: 0 / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001886/0.7056, allocations: 4 kB / 1.538 GB, free: 205.9 MB / 0.8542 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.009052/0.7147, allocations: 4.189 MB / 1.542 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7148, allocations: 15.62 kB / 1.542 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007459/0.7222, allocations: 1.042 MB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/0.7288, allocations: 2.814 MB / 1.545 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.7292, allocations: 312.5 kB / 1.546 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.7303, allocations: 423.9 kB / 1.546 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.7445, allocations: 6.752 MB / 1.553 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.7447, allocations: 15.84 kB / 1.553 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006278/0.7453, allocations: 192 kB / 1.553 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008829/0.7462, allocations: 372 kB / 1.553 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.7577, allocations: 5.079 MB / 1.558 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03453/0.7923, allocations: 30.75 MB / 1.588 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.7948, allocations: 1.38 MB / 1.59 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.7968, allocations: 1.347 MB / 1.591 GB, free: 148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.797, allocations: 13.31 kB / 1.591 GB, free: 148 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.797, allocations: 51.88 kB / 1.591 GB, free: 148 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=130): time 5.021e-06/0.7971, allocations: 0 / 1.591 GB, free: 148 MB / 0.8542 GB Notification: Performance of matching and sorting (n=199): time 0.09686/0.8939, allocations: 22.78 MB / 1.613 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.894, allocations: 77.41 kB / 1.613 GB, free: 125 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.8972, allocations: 2.035 MB / 1.615 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003284/0.8975, allocations: 61.7 kB / 1.615 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.8988, allocations: 2.01 MB / 1.617 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007246/0.8995, allocations: 0.6739 MB / 1.618 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.8997, allocations: 48 kB / 1.618 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8999, allocations: 398.6 kB / 1.618 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.9025, allocations: 1.422 MB / 1.62 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.9055, allocations: 2.002 MB / 1.622 GB, free: 116 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.9086, allocations: 1.732 MB / 1.623 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.9087, allocations: 4 kB / 1.623 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01328/0.922, allocations: 5.634 MB / 1.629 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.922, allocations: 19.94 kB / 1.629 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.9221, allocations: 20 kB / 1.629 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/0.9309, allocations: 2.076 MB / 1.631 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.9329, allocations: 383.3 kB / 1.631 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04066/0.9736, allocations: 35.48 MB / 1.666 GB, free: 68.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.9763, allocations: 131.9 kB / 1.666 GB, free: 68.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004132/0.9767, allocations: 91.98 kB / 1.666 GB, free: 67.93 MB / 0.8542 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.0032/0.9799, allocations: 1.5 MB / 1.668 GB, free: 66.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/0.9806, allocations: 284.8 kB / 1.668 GB, free: 66.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.9931, allocations: 5.196 MB / 1.673 GB, free: 60.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9931, allocations: 20 kB / 1.673 GB, free: 60.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/0.9932, allocations: 19.98 kB / 1.673 GB, free: 60.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/0.9933, allocations: 11.92 kB / 1.673 GB, free: 60.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/1.015, allocations: 9.665 MB / 1.683 GB, free: 50.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/1.015, allocations: 12 kB / 1.683 GB, free: 50.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.016, allocations: 216.5 kB / 1.683 GB, free: 50.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00756/1.024, allocations: 1.838 MB / 1.685 GB, free: 48.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/1.024, allocations: 44 kB / 1.685 GB, free: 48.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03877/1.063, allocations: 34.5 MB / 1.718 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.556e-06/1.063, allocations: 11.94 kB / 1.718 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.074, allocations: 4.905 MB / 1.723 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.075, allocations: 0.6148 MB / 1.724 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006609/1.076, allocations: 40 kB / 1.724 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.078, allocations: 128 kB / 1.724 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/1.079, allocations: 205.5 kB / 1.724 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.079, allocations: 56 kB / 1.724 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002406/1.082, allocations: 1.359 MB / 1.725 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.07e-06/1.082, allocations: 0 / 1.725 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004444/1.086, allocations: 1.035 MB / 1.726 GB, free: 3.352 MB / 0.8542 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.0005066/1.087, allocations: 163 kB / 1.727 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.5989/1.686, allocations: 6.251 MB / 1.733 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.686, allocations: 5.281 kB / 1.733 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0084/1.694, allocations: 4.4 MB / 1.737 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.699, allocations: 0.8975 MB / 1.738 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.717, allocations: 9.603 MB / 1.747 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/1.722, allocations: 3.209 MB / 1.75 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002862/1.725, allocations: 0.5142 MB / 1.751 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/1.726, allocations: 147.7 kB / 1.751 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.696e-06/1.726, allocations: 3.781 kB / 1.751 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.1186/1.844, allocations: 55.51 MB / 1.805 GB, free: 196.2 MB / 0.8542 GB