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.057/5.057, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002459/0.002458, allocations: 356.8 kB / 0.644 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.432/4.432, allocations: 410.7 MB / 1.112 GB, free: 6.043 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.001768/0.001768, allocations: 186.7 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007835/0.0007837, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6067, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.00509/0.6118, allocations: 4.481 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.6164, allocations: 3.094 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.6168, allocations: 12.69 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.6174, allocations: 147.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008867/0.6183, allocations: 314.4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.6189, allocations: 181.1 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.6197, allocations: 0.7004 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.6209, allocations: 0.7368 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.6213, allocations: 196.6 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.6216, allocations: 263 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.6217, allocations: 20.75 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.6224, allocations: 227.6 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.6225, allocations: 149.1 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.6226, allocations: 105.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.6233, allocations: 0.7074 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6234, allocations: 0 / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.941e-06/0.6234, allocations: 1.406 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.6234, allocations: 0 / 1.472 GB, free: 273.1 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.001336/0.6247, allocations: 0.744 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6248, allocations: 15.62 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.6281, allocations: 0.7089 MB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.6291, allocations: 488 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.6291, allocations: 21.59 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.6292, allocations: 31.95 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.631, allocations: 0.8478 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.6311, allocations: 0 / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.6311, allocations: 16.7 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.6314, allocations: 69.28 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.6337, allocations: 0.9431 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.6381, allocations: 2.919 MB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.6399, allocations: 0.5661 MB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/0.6408, allocations: 315.2 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.6409, allocations: 91.8 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6409, allocations: 34.75 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 3.309e-06/0.6409, allocations: 0 / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.01395/0.6549, allocations: 3.648 MB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.655, allocations: 81.11 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.6556, allocations: 413.5 kB / 1.483 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/0.6556, allocations: 29.7 kB / 1.483 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.6558, allocations: 240.9 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.6559, allocations: 106.5 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.656, allocations: 4 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.6561, allocations: 355.8 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.6573, allocations: 395 kB / 1.484 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.6586, allocations: 492.4 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6597, allocations: 432.7 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-06/0.6597, allocations: 2.438 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006112/0.6658, allocations: 1.726 MB / 1.487 GB, free: 257 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.6659, allocations: 143.6 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.666, allocations: 5.156 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004954/0.6709, allocations: 0.9733 MB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.6717, allocations: 135 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00931/0.6811, allocations: 6.398 MB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6821, allocations: 117.6 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.6822, allocations: 21.72 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6822, allocations: 7.953 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00569/0.6879, allocations: 1.67 MB / 1.496 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.688, allocations: 4 kB / 1.496 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/0.6915, allocations: 0.7249 MB / 1.497 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.6923, allocations: 135.8 kB / 1.497 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/0.6987, allocations: 5.428 MB / 1.502 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.6997, allocations: 106.2 kB / 1.503 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.6998, allocations: 23.94 kB / 1.503 GB, free: 240.4 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.0004051/0.7002, allocations: 326.5 kB / 1.503 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.7003, allocations: 40.81 kB / 1.503 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.706, allocations: 1.619 MB / 1.505 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7061, allocations: 4 kB / 1.505 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.7061, allocations: 4.062 kB / 1.505 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.7061, allocations: 5.156 kB / 1.505 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/0.7129, allocations: 2.326 MB / 1.507 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.713, allocations: 4 kB / 1.507 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.7135, allocations: 91.83 kB / 1.507 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/0.7179, allocations: 0.9076 MB / 1.508 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.718, allocations: 15.98 kB / 1.508 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008169/0.7262, allocations: 6.227 MB / 1.514 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.303e-06/0.7263, allocations: 7.891 kB / 1.514 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.7317, allocations: 1.638 MB / 1.515 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.732, allocations: 176.7 kB / 1.516 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.7321, allocations: 4 kB / 1.516 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.7329, allocations: 95.86 kB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.733, allocations: 31.95 kB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.7331, allocations: 16.11 kB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004124/0.7335, allocations: 307.1 kB / 1.516 GB, free: 226 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.683e-06/0.7336, allocations: 3.938 kB / 1.516 GB, free: 226 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001137/0.7347, allocations: 251.9 kB / 1.516 GB, free: 225.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001962/0.7349, allocations: 119.9 kB / 1.516 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00503/0.74, allocations: 2.251 MB / 1.519 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.078e-06/0.74, allocations: 4.125 kB / 1.519 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.7419, allocations: 0.8238 MB / 1.519 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.7429, allocations: 122.5 kB / 1.52 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.7451, allocations: 1.315 MB / 1.521 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.7456, allocations: 0.9336 MB / 1.522 GB, free: 220 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.7464, allocations: 165.8 kB / 1.522 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.7466, allocations: 35.42 kB / 1.522 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.521e-06/0.7466, allocations: 0 / 1.522 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.02577/0.7724, allocations: 13.92 MB / 1.536 GB, free: 206.1 MB / 0.8542 GB