Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.409/5.409, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002511/0.002511, allocations: 359.3 kB / 0.6447 GB, free: 185.7 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.473/4.473, allocations: 410.7 MB / 1.113 GB, free: 6.035 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.001859/0.001859, allocations: 191 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7575, 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.ACSimpleGrid_N): time 0.01571/0.7732, allocations: 10.77 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.7844, allocations: 5.208 MB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.7856, allocations: 31.88 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.7869, allocations: 307.4 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.7894, allocations: 0.6533 MB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.792, allocations: 0.589 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.7961, allocations: 2.919 MB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007186/0.8033, allocations: 3.862 MB / 1.485 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.8049, allocations: 0.7705 MB / 1.486 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.807, allocations: 1.084 MB / 1.487 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.8073, allocations: 100 kB / 1.487 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.8087, allocations: 323.5 kB / 1.487 GB, free: 258 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.8096, allocations: 0.7326 MB / 1.488 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.8101, allocations: 372.9 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.8139, allocations: 3.25 MB / 1.492 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.814, allocations: 4 kB / 1.492 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.696e-06/0.814, allocations: 0 / 1.492 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001039/0.8141, allocations: 0 / 1.492 GB, free: 253.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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005164/0.8193, allocations: 1.773 MB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.8194, allocations: 11.62 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.8246, allocations: 0.7627 MB / 1.494 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.8279, allocations: 1.227 MB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.828, allocations: 127.2 kB / 1.495 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.8284, allocations: 156 kB / 1.496 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006747/0.8352, allocations: 2.944 MB / 1.498 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.071e-05/0.8353, allocations: 0.6094 kB / 1.498 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.8356, allocations: 67.98 kB / 1.498 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000661/0.8363, allocations: 211 kB / 1.499 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006027/0.8423, allocations: 2.499 MB / 1.501 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01679/0.8591, allocations: 10.9 MB / 1.512 GB, free: 232 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.8611, allocations: 0.9232 MB / 1.513 GB, free: 231 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.8621, allocations: 0.5051 MB / 1.513 GB, free: 230.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.8623, allocations: 89.47 kB / 1.513 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8623, allocations: 42.94 kB / 1.513 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.306e-06/0.8624, allocations: 0 / 1.513 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70): time 0.04866/0.911, allocations: 8.973 MB / 1.522 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.9111, allocations: 93.59 kB / 1.522 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.9128, allocations: 0.9376 MB / 1.523 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.913, allocations: 37.7 kB / 1.523 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.9135, allocations: 0.7736 MB / 1.524 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.9138, allocations: 244.5 kB / 1.524 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.9139, allocations: 24 kB / 1.524 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9141, allocations: 398.7 kB / 1.524 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.916, allocations: 0.7911 MB / 1.525 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.9191, allocations: 1.164 MB / 1.526 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.9228, allocations: 0.9946 MB / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.9228, allocations: 4 kB / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.02685/0.9497, allocations: 3.789 MB / 1.531 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003712/0.9501, allocations: 416.8 kB / 1.531 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.9502, allocations: 12 kB / 1.531 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02953/0.9797, allocations: 2.163 MB / 1.534 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.9819, allocations: 227.6 kB / 1.534 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04642/1.028, allocations: 10.25 MB / 1.544 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.032, allocations: 195.5 kB / 1.544 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/1.032, allocations: 55.92 kB / 1.544 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.032, allocations: 4 kB / 1.544 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01415/1.046, allocations: 3.068 MB / 1.547 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.641e-05/1.046, allocations: 12 kB / 1.547 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/1.056, allocations: 1.366 MB / 1.548 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.059, allocations: 287.5 kB / 1.549 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.077, allocations: 6.148 MB / 1.555 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.079, allocations: 171.7 kB / 1.555 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.079, allocations: 52.83 kB / 1.555 GB, free: 186.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001722/1.081, allocations: 0.8909 MB / 1.556 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/1.081, allocations: 82.97 kB / 1.556 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/1.097, allocations: 3.328 MB / 1.559 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-05/1.097, allocations: 3.984 kB / 1.559 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.097, allocations: 3.953 kB / 1.559 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009096/1.098, allocations: 339.9 kB / 1.559 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.098, allocations: 11.98 kB / 1.559 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.1, allocations: 155.8 kB / 1.56 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/1.1, allocations: 77.03 kB / 1.56 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01172/1.112, allocations: 3.057 MB / 1.563 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005285/1.117, allocations: 2.485 MB / 1.565 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001669/1.119, allocations: 0.8013 MB / 1.566 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001282/1.12, allocations: 0.6668 MB / 1.566 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of Backend: time 5.41e-07/1.12, allocations: 0 / 1.566 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.132, allocations: 3.479 MB / 1.57 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.008099/1.141, allocations: 4.279 MB / 1.574 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.07049/1.211, allocations: 32.55 MB / 1.606 GB, free: 135 MB / 0.8542 GB