Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.048/5.048, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 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.004004/0.004003, allocations: 361.9 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.466/4.466, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001851/0.00185, allocations: 191.8 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.795, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007839/0.8029, allocations: 4.477 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007787/0.8107, allocations: 3.101 MB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.8113, allocations: 8.438 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.8123, allocations: 152.6 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.8139, allocations: 305.3 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.815, allocations: 189.2 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.8166, allocations: 0.694 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.8188, allocations: 0.737 MB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005218/0.8194, allocations: 191.2 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.82, allocations: 260.5 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.564e-05/0.8201, allocations: 21.22 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.8212, allocations: 231.6 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.8215, allocations: 139.6 kB / 1.472 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.8217, allocations: 106 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.823, allocations: 0.7086 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.823, allocations: 0 / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.823, allocations: 0 / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8231, allocations: 0.8438 kB / 1.472 GB, free: 273 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002436/0.8255, allocations: 0.7432 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.8256, allocations: 15.61 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007383/0.833, allocations: 0.7105 MB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.8347, allocations: 482.6 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.8348, allocations: 20.66 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.835, allocations: 35.94 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.8384, allocations: 0.8443 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.8385, allocations: 4 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.8386, allocations: 8.969 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00044/0.8391, allocations: 76.5 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.844, allocations: 0.9393 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.8522, allocations: 2.915 MB / 1.479 GB, free: 266 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.8562, allocations: 0.5778 MB / 1.48 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.8581, allocations: 310.7 kB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.8583, allocations: 97.86 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.8584, allocations: 36.19 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 4.629e-06/0.8584, allocations: 1.219 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.02941/0.8878, allocations: 3.645 MB / 1.484 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.8879, allocations: 86.14 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.8886, allocations: 408.4 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.8887, allocations: 38.42 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.8888, allocations: 237 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.889, allocations: 102.5 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.889, allocations: 12 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8892, allocations: 343.8 kB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.8908, allocations: 403.6 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.8925, allocations: 482 kB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.8942, allocations: 436.8 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8942, allocations: 0 / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.009738/0.9039, allocations: 1.724 MB / 1.488 GB, free: 257 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.9041, allocations: 148.9 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.9041, allocations: 0 / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008007/0.9122, allocations: 0.9775 MB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.9134, allocations: 133.9 kB / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.9256, allocations: 6.418 MB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.927, allocations: 117.9 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.9271, allocations: 12 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.9272, allocations: 4 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008533/0.9357, allocations: 1.665 MB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9358, allocations: 6.438 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005696/0.9415, allocations: 0.7191 MB / 1.498 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.9427, allocations: 140.5 kB / 1.498 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/0.9506, allocations: 5.436 MB / 1.503 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.952, allocations: 109.9 kB / 1.503 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.9521, allocations: 12.73 kB / 1.503 GB, free: 240.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004693/0.9526, allocations: 334.2 kB / 1.503 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.9527, allocations: 41.38 kB / 1.504 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00885/0.9615, allocations: 1.623 MB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.9616, allocations: 7.984 kB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9616, allocations: 0.5938 kB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.9621, allocations: 179.8 kB / 1.505 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.9622, allocations: 4 kB / 1.505 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9632, allocations: 91.86 kB / 1.505 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.9634, allocations: 35.89 kB / 1.505 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006703/0.9702, allocations: 1.406 MB / 1.507 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004161/0.9744, allocations: 1.296 MB / 1.508 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001278/0.9757, allocations: 375.7 kB / 1.508 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004817/0.9762, allocations: 311 kB / 1.509 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of Backend: time 6.92e-07/0.9762, allocations: 0 / 1.509 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007526/0.9837, allocations: 2.109 MB / 1.511 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00261/0.9864, allocations: 1.665 MB / 1.512 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.0348/1.021, allocations: 16.28 MB / 1.528 GB, free: 214.7 MB / 0.8542 GB