Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.435/2.435, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00156/0.00156, allocations: 176 kB / 325.6 MB, free: 2.809 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.495/2.495, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001076/0.001076, allocations: 99.97 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004612, allocations: 10.47 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007017/0.2268, allocations: 4.712 MB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005279/0.2321, allocations: 2.508 MB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.2328, allocations: 19.81 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.2332, allocations: 87.38 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2344, allocations: 327 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2356, allocations: 309.4 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2367, allocations: 0.5824 MB / 0.9072 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.2384, allocations: 0.7398 MB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.239, allocations: 286.9 kB / 0.9082 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.2396, allocations: 294.9 kB / 0.9085 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.2397, allocations: 28 kB / 0.9085 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.2402, allocations: 151.7 kB / 0.9087 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.2404, allocations: 199.5 kB / 0.9089 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2406, allocations: 149.3 kB / 0.909 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.2416, allocations: 0.6896 MB / 0.9097 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2416, allocations: 7.938 kB / 0.9097 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2416, allocations: 0 / 0.9097 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.2416, allocations: 3.938 kB / 0.9097 GB, free: 54.81 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001835/0.2435, allocations: 0.8412 MB / 0.9105 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2435, allocations: 12.03 kB / 0.9105 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.2453, allocations: 186.9 kB / 0.9107 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2464, allocations: 485.4 kB / 0.9112 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.2465, allocations: 36.95 kB / 0.9112 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.2467, allocations: 55.97 kB / 0.9112 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2482, allocations: 0.8161 MB / 0.912 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.2483, allocations: 7.938 kB / 0.912 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.2484, allocations: 20 kB / 0.9121 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/0.2487, allocations: 64.95 kB / 0.9121 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.25, allocations: 0.5697 MB / 0.9127 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/0.2555, allocations: 4.593 MB / 0.9172 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.2562, allocations: 295.3 kB / 0.9175 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.2563, allocations: 4.281 kB / 0.9175 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2563, allocations: 38.8 kB / 0.9175 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.2563, allocations: 0 / 0.9175 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.008258/0.2646, allocations: 2.627 MB / 0.9201 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2647, allocations: 55.41 kB / 0.9201 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.2653, allocations: 465.9 kB / 0.9206 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.2654, allocations: 37.7 kB / 0.9206 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.2657, allocations: 343.6 kB / 0.9209 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2658, allocations: 134 kB / 0.921 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.2659, allocations: 16 kB / 0.9211 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.266, allocations: 358.8 kB / 0.9214 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.2665, allocations: 237 kB / 0.9216 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.2671, allocations: 412.4 kB / 0.922 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.2678, allocations: 293.5 kB / 0.9223 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2678, allocations: 0 / 0.9223 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002535/0.2704, allocations: 0.9172 MB / 0.9232 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.2704, allocations: 10.03 kB / 0.9232 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.2704, allocations: 4 kB / 0.9232 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.2717, allocations: 231 kB / 0.9234 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.2726, allocations: 115.8 kB / 0.9235 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/0.2787, allocations: 5.013 MB / 0.9284 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.2795, allocations: 31.97 kB / 0.9285 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.2796, allocations: 28 kB / 0.9285 GB, free: 34.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003819/0.28, allocations: 221.7 kB / 0.9287 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.2801, allocations: 63.3 kB / 0.9288 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.2823, allocations: 0.7695 MB / 0.9295 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2823, allocations: 7.938 kB / 0.9295 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2824, allocations: 8.234 kB / 0.9295 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2824, allocations: 7.922 kB / 0.9295 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.2858, allocations: 1.49 MB / 0.931 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2858, allocations: 4 kB / 0.931 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.2865, allocations: 80.08 kB / 0.9311 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.2876, allocations: 202.3 kB / 0.9313 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.2876, allocations: 15.95 kB / 0.9313 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/0.2932, allocations: 4.935 MB / 0.9361 GB, free: 26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.2933, allocations: 7.938 kB / 0.9361 GB, free: 26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.296, allocations: 1.209 MB / 0.9373 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.2964, allocations: 172.5 kB / 0.9375 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2965, allocations: 19.92 kB / 0.9375 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.297, allocations: 23.97 kB / 0.9375 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.2972, allocations: 35.89 kB / 0.9375 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.2973, allocations: 16 kB / 0.9375 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000474/0.2978, allocations: 302.9 kB / 0.9378 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2978, allocations: 0 / 0.9378 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009096/0.2987, allocations: 176 kB / 0.938 GB, free: 23.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.2989, allocations: 111.7 kB / 0.9381 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.3011, allocations: 1.005 MB / 0.9391 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3011, allocations: 0 / 0.9391 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3025, allocations: 0.6837 MB / 0.9398 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3037, allocations: 159.1 kB / 0.9399 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.3065, allocations: 1.502 MB / 0.9414 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.307, allocations: 0.9611 MB / 0.9423 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006453/0.3077, allocations: 121 kB / 0.9424 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3078, allocations: 35.44 kB / 0.9425 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.3078, allocations: 0 / 0.9425 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.0213/0.3291, allocations: 8.147 MB / 0.9504 GB, free: 11.18 MB / 0.6042 GB