Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.047/5.047, allocations: 0.5623 GB / 0.5769 GB, free: 3.297 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.00238/0.00238, allocations: 362.3 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.393/4.393, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001806/0.001806, allocations: 188.7 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004938, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6105, 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.ACSimpleGridMedium): time 0.005216/0.6158, allocations: 4.556 MB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005346/0.6212, allocations: 3.49 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.6216, allocations: 4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.6224, allocations: 209.4 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.6235, allocations: 362 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.6242, allocations: 191.1 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.6252, allocations: 0.7541 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.6266, allocations: 0.7309 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.6269, allocations: 195.9 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.6273, allocations: 270.3 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.6274, allocations: 23.94 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008132/0.6282, allocations: 319.6 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.6284, allocations: 139.6 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.6285, allocations: 111.8 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.6293, allocations: 0.752 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.843e-06/0.6293, allocations: 0 / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.961e-06/0.6293, allocations: 0 / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.641e-06/0.6293, allocations: 0 / 1.473 GB, free: 272.3 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.001346/0.6307, allocations: 0.7716 MB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6307, allocations: 11.62 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.6347, allocations: 0.7269 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.636, allocations: 0.5317 MB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.636, allocations: 22.72 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6362, allocations: 39.94 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.638, allocations: 0.839 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.638, allocations: 0.5312 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/0.6381, allocations: 19.98 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.6383, allocations: 66 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.6408, allocations: 0.945 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.6454, allocations: 2.945 MB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.6473, allocations: 0.5762 MB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/0.6482, allocations: 312.5 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.6483, allocations: 98.06 kB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6484, allocations: 35.88 kB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 3.682e-06/0.6484, allocations: 4 kB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.01612/0.6645, allocations: 4.063 MB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6646, allocations: 81.11 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.6652, allocations: 462.5 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.6653, allocations: 29.7 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6655, allocations: 248.7 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.6656, allocations: 118.3 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.6657, allocations: 5.312 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.6658, allocations: 354.8 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.667, allocations: 444.2 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.6682, allocations: 0.5221 MB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.6694, allocations: 481.9 kB / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.6695, allocations: 0 / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00682/0.6763, allocations: 1.924 MB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.6764, allocations: 148 kB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.975e-06/0.6764, allocations: 7.375 kB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/0.6821, allocations: 1.09 MB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.6829, allocations: 133.1 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6942, allocations: 6.398 MB / 1.496 GB, free: 247.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.6952, allocations: 119.1 kB / 1.496 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.6953, allocations: 23.94 kB / 1.496 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6954, allocations: 4.094 kB / 1.496 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005689/0.7011, allocations: 1.637 MB / 1.498 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.7011, allocations: 0.5 kB / 1.498 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/0.7051, allocations: 0.8091 MB / 1.499 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.7059, allocations: 138.4 kB / 1.499 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008904/0.7148, allocations: 5.546 MB / 1.504 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.7159, allocations: 113.6 kB / 1.505 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.716, allocations: 19.98 kB / 1.505 GB, free: 238.7 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 (29): * Single equations (assignments): 27 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004509/0.7165, allocations: 338.6 kB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.7167, allocations: 44.78 kB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/0.7239, allocations: 1.831 MB / 1.507 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7239, allocations: 4 kB / 1.507 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.576e-06/0.7239, allocations: 0 / 1.507 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.724, allocations: 4 kB / 1.507 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/0.7322, allocations: 2.577 MB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.723e-06/0.7323, allocations: 0 / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.7329, allocations: 79.91 kB / 1.509 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00573/0.7386, allocations: 1.037 MB / 1.51 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.7387, allocations: 7.938 kB / 1.51 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.7491, allocations: 6.056 MB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.524e-06/0.7492, allocations: 4.031 kB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/0.7559, allocations: 1.803 MB / 1.518 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.7564, allocations: 196.6 kB / 1.518 GB, free: 224.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7565, allocations: 8 kB / 1.518 GB, free: 224.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/0.7574, allocations: 95.86 kB / 1.518 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.7576, allocations: 43.83 kB / 1.518 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.7577, allocations: 12 kB / 1.518 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004749/0.7581, allocations: 335.1 kB / 1.519 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.4e-07/0.7582, allocations: 0 / 1.519 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001356/0.7595, allocations: 292 kB / 1.519 GB, free: 223.5 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 (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003168/0.7599, allocations: 151.2 kB / 1.519 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007127/0.767, allocations: 2.544 MB / 1.522 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.86e-06/0.7671, allocations: 0 / 1.522 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.7701, allocations: 0.9809 MB / 1.523 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.7711, allocations: 118.5 kB / 1.523 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.7737, allocations: 1.437 MB / 1.524 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.7743, allocations: 0.9608 MB / 1.525 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.7751, allocations: 166.3 kB / 1.525 GB, free: 217 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.7753, allocations: 43.41 kB / 1.525 GB, free: 217 MB / 0.8542 GB Notification: Performance of SimCode: time 1.883e-06/0.7753, allocations: 0 / 1.525 GB, free: 217 MB / 0.8542 GB Notification: Performance of Templates: time 0.03004/0.8054, allocations: 16.42 MB / 1.541 GB, free: 200.9 MB / 0.8542 GB