Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, 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.001381/0.001381, allocations: 178.2 kB / 325.8 MB, free: 2.781 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.53/2.53, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.0009483/0.000948, allocations: 92.88 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004711, allocations: 15.69 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007909/0.2374, allocations: 4.812 MB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.2424, allocations: 2.496 MB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.243, allocations: 23.81 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2434, allocations: 95.2 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.2445, allocations: 338.2 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.2457, allocations: 290 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.2472, allocations: 1.053 MB / 0.9079 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.2489, allocations: 0.7632 MB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.2496, allocations: 310.7 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.2503, allocations: 378.5 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.2504, allocations: 24 kB / 0.9094 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.251, allocations: 179.8 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.2513, allocations: 227.3 kB / 0.9097 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2515, allocations: 149.3 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2525, allocations: 0.7171 MB / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2525, allocations: 0 / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2525, allocations: 0 / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.2526, allocations: 0 / 0.9106 GB, free: 53.5 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.002163/0.2547, allocations: 0.8531 MB / 0.9114 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2548, allocations: 12.03 kB / 0.9114 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.257, allocations: 191.9 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2581, allocations: 478.8 kB / 0.9121 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.2581, allocations: 37.36 kB / 0.9121 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.2584, allocations: 64.44 kB / 0.9122 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.26, allocations: 0.8199 MB / 0.913 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.26, allocations: 7.938 kB / 0.913 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.2601, allocations: 23.98 kB / 0.913 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.2604, allocations: 64.95 kB / 0.9131 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2618, allocations: 0.5775 MB / 0.9136 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/0.2679, allocations: 4.581 MB / 0.9181 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.2686, allocations: 295.2 kB / 0.9184 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.2691, allocations: 225.3 kB / 0.9186 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.2692, allocations: 4.281 kB / 0.9186 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2692, allocations: 34.84 kB / 0.9186 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/0.2692, allocations: 4 kB / 0.9186 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.008756/0.278, allocations: 2.632 MB / 0.9212 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2781, allocations: 55.41 kB / 0.9213 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.2787, allocations: 457.9 kB / 0.9217 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.2788, allocations: 29.7 kB / 0.9217 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.279, allocations: 343.6 kB / 0.922 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2792, allocations: 142 kB / 0.9222 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.2792, allocations: 12 kB / 0.9222 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2793, allocations: 362.8 kB / 0.9225 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.2799, allocations: 237 kB / 0.9228 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.2805, allocations: 402.4 kB / 0.9232 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.2812, allocations: 305.4 kB / 0.9234 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2812, allocations: 4 kB / 0.9234 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002565/0.2838, allocations: 0.9141 MB / 0.9243 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.2838, allocations: 4 kB / 0.9243 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.2838, allocations: 8 kB / 0.9244 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.2851, allocations: 230.4 kB / 0.9246 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.2861, allocations: 115.8 kB / 0.9247 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/0.2921, allocations: 4.933 MB / 0.9295 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.293, allocations: 27.97 kB / 0.9295 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.2931, allocations: 28.06 kB / 0.9296 GB, free: 32.84 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.0003895/0.2935, allocations: 225.5 kB / 0.9298 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2936, allocations: 55.34 kB / 0.9298 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.2958, allocations: 0.7696 MB / 0.9306 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2958, allocations: 4 kB / 0.9306 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2958, allocations: 4 kB / 0.9306 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.2959, allocations: 3.984 kB / 0.9306 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.2994, allocations: 1.501 MB / 0.932 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.2995, allocations: 0 / 0.932 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.3002, allocations: 67.89 kB / 0.9321 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.3013, allocations: 210.8 kB / 0.9323 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.3013, allocations: 12 kB / 0.9323 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.3071, allocations: 4.876 MB / 0.9371 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3071, allocations: 12.03 kB / 0.9371 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.3098, allocations: 1.119 MB / 0.9382 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.3102, allocations: 176.4 kB / 0.9384 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3103, allocations: 8 kB / 0.9384 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.3109, allocations: 28.03 kB / 0.9384 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.311, allocations: 39.89 kB / 0.9384 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3111, allocations: 8 kB / 0.9384 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004298/0.3115, allocations: 310.9 kB / 0.9387 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.3e-07/0.3115, allocations: 0 / 0.9387 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008717/0.3124, allocations: 168 kB / 0.9389 GB, free: 22.68 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.0001854/0.3126, allocations: 115.2 kB / 0.939 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.3149, allocations: 1.005 MB / 0.94 GB, free: 21.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.3149, allocations: 8.125 kB / 0.94 GB, free: 21.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3163, allocations: 0.6758 MB / 0.9407 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.3178, allocations: 166.8 kB / 0.9408 GB, free: 20.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3206, allocations: 1.499 MB / 0.9423 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.3211, allocations: 0.9455 MB / 0.9432 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006606/0.3218, allocations: 112.9 kB / 0.9433 GB, free: 18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.322, allocations: 35.44 kB / 0.9433 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/0.322, allocations: 4 kB / 0.9433 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.02221/0.3442, allocations: 8.132 MB / 0.9513 GB, free: 9.934 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)