Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.1 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 0.5783 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008716/0.0008711, allocations: 92.11 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 13.34 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2284, allocations: 106.3 MB / 0.9008 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004797/0.2333, allocations: 4.895 MB / 0.9056 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2361, allocations: 2.519 MB / 0.9081 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.2364, allocations: 19.81 kB / 0.9081 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.2366, allocations: 103.1 kB / 0.9082 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006043/0.2372, allocations: 330.2 kB / 0.9085 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.2378, allocations: 301.8 kB / 0.9088 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.2385, allocations: 1.045 MB / 0.9098 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009092/0.2394, allocations: 0.746 MB / 0.9105 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.2397, allocations: 318.6 kB / 0.9108 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.24, allocations: 378.6 kB / 0.9112 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.2401, allocations: 24 kB / 0.9112 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.2404, allocations: 183.8 kB / 0.9114 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2406, allocations: 219.4 kB / 0.9116 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.2407, allocations: 149.3 kB / 0.9118 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.2412, allocations: 0.7132 MB / 0.9125 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.2412, allocations: 4 kB / 0.9125 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2412, allocations: 0 / 0.9125 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.2412, allocations: 0 / 0.9125 GB, free: 52.32 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.001205/0.2424, allocations: 0.8607 MB / 0.9133 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2425, allocations: 12.03 kB / 0.9133 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.2437, allocations: 190.9 kB / 0.9135 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.2443, allocations: 481.4 kB / 0.914 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2443, allocations: 37 kB / 0.914 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2444, allocations: 67.91 kB / 0.9141 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/0.2454, allocations: 0.8161 MB / 0.9148 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2454, allocations: 11.84 kB / 0.9149 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.2455, allocations: 24 kB / 0.9149 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.2456, allocations: 64.95 kB / 0.9149 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.2463, allocations: 0.5658 MB / 0.9155 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.2495, allocations: 4.585 MB / 0.92 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.2499, allocations: 287.3 kB / 0.9202 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.2501, allocations: 225.3 kB / 0.9205 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2502, allocations: 8.281 kB / 0.9205 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.2502, allocations: 46.77 kB / 0.9205 GB, free: 43.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/0.2502, allocations: 0 / 0.9205 GB, free: 43.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.00464/0.2548, allocations: 2.628 MB / 0.9231 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2549, allocations: 59.39 kB / 0.9231 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.2552, allocations: 458 kB / 0.9236 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2553, allocations: 37.7 kB / 0.9236 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2554, allocations: 343.6 kB / 0.9239 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.2555, allocations: 142 kB / 0.9241 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.2555, allocations: 12 kB / 0.9241 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.2556, allocations: 362.8 kB / 0.9244 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.2559, allocations: 229 kB / 0.9247 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.2562, allocations: 416.4 kB / 0.925 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.2566, allocations: 293.5 kB / 0.9253 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2566, allocations: 4 kB / 0.9253 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.2579, allocations: 0.9137 MB / 0.9262 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.258, allocations: 8 kB / 0.9262 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.258, allocations: 8 kB / 0.9262 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/0.2587, allocations: 226.8 kB / 0.9265 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.2591, allocations: 115.8 kB / 0.9266 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.2626, allocations: 4.935 MB / 0.9314 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.263, allocations: 27.97 kB / 0.9314 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.2631, allocations: 24 kB / 0.9314 GB, free: 31.66 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.0002206/0.2633, allocations: 225.6 kB / 0.9316 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.2634, allocations: 55.34 kB / 0.9317 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2646, allocations: 0.7773 MB / 0.9325 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2646, allocations: 4 kB / 0.9325 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2646, allocations: 0 / 0.9325 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2646, allocations: 8.141 kB / 0.9325 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.2665, allocations: 1.5 MB / 0.9339 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2665, allocations: 4 kB / 0.9339 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.2669, allocations: 63.89 kB / 0.934 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/0.2675, allocations: 210.6 kB / 0.9342 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.2675, allocations: 11.98 kB / 0.9342 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.2708, allocations: 4.876 MB / 0.939 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2709, allocations: 0 / 0.939 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2723, allocations: 1.135 MB / 0.9401 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.2725, allocations: 176.3 kB / 0.9403 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.2725, allocations: 8 kB / 0.9403 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2728, allocations: 23.97 kB / 0.9403 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.2729, allocations: 43.84 kB / 0.9403 GB, free: 21.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.2729, allocations: 12 kB / 0.9403 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002677/0.2732, allocations: 310.9 kB / 0.9406 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2732, allocations: 4.062 kB / 0.9406 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005378/0.2738, allocations: 172 kB / 0.9408 GB, free: 21.48 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.0001327/0.2739, allocations: 107.7 kB / 0.9409 GB, free: 21.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.2752, allocations: 1.013 MB / 0.9419 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2752, allocations: 0 / 0.9419 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.2759, allocations: 0.684 MB / 0.9426 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.2767, allocations: 166.9 kB / 0.9427 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2783, allocations: 1.556 MB / 0.9442 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.2787, allocations: 0.9494 MB / 0.9452 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2788, allocations: 43.42 kB / 0.9452 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2788, allocations: 0 / 0.9452 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.01275/0.2916, allocations: 14.83 MB / 0.9597 GB, free: 2.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)