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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.292/2.292, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.00138/0.00138, allocations: 179.9 kB / 325.8 MB, free: 2.797 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.626/2.626, allocations: 205.4 MB / 0.5767 GB, free: 21.11 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.0009324/0.0009319, allocations: 92.48 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004794, allocations: 16.84 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2633, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007315/0.2707, allocations: 4.894 MB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2762, allocations: 2.519 MB / 0.9063 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.2769, allocations: 23.81 kB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.2774, allocations: 99.14 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2787, allocations: 342.2 kB / 0.9067 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.28, allocations: 297.7 kB / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.2815, allocations: 1.06 MB / 0.908 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.2834, allocations: 0.7607 MB / 0.9088 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.2842, allocations: 310.7 kB / 0.9091 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.2848, allocations: 374.6 kB / 0.9094 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.285, allocations: 28 kB / 0.9095 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2862, allocations: 187.7 kB / 0.9096 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.2867, allocations: 219.4 kB / 0.9099 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.287, allocations: 149.3 kB / 0.91 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2881, allocations: 0.7169 MB / 0.9107 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2881, allocations: 0 / 0.9107 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2881, allocations: 0 / 0.9107 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.2881, allocations: 7.938 kB / 0.9107 GB, free: 53.89 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.001803/0.2899, allocations: 0.853 MB / 0.9115 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.29, allocations: 12.03 kB / 0.9115 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.292, allocations: 199.8 kB / 0.9117 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.293, allocations: 478.8 kB / 0.9122 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.2931, allocations: 33.38 kB / 0.9122 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.2933, allocations: 56.55 kB / 0.9123 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2949, allocations: 0.8277 MB / 0.9131 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.2949, allocations: 3.906 kB / 0.9131 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.295, allocations: 28 kB / 0.9131 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/0.2954, allocations: 64.94 kB / 0.9132 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2967, allocations: 0.5696 MB / 0.9137 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005733/0.3025, allocations: 4.593 MB / 0.9182 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.3033, allocations: 291.3 kB / 0.9185 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3037, allocations: 225.3 kB / 0.9187 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3038, allocations: 4.281 kB / 0.9187 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3038, allocations: 38.84 kB / 0.9188 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.3039, allocations: 4 kB / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.008713/0.3126, allocations: 2.634 MB / 0.9213 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3127, allocations: 59.41 kB / 0.9214 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.3133, allocations: 461.9 kB / 0.9218 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.3134, allocations: 33.7 kB / 0.9219 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3136, allocations: 351.6 kB / 0.9222 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3137, allocations: 138 kB / 0.9223 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3138, allocations: 12 kB / 0.9223 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.3139, allocations: 358.8 kB / 0.9227 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.3145, allocations: 237 kB / 0.9229 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.3151, allocations: 406.5 kB / 0.9233 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.3158, allocations: 297.5 kB / 0.9236 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3158, allocations: 3.938 kB / 0.9236 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002578/0.3184, allocations: 0.9138 MB / 0.9245 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3184, allocations: 8 kB / 0.9245 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3185, allocations: 4 kB / 0.9245 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3197, allocations: 226.8 kB / 0.9247 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.3206, allocations: 115.8 kB / 0.9248 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.3265, allocations: 4.93 MB / 0.9296 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.3273, allocations: 35.97 kB / 0.9297 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.3274, allocations: 24 kB / 0.9297 GB, free: 33.22 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.0003822/0.3278, allocations: 221.7 kB / 0.9299 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3279, allocations: 63.48 kB / 0.93 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.3301, allocations: 0.7811 MB / 0.9307 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3301, allocations: 4 kB / 0.9307 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3301, allocations: 4 kB / 0.9307 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3302, allocations: 7.984 kB / 0.9307 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.3336, allocations: 1.498 MB / 0.9322 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3336, allocations: 4 kB / 0.9322 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.3343, allocations: 67.88 kB / 0.9323 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.3354, allocations: 210.5 kB / 0.9325 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.3355, allocations: 8 kB / 0.9325 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/0.341, allocations: 4.864 MB / 0.9372 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.341, allocations: 7.969 kB / 0.9372 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.3437, allocations: 1.131 MB / 0.9383 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.3441, allocations: 172.4 kB / 0.9385 GB, free: 23.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.3442, allocations: 11.98 kB / 0.9385 GB, free: 23.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.3447, allocations: 23.97 kB / 0.9385 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3449, allocations: 43.83 kB / 0.9386 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.3449, allocations: 8 kB / 0.9386 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004384/0.3454, allocations: 310.9 kB / 0.9389 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3454, allocations: 4.062 kB / 0.9389 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008599/0.3463, allocations: 172 kB / 0.9391 GB, free: 23.04 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.000182/0.3465, allocations: 115.1 kB / 0.9392 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.3487, allocations: 1.005 MB / 0.9401 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3487, allocations: 0 / 0.9401 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.3501, allocations: 0.676 MB / 0.9408 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.3515, allocations: 173.4 kB / 0.941 GB, free: 21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.3543, allocations: 1.501 MB / 0.9424 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.3548, allocations: 0.9494 MB / 0.9434 GB, free: 18.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006356/0.3555, allocations: 113 kB / 0.9435 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3557, allocations: 39.42 kB / 0.9435 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/0.3557, allocations: 0 / 0.9435 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.02062/0.3763, allocations: 8.152 MB / 0.9515 GB, free: 10.27 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)