Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.486/2.486, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 177 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.471/2.471, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 95.03 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007507/0.0007508, allocations: 12.59 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2433, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03275/0.2761, allocations: 23.27 MB / 0.9216 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2926, allocations: 7.779 MB / 0.9292 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.2952, allocations: 95.38 kB / 0.9293 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.2976, allocations: 0.5085 MB / 0.9298 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.3026, allocations: 1.176 MB / 0.9309 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.3072, allocations: 1.01 MB / 0.9319 GB, free: 32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006243/0.3135, allocations: 2.999 MB / 0.9349 GB, free: 29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/0.3301, allocations: 8.152 MB / 0.9428 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.3341, allocations: 1.639 MB / 0.9444 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.338, allocations: 1.682 MB / 0.9461 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.3394, allocations: 212 kB / 0.9463 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.3421, allocations: 0.4956 MB / 0.9468 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.3449, allocations: 1.52 MB / 0.9482 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.3467, allocations: 0.8005 MB / 0.949 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.008386/0.3551, allocations: 6.518 MB / 0.9554 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3551, allocations: 0 / 0.9554 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3552, allocations: 0 / 0.9554 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002883/0.3554, allocations: 0 / 0.9554 GB, free: 7.879 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01078/0.3662, allocations: 3.436 MB / 0.9587 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3663, allocations: 8.031 kB / 0.9587 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006189/0.3725, allocations: 0.7758 MB / 0.9595 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/0.3794, allocations: 2.378 MB / 0.9618 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.3797, allocations: 267.3 kB / 0.9621 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/0.3813, allocations: 375.9 kB / 0.9624 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.3998, allocations: 5.93 MB / 0.9682 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.4001, allocations: 19.88 kB / 0.9682 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009787/0.401, allocations: 156 kB / 0.9684 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.4021, allocations: 282.9 kB / 0.9687 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.4166, allocations: 4.496 MB / 0.9731 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06086/0.4775, allocations: 27.69 MB / 1 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/0.4832, allocations: 1.123 MB / 1.001 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.4835, allocations: 9 kB / 1.001 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/0.4836, allocations: 55.53 kB / 1.001 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 4.608e-06/0.4836, allocations: 0 / 1.001 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.03843/0.522, allocations: 9.647 MB / 1.011 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.5221, allocations: 72.66 kB / 1.011 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.5252, allocations: 1.486 MB / 1.012 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.5255, allocations: 45.7 kB / 1.012 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.5272, allocations: 1.667 MB / 1.014 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007737/0.528, allocations: 477.3 kB / 1.014 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.5282, allocations: 32 kB / 1.014 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.5284, allocations: 373.9 kB / 1.015 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.5308, allocations: 0.9096 MB / 1.016 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.5337, allocations: 1.455 MB / 1.017 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.5369, allocations: 1.139 MB / 1.018 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.5369, allocations: 4 kB / 1.018 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01075/0.5477, allocations: 3.274 MB / 1.021 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.5478, allocations: 12 kB / 1.021 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.5478, allocations: 20 kB / 1.021 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.552, allocations: 0.7413 MB / 1.022 GB, free: 84 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.5552, allocations: 391.3 kB / 1.022 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.5798, allocations: 16.03 MB / 1.038 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.5823, allocations: 107.8 kB / 1.038 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.5826, allocations: 72 kB / 1.038 GB, free: 14.29 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003773/0.5864, allocations: 1.317 MB / 1.04 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/0.5871, allocations: 201.6 kB / 1.04 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/0.596, allocations: 2.777 MB / 1.042 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.5961, allocations: 12 kB / 1.042 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.5961, allocations: 11.95 kB / 1.042 GB, free: 9.926 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.5961, allocations: 7.969 kB / 1.043 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.6138, allocations: 6.205 MB / 1.049 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.6139, allocations: 4 kB / 1.049 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/0.6163, allocations: 235.6 kB / 1.049 GB, free: 3.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003714/0.6201, allocations: 0.6757 MB / 1.049 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.6203, allocations: 36 kB / 1.049 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6452/1.266, allocations: 15.75 MB / 1.065 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.266, allocations: 10.34 kB / 1.065 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.277, allocations: 4.332 MB / 1.069 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.279, allocations: 455.8 kB / 1.07 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/1.279, allocations: 33.06 kB / 1.07 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.281, allocations: 90.22 kB / 1.07 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/1.282, allocations: 110.5 kB / 1.07 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.282, allocations: 38.69 kB / 1.07 GB, free: 126.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002939/1.285, allocations: 0.9784 MB / 1.071 GB, free: 126.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.51e-07/1.285, allocations: 0.9062 kB / 1.071 GB, free: 126.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004151/1.289, allocations: 0.6845 MB / 1.071 GB, free: 126.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007987/1.29, allocations: 159 kB / 1.072 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.305, allocations: 3.494 MB / 1.075 GB, free: 124.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/1.305, allocations: 1.438 kB / 1.075 GB, free: 124.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008508/1.314, allocations: 2.289 MB / 1.077 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007725/1.322, allocations: 0.6009 MB / 1.078 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/1.35, allocations: 7.832 MB / 1.085 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008467/1.358, allocations: 2.732 MB / 1.088 GB, free: 118.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004341/1.363, allocations: 489.1 kB / 1.089 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.364, allocations: 121.1 kB / 1.089 GB, free: 118 MB / 0.698 GB Notification: Performance of SimCode: time 1.824e-06/1.364, allocations: 0 / 1.089 GB, free: 118 MB / 0.698 GB Notification: Performance of Templates: time 0.09538/1.459, allocations: 31.17 MB / 1.119 GB, free: 95.84 MB / 0.698 GB