Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.018/5.018, 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.002416/0.002416, allocations: 362.4 kB / 0.644 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.344/4.344, allocations: 410.7 MB / 1.112 GB, free: 6.008 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.001812/0.001812, allocations: 182.6 kB / 1.225 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007926/0.0007928, allocations: 12 kB / 1.348 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6076, 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.ACLineMedium): time 0.01434/0.622, allocations: 13.22 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.6363, allocations: 9.658 MB / 1.483 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.638, allocations: 51.62 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.6389, allocations: 250.6 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.6442, allocations: 1.463 MB / 1.485 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.6461, allocations: 0.5126 MB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.65, allocations: 2.907 MB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003772/0.6538, allocations: 1.807 MB / 1.49 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.656, allocations: 1.264 MB / 1.491 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.6578, allocations: 1.043 MB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.6582, allocations: 68 kB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.6597, allocations: 432.7 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.6603, allocations: 0.4944 MB / 1.493 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.6609, allocations: 352.8 kB / 1.493 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.6642, allocations: 2.131 MB / 1.496 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.063e-06/0.6643, allocations: 1.219 kB / 1.496 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.592e-06/0.6643, allocations: 0 / 1.496 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.072e-05/0.6644, allocations: 0 / 1.496 GB, free: 248.8 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006314/0.6707, allocations: 1.858 MB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.6708, allocations: 11.62 kB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/0.6874, allocations: 2.209 MB / 1.5 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.6902, allocations: 1.174 MB / 1.501 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.6903, allocations: 90.25 kB / 1.501 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.6907, allocations: 112 kB / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.6973, allocations: 2.692 MB / 1.503 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.6974, allocations: 4 kB / 1.503 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.6976, allocations: 51.98 kB / 1.504 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006827/0.6983, allocations: 194.9 kB / 1.504 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008883/0.7072, allocations: 2.835 MB / 1.506 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.7232, allocations: 10.57 MB / 1.517 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/0.7304, allocations: 2.375 MB / 1.519 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.734, allocations: 1.297 MB / 1.52 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.7342, allocations: 16.92 kB / 1.52 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7342, allocations: 44.19 kB / 1.52 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 4.463e-06/0.7342, allocations: 1.375 kB / 1.52 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.09713/0.8313, allocations: 16.5 MB / 1.537 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.8315, allocations: 76.59 kB / 1.537 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.8345, allocations: 1.16 MB / 1.538 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.835, allocations: 57.7 kB / 1.538 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/0.8359, allocations: 0.7397 MB / 1.539 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008942/0.8368, allocations: 0.512 MB / 1.539 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.8371, allocations: 32 kB / 1.539 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8373, allocations: 369.8 kB / 1.539 GB, free: 203 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007876/0.8452, allocations: 1.518 MB / 1.541 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008211/0.8535, allocations: 1.799 MB / 1.543 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008315/0.8618, allocations: 1.642 MB / 1.544 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.8619, allocations: 4 kB / 1.544 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02211/0.884, allocations: 5.296 MB / 1.549 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8841, allocations: 12.62 kB / 1.549 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.8841, allocations: 8 kB / 1.549 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/0.8926, allocations: 1.891 MB / 1.551 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.8949, allocations: 423.3 kB / 1.552 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05436/0.9493, allocations: 22.14 MB / 1.573 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/0.9548, allocations: 319.6 kB / 1.574 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005686/0.9554, allocations: 71.94 kB / 1.574 GB, free: 166.7 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001959/0.9574, allocations: 469.4 kB / 1.574 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008311/0.9583, allocations: 174.8 kB / 1.574 GB, free: 166 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03324/0.9915, allocations: 5.343 MB / 1.58 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.9916, allocations: 12 kB / 1.58 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-05/0.9916, allocations: 20 kB / 1.58 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.9917, allocations: 11.97 kB / 1.58 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.011, allocations: 7.458 MB / 1.587 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.011, allocations: 4 kB / 1.587 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.013, allocations: 364.2 kB / 1.587 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007521/1.021, allocations: 1.696 MB / 1.589 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.021, allocations: 39.97 kB / 1.589 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03027/1.051, allocations: 21.34 MB / 1.61 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.746e-06/1.051, allocations: 8.062 kB / 1.61 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.065, allocations: 4.91 MB / 1.615 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.067, allocations: 494.7 kB / 1.615 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000428/1.067, allocations: 32 kB / 1.615 GB, free: 123 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/1.07, allocations: 331.5 kB / 1.615 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/1.07, allocations: 149 kB / 1.616 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/1.071, allocations: 63.97 kB / 1.616 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001257/1.072, allocations: 0.7743 MB / 1.616 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.46e-07/1.072, allocations: 7.938 kB / 1.616 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002553/1.074, allocations: 0.6523 MB / 1.617 GB, free: 121 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/1.075, allocations: 139.1 kB / 1.617 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.088, allocations: 5.181 MB / 1.622 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.079e-06/1.088, allocations: 0 / 1.622 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0082/1.096, allocations: 3.37 MB / 1.625 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.099, allocations: 0.5091 MB / 1.626 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/1.109, allocations: 4.879 MB / 1.631 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.11, allocations: 1.603 MB / 1.632 GB, free: 105 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002177/1.112, allocations: 376.4 kB / 1.633 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/1.113, allocations: 111.4 kB / 1.633 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.811e-06/1.113, allocations: 4 kB / 1.633 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.07928/1.192, allocations: 41.43 MB / 1.673 GB, free: 63.8 MB / 0.8542 GB