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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.57/4.57, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002496, allocations: 360.1 kB / 0.644 GB, free: 21.58 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.414/4.414, allocations: 410.8 MB / 1.112 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 187.6 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004993, allocations: 15.75 kB / 1.348 GB, free: 320.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1588, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03348/0.1924, allocations: 31.92 MB / 1.492 GB, free: 188.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.2084, allocations: 9.516 MB / 1.501 GB, free: 179.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.2119, allocations: 128.3 kB / 1.501 GB, free: 179.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.2143, allocations: 0.628 MB / 1.502 GB, free: 178.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006111/0.2204, allocations: 1.833 MB / 1.504 GB, free: 176.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.2248, allocations: 1.176 MB / 1.505 GB, free: 175.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00946/0.2343, allocations: 8.9 MB / 1.514 GB, free: 166.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.2537, allocations: 10.39 MB / 1.524 GB, free: 156.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.2582, allocations: 2.396 MB / 1.526 GB, free: 153.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.2631, allocations: 3.126 MB / 1.529 GB, free: 150.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.2643, allocations: 280 kB / 1.529 GB, free: 150.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.2672, allocations: 0.6398 MB / 1.53 GB, free: 149.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.27, allocations: 2.089 MB / 1.532 GB, free: 147.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.272, allocations: 1.03 MB / 1.533 GB, free: 146.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.008931/0.2809, allocations: 8.568 MB / 1.541 GB, free: 138 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.281, allocations: 4 kB / 1.541 GB, free: 138 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.561e-06/0.281, allocations: 0 / 1.541 GB, free: 138 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002153/0.2812, allocations: 0 / 1.541 GB, free: 138 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009717/0.291, allocations: 4.41 MB / 1.546 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.291, allocations: 8.75 kB / 1.546 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.2972, allocations: 0.9928 MB / 1.547 GB, free: 132.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.3036, allocations: 2.921 MB / 1.55 GB, free: 129.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.304, allocations: 357.6 kB / 1.55 GB, free: 129.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/0.3053, allocations: 471.9 kB / 1.55 GB, free: 128.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.3221, allocations: 7.867 MB / 1.558 GB, free: 120.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.3223, allocations: 27.72 kB / 1.558 GB, free: 120.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009379/0.3232, allocations: 208 kB / 1.558 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005528/0.3238, allocations: 365.1 kB / 1.559 GB, free: 119.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.3371, allocations: 5.898 MB / 1.564 GB, free: 114 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03781/0.375, allocations: 36.25 MB / 1.6 GB, free: 74.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.3789, allocations: 2.133 MB / 1.602 GB, free: 72.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.3813, allocations: 1.477 MB / 1.603 GB, free: 70.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3814, allocations: 17.31 kB / 1.603 GB, free: 70.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3815, allocations: 59.77 kB / 1.603 GB, free: 70.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 5.048e-06/0.3815, allocations: 0 / 1.603 GB, free: 70.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=160): time 0.01561/0.3971, allocations: 7.544 MB / 1.611 GB, free: 63.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3972, allocations: 68.72 kB / 1.611 GB, free: 62.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.4, allocations: 1.848 MB / 1.613 GB, free: 61.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.4003, allocations: 57.7 kB / 1.613 GB, free: 61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.4015, allocations: 2.123 MB / 1.615 GB, free: 58.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/0.4021, allocations: 0.5546 MB / 1.615 GB, free: 58.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.4023, allocations: 44 kB / 1.615 GB, free: 58.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4025, allocations: 398.3 kB / 1.616 GB, free: 57.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.4044, allocations: 1.051 MB / 1.617 GB, free: 56.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.4067, allocations: 1.748 MB / 1.618 GB, free: 54.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.4091, allocations: 1.353 MB / 1.62 GB, free: 53.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.4091, allocations: 4 kB / 1.62 GB, free: 53.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007933/0.4171, allocations: 3.905 MB / 1.624 GB, free: 49.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4172, allocations: 14.66 kB / 1.624 GB, free: 49.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.4172, allocations: 24 kB / 1.624 GB, free: 49.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.4204, allocations: 0.9353 MB / 1.624 GB, free: 48.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.4225, allocations: 423.2 kB / 1.625 GB, free: 48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/0.4424, allocations: 21.06 MB / 1.645 GB, free: 25.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4446, allocations: 119.9 kB / 1.646 GB, free: 25.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.445, allocations: 100.1 kB / 1.646 GB, free: 25.13 MB / 0.8073 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003235/0.4482, allocations: 1.651 MB / 1.647 GB, free: 23.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.4488, allocations: 257 kB / 1.648 GB, free: 23.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/0.4554, allocations: 3.248 MB / 1.651 GB, free: 19.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.4555, allocations: 16 kB / 1.651 GB, free: 19.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.4555, allocations: 15.94 kB / 1.651 GB, free: 19.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.4555, allocations: 7.969 kB / 1.651 GB, free: 19.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.4707, allocations: 7.529 MB / 1.658 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.4707, allocations: 7.984 kB / 1.658 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.472, allocations: 223.6 kB / 1.658 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002992/0.475, allocations: 0.8886 MB / 1.659 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.4753, allocations: 32 kB / 1.659 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5467/1.022, allocations: 21.01 MB / 1.68 GB, free: 184.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.765e-06/1.022, allocations: 8.859 kB / 1.68 GB, free: 184.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/1.03, allocations: 3.365 MB / 1.683 GB, free: 183.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.031, allocations: 0.5284 MB / 1.684 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006492/1.032, allocations: 42.97 kB / 1.684 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.034, allocations: 93.98 kB / 1.684 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/1.034, allocations: 137.4 kB / 1.684 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.035, allocations: 45.62 kB / 1.684 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002997/1.038, allocations: 1.206 MB / 1.685 GB, free: 183.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.262e-06/1.038, allocations: 0 / 1.685 GB, free: 183.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004227/1.042, allocations: 0.9084 MB / 1.686 GB, free: 183.2 MB / 0.8073 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004133/1.042, allocations: 157.4 kB / 1.686 GB, free: 183.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008134/1.051, allocations: 4.405 MB / 1.69 GB, free: 180.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.051, allocations: 4.703 kB / 1.69 GB, free: 180.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.056, allocations: 3 MB / 1.693 GB, free: 178.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/1.061, allocations: 0.7678 MB / 1.694 GB, free: 178.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.078, allocations: 9.242 MB / 1.703 GB, free: 173.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006037/1.084, allocations: 3.289 MB / 1.706 GB, free: 172.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003079/1.087, allocations: 0.5327 MB / 1.707 GB, free: 172.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/1.088, allocations: 141 kB / 1.707 GB, free: 172.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.955e-06/1.088, allocations: 0 / 1.707 GB, free: 172.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.09379/1.182, allocations: 39.77 MB / 1.746 GB, free: 148.9 MB / 0.8073 GB