Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.437/5.437, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 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.002524/0.002524, allocations: 361.8 kB / 0.6447 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.406/4.406, allocations: 410.7 MB / 1.113 GB, free: 6 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.002626/0.002626, allocations: 185.3 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008317/0.0008321, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7875, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01598/0.8035, allocations: 10.66 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.8138, allocations: 5.005 MB / 1.477 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.815, allocations: 32.38 kB / 1.477 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.8162, allocations: 299 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.8187, allocations: 0.6337 MB / 1.478 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.8213, allocations: 0.5685 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003596/0.8249, allocations: 2.791 MB / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00686/0.8318, allocations: 3.619 MB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.8334, allocations: 0.7135 MB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.8354, allocations: 1.001 MB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.8357, allocations: 96 kB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.8369, allocations: 303.5 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.8378, allocations: 0.7209 MB / 1.487 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.8383, allocations: 345 kB / 1.488 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.8419, allocations: 3.013 MB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8419, allocations: 0 / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8419, allocations: 0 / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.145e-05/0.842, allocations: 3.5 kB / 1.49 GB, free: 254.7 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004841/0.8469, allocations: 1.64 MB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.847, allocations: 11.62 kB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/0.8509, allocations: 0.4898 MB / 1.493 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.8541, allocations: 1.131 MB / 1.494 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.8543, allocations: 115.1 kB / 1.494 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006733/0.855, allocations: 159.8 kB / 1.494 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.8622, allocations: 2.731 MB / 1.497 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.38e-05/0.8623, allocations: 3.938 kB / 1.497 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.8626, allocations: 68 kB / 1.497 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005588/0.8631, allocations: 177.1 kB / 1.497 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006432/0.8696, allocations: 2.28 MB / 1.499 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.8857, allocations: 10.53 MB / 1.509 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.8872, allocations: 0.5803 MB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.8881, allocations: 384.6 kB / 1.51 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.8882, allocations: 93.08 kB / 1.51 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.8883, allocations: 38.56 kB / 1.51 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 4.869e-06/0.8883, allocations: 0.8438 kB / 1.51 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.03505/0.9233, allocations: 6.269 MB / 1.516 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.9234, allocations: 89.48 kB / 1.517 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.925, allocations: 0.8944 MB / 1.517 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.9252, allocations: 37.7 kB / 1.517 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.9257, allocations: 0.7577 MB / 1.518 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.9259, allocations: 181.5 kB / 1.518 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.926, allocations: 20 kB / 1.518 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9261, allocations: 386.8 kB / 1.519 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.9277, allocations: 0.6382 MB / 1.519 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.9294, allocations: 1.011 MB / 1.52 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.9312, allocations: 0.814 MB / 1.521 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.9312, allocations: 4 kB / 1.521 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01503/0.9462, allocations: 3.213 MB / 1.524 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.9465, allocations: 431.4 kB / 1.525 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.9465, allocations: 12 kB / 1.525 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/0.9604, allocations: 1.857 MB / 1.527 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.962, allocations: 223.6 kB / 1.527 GB, free: 216 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.9823, allocations: 10.22 MB / 1.537 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.9844, allocations: 179.7 kB / 1.537 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.9846, allocations: 40 kB / 1.537 GB, free: 205 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.9846, allocations: 4 kB / 1.537 GB, free: 205 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/0.9964, allocations: 2.618 MB / 1.54 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.9964, allocations: 16.03 kB / 1.54 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009237/1.006, allocations: 1.204 MB / 1.541 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.007, allocations: 251.5 kB / 1.541 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.018, allocations: 5.538 MB / 1.546 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.02, allocations: 151.8 kB / 1.547 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.02, allocations: 40 kB / 1.547 GB, free: 194.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001522/1.022, allocations: 0.8514 MB / 1.547 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.022, allocations: 83.06 kB / 1.547 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.036, allocations: 2.688 MB / 1.55 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/1.036, allocations: 0 / 1.55 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.036, allocations: 0 / 1.55 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/1.037, allocations: 284.1 kB / 1.55 GB, free: 191 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.037, allocations: 19.89 kB / 1.55 GB, free: 191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.038, allocations: 127.8 kB / 1.551 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.039, allocations: 44.36 kB / 1.551 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00925/1.048, allocations: 2.258 MB / 1.553 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004083/1.052, allocations: 1.868 MB / 1.555 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/1.053, allocations: 0.5622 MB / 1.555 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001184/1.055, allocations: 0.6356 MB / 1.556 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of Backend: time 1.102e-06/1.055, allocations: 4 kB / 1.556 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007642/1.062, allocations: 2.954 MB / 1.559 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006796/1.069, allocations: 3.844 MB / 1.562 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.05875/1.128, allocations: 26.75 MB / 1.589 GB, free: 152.1 MB / 0.8542 GB