Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.868/4.868, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002529/0.002529, allocations: 363.2 kB / 0.6441 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.363/4.363, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001784/0.001784, allocations: 178.1 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008681/0.0008687, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6622, 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.ACLine_R): time 0.006521/0.6688, allocations: 6.028 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.6735, allocations: 2.896 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.6742, allocations: 20.62 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.6745, allocations: 115 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.6757, allocations: 447.3 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.6768, allocations: 333.4 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.6781, allocations: 1.331 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.68, allocations: 0.9237 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.6806, allocations: 379.6 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.6812, allocations: 492.2 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.6813, allocations: 38.84 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.6818, allocations: 187.6 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.6821, allocations: 267.2 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.6822, allocations: 177.3 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.6831, allocations: 0.9098 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.988e-06/0.6831, allocations: 0 / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6831, allocations: 0 / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.6831, allocations: 0 / 1.475 GB, free: 269.9 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001646/0.6848, allocations: 1.023 MB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6848, allocations: 12.59 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6869, allocations: 252.6 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.6879, allocations: 0.5288 MB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.688, allocations: 53.91 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.6881, allocations: 59.98 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.6897, allocations: 1.078 MB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.6898, allocations: 8.594 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.884e-05/0.6899, allocations: 35.98 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.69, allocations: 81.27 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.6914, allocations: 0.7464 MB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/0.6966, allocations: 5.909 MB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.6977, allocations: 0.5619 MB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.6983, allocations: 329.3 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.6983, allocations: 9.281 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.6984, allocations: 39.62 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 3.961e-06/0.6984, allocations: 0 / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.004302/0.7027, allocations: 1.99 MB / 1.487 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.7028, allocations: 55.84 kB / 1.487 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.7034, allocations: 0.5547 MB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.7035, allocations: 37.7 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.7037, allocations: 417.2 kB / 1.488 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7039, allocations: 173.6 kB / 1.488 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.7039, allocations: 8 kB / 1.488 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.704, allocations: 378.7 kB / 1.489 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.7045, allocations: 273.8 kB / 1.489 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.7051, allocations: 491.7 kB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.7057, allocations: 350.4 kB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.873e-06/0.7057, allocations: 1.156 kB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002159/0.7079, allocations: 1.078 MB / 1.491 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7079, allocations: 8 kB / 1.491 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7079, allocations: 4.562 kB / 1.491 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.709, allocations: 285 kB / 1.491 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.7096, allocations: 124.7 kB / 1.491 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.7157, allocations: 6.597 MB / 1.498 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.7164, allocations: 46.34 kB / 1.498 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.7165, allocations: 28 kB / 1.498 GB, free: 245 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.7169, allocations: 250.4 kB / 1.498 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7171, allocations: 71.16 kB / 1.498 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.7188, allocations: 0.8863 MB / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.463e-06/0.7189, allocations: 11.7 kB / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-06/0.7189, allocations: 0 / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-06/0.7189, allocations: 7.984 kB / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.7218, allocations: 1.725 MB / 1.501 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.6e-06/0.7219, allocations: 7.953 kB / 1.501 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.7222, allocations: 60.67 kB / 1.501 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/0.7232, allocations: 272.8 kB / 1.501 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.7233, allocations: 8 kB / 1.501 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005945/0.7292, allocations: 6.586 MB / 1.508 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.886e-06/0.7293, allocations: 4.031 kB / 1.508 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.731, allocations: 0.9813 MB / 1.508 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.7314, allocations: 195.1 kB / 1.509 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7315, allocations: 12 kB / 1.509 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.732, allocations: 31.92 kB / 1.509 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7321, allocations: 39.94 kB / 1.509 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.7322, allocations: 16 kB / 1.509 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004706/0.7326, allocations: 384.2 kB / 1.509 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.14e-07/0.7326, allocations: 0 / 1.509 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009611/0.7336, allocations: 221.4 kB / 1.509 GB, free: 232.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.7338, allocations: 120.6 kB / 1.509 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.7359, allocations: 1.26 MB / 1.511 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.737e-06/0.7359, allocations: 0 / 1.511 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.7373, allocations: 0.8968 MB / 1.512 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7386, allocations: 210 kB / 1.512 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.7409, allocations: 1.59 MB / 1.513 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.7415, allocations: 1.03 MB / 1.514 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006076/0.7421, allocations: 124.6 kB / 1.514 GB, free: 227.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.7423, allocations: 47.38 kB / 1.514 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.539e-06/0.7423, allocations: 0 / 1.514 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02209/0.7644, allocations: 10.29 MB / 1.525 GB, free: 217.2 MB / 0.8542 GB