Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.901/4.901, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002363/0.002363, allocations: 358.2 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.139/4.139, allocations: 410.7 MB / 1.112 GB, free: 5.98 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.001829/0.001828, allocations: 187.5 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.000489, allocations: 16 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5966, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0445/0.6412, allocations: 34.48 MB / 1.494 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.06/0.7013, allocations: 10.55 MB / 1.505 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008927/0.7102, allocations: 135.2 kB / 1.505 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.7141, allocations: 0.7139 MB / 1.506 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.7246, allocations: 2.002 MB / 1.507 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007819/0.7325, allocations: 1.3 MB / 1.509 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.746, allocations: 10.41 MB / 1.519 GB, free: 224.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02335/0.7694, allocations: 12.63 MB / 1.531 GB, free: 212.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005063/0.7746, allocations: 2.824 MB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.7803, allocations: 3.767 MB / 1.538 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.7817, allocations: 344 kB / 1.538 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.7848, allocations: 0.7062 MB / 1.539 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003207/0.7881, allocations: 2.514 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.7902, allocations: 1.194 MB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.8003, allocations: 10.19 MB / 1.552 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.147e-06/0.8003, allocations: 0 / 1.552 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.247e-06/0.8003, allocations: 4 kB / 1.552 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002278/0.8006, allocations: 0 / 1.552 GB, free: 190.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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01151/0.8121, allocations: 5.144 MB / 1.557 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8121, allocations: 11.62 kB / 1.557 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006742/0.8189, allocations: 1.094 MB / 1.558 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.8263, allocations: 3.353 MB / 1.562 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/0.8267, allocations: 427.4 kB / 1.562 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.8283, allocations: 0.539 MB / 1.563 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.8483, allocations: 9.326 MB / 1.572 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.8485, allocations: 19.78 kB / 1.572 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.8498, allocations: 252 kB / 1.572 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006417/0.8504, allocations: 430.9 kB / 1.572 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.8663, allocations: 7.075 MB / 1.579 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04454/0.9109, allocations: 41.35 MB / 1.62 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/0.9164, allocations: 3.096 MB / 1.623 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.92, allocations: 2.121 MB / 1.625 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.9202, allocations: 22 kB / 1.625 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.9202, allocations: 64.55 kB / 1.625 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.47e-06/0.9202, allocations: 4 kB / 1.625 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.02899/0.9492, allocations: 10.45 MB / 1.635 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.9493, allocations: 77.39 kB / 1.635 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.9524, allocations: 1.986 MB / 1.637 GB, free: 99.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000343/0.9528, allocations: 61.7 kB / 1.637 GB, free: 99.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.9542, allocations: 2.4 MB / 1.639 GB, free: 97.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007497/0.9549, allocations: 0.7355 MB / 1.64 GB, free: 96.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.9552, allocations: 56 kB / 1.64 GB, free: 96.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9553, allocations: 415.3 kB / 1.641 GB, free: 95.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.9579, allocations: 1.36 MB / 1.642 GB, free: 94.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.9608, allocations: 2.096 MB / 1.644 GB, free: 92.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.9641, allocations: 1.724 MB / 1.646 GB, free: 90.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.9642, allocations: 4 kB / 1.646 GB, free: 90.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0103/0.9745, allocations: 5.034 MB / 1.651 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.9745, allocations: 20.98 kB / 1.651 GB, free: 85.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.9746, allocations: 20 kB / 1.651 GB, free: 85.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/0.9793, allocations: 1.551 MB / 1.652 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.9816, allocations: 455.2 kB / 1.653 GB, free: 83.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/1.007, allocations: 17.09 MB / 1.669 GB, free: 65.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/1.01, allocations: 139.9 kB / 1.669 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.01, allocations: 108 kB / 1.67 GB, free: 65.44 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003873/1.014, allocations: 1.944 MB / 1.671 GB, free: 63.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/1.015, allocations: 292.7 kB / 1.672 GB, free: 63.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/1.024, allocations: 4.428 MB / 1.676 GB, free: 58.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.024, allocations: 20 kB / 1.676 GB, free: 58.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/1.024, allocations: 16 kB / 1.676 GB, free: 58.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/1.024, allocations: 15.95 kB / 1.676 GB, free: 58.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.043, allocations: 9.645 MB / 1.686 GB, free: 48.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.043, allocations: 4 kB / 1.686 GB, free: 48.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.045, allocations: 240.1 kB / 1.686 GB, free: 48.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/1.049, allocations: 1.426 MB / 1.687 GB, free: 47.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/1.05, allocations: 40 kB / 1.687 GB, free: 47.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0259/1.075, allocations: 17.06 MB / 1.704 GB, free: 29.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/1.076, allocations: 15.94 kB / 1.704 GB, free: 29.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/1.084, allocations: 4.513 MB / 1.708 GB, free: 24.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.086, allocations: 0.6382 MB / 1.709 GB, free: 24.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005601/1.087, allocations: 40 kB / 1.709 GB, free: 24.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.088, allocations: 119.8 kB / 1.709 GB, free: 24.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/1.089, allocations: 181.6 kB / 1.709 GB, free: 23.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.089, allocations: 60 kB / 1.709 GB, free: 23.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002127/1.091, allocations: 1.295 MB / 1.711 GB, free: 22.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.41e-07/1.091, allocations: 3.938 kB / 1.711 GB, free: 22.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004115/1.095, allocations: 1.141 MB / 1.712 GB, free: 21.47 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003684/1.096, allocations: 174.1 kB / 1.712 GB, free: 21.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009061/1.105, allocations: 4.668 MB / 1.716 GB, free: 16.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.105, allocations: 4 kB / 1.716 GB, free: 16.58 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006177/1.111, allocations: 2.914 MB / 1.719 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/1.116, allocations: 0.8425 MB / 1.72 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.135, allocations: 11.22 MB / 1.731 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5327/1.668, allocations: 3.783 MB / 1.735 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003041/1.671, allocations: 0.5493 MB / 1.735 GB, free: 247 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/1.672, allocations: 153.5 kB / 1.735 GB, free: 247 MB / 0.8542 GB Notification: Performance of SimCode: time 2.291e-06/1.672, allocations: 0 / 1.735 GB, free: 247 MB / 0.8542 GB Notification: Performance of Templates: time 0.1148/1.786, allocations: 48.8 MB / 1.783 GB, free: 218.9 MB / 0.8542 GB