Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.71/1.71, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009271/0.0009272, allocations: 188.2 kB / 326.5 MB, free: 2.691 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.483/1.483, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007551/0.0007553, allocations: 85.7 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 9.562 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004479/0.1984, allocations: 5.135 MB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003261/0.2017, allocations: 2.662 MB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.202, allocations: 19.88 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.2034, allocations: 0.6344 MB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.2041, allocations: 382.2 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.2048, allocations: 352.8 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.2056, allocations: 1.248 MB / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.2061, allocations: 466 kB / 0.9074 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.2065, allocations: 314.6 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.2069, allocations: 382.4 kB / 0.908 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2069, allocations: 24 kB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.2075, allocations: 435.1 kB / 0.9085 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.2077, allocations: 227.3 kB / 0.9087 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2079, allocations: 314.2 kB / 0.909 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.2084, allocations: 0.7324 MB / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2084, allocations: 4 kB / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2084, allocations: 0 / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2084, allocations: 0 / 0.9097 GB, free: 54.86 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.00109/0.2095, allocations: 0.8414 MB / 0.9105 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2096, allocations: 12.03 kB / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.2108, allocations: 195.8 kB / 0.9107 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.2113, allocations: 482.5 kB / 0.9112 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2113, allocations: 41.38 kB / 0.9112 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2115, allocations: 60.47 kB / 0.9113 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.2123, allocations: 0.8279 MB / 0.9121 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.2123, allocations: 15.83 kB / 0.9121 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.2124, allocations: 16 kB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.2126, allocations: 68.95 kB / 0.9122 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.2132, allocations: 0.5696 MB / 0.9127 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.2163, allocations: 4.589 MB / 0.9172 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.2166, allocations: 299.2 kB / 0.9175 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2169, allocations: 229.3 kB / 0.9177 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.2169, allocations: 4.281 kB / 0.9177 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2169, allocations: 34.84 kB / 0.9178 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.2169, allocations: 4 kB / 0.9178 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004538/0.2215, allocations: 2.629 MB / 0.9203 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.2215, allocations: 55.41 kB / 0.9204 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.2219, allocations: 457.9 kB / 0.9208 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.2219, allocations: 37.7 kB / 0.9209 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2221, allocations: 339.6 kB / 0.9212 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.2221, allocations: 149.9 kB / 0.9213 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.2222, allocations: 49.69 kB / 0.9214 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.2223, allocations: 362.8 kB / 0.9217 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2225, allocations: 229 kB / 0.9219 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2229, allocations: 417.2 kB / 0.9223 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.2235, allocations: 0.6779 MB / 0.923 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2236, allocations: 4 kB / 0.923 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001337/0.2249, allocations: 0.9208 MB / 0.9239 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2249, allocations: 4 kB / 0.9239 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2249, allocations: 8 kB / 0.9239 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007066/0.2257, allocations: 223 kB / 0.9241 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.2261, allocations: 115.8 kB / 0.9242 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.2296, allocations: 4.941 MB / 0.9291 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.23, allocations: 31.97 kB / 0.9291 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2301, allocations: 27.94 kB / 0.9291 GB, free: 33.67 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.2303, allocations: 229.5 kB / 0.9293 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.2304, allocations: 55.41 kB / 0.9294 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2316, allocations: 0.7779 MB / 0.9301 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2317, allocations: 4 kB / 0.9302 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2317, allocations: 8 kB / 0.9302 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2317, allocations: 0 / 0.9302 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.2336, allocations: 1.494 MB / 0.9316 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2336, allocations: 4 kB / 0.9316 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.234, allocations: 67.88 kB / 0.9317 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006122/0.2346, allocations: 210.6 kB / 0.9319 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2346, allocations: 12 kB / 0.9319 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.2378, allocations: 4.876 MB / 0.9367 GB, free: 25.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2379, allocations: 4.031 kB / 0.9367 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.2393, allocations: 1.139 MB / 0.9378 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2395, allocations: 168.4 kB / 0.9379 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.2395, allocations: 15.98 kB / 0.938 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2399, allocations: 23.97 kB / 0.938 GB, free: 24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.2399, allocations: 35.89 kB / 0.938 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.24, allocations: 15.94 kB / 0.938 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002412/0.2402, allocations: 314.9 kB / 0.9383 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.92e-07/0.2402, allocations: 0 / 0.9383 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000563/0.2408, allocations: 171.9 kB / 0.9385 GB, free: 23.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.2409, allocations: 107.2 kB / 0.9386 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.2421, allocations: 0.9965 MB / 0.9396 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2421, allocations: 4 kB / 0.9396 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.2428, allocations: 0.6798 MB / 0.9402 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008819/0.2437, allocations: 173.8 kB / 0.9404 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2453, allocations: 1.557 MB / 0.9419 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2456, allocations: 0.9494 MB / 0.9428 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2458, allocations: 39.44 kB / 0.9429 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2458, allocations: 0 / 0.9429 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.01202/0.2578, allocations: 14.68 MB / 0.9572 GB, free: 4.172 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)