Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.3 MB / 303.2 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 174.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008449/0.0008447, allocations: 105.1 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005444, allocations: 11.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8708/1.133, allocations: 181.3 MB / 1.157 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.133, allocations: 97.38 kB / 1.157 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07935/1.212, allocations: 31.42 MB / 1.187 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/1.212, allocations: 0 / 1.187 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.378e-05/1.212, allocations: 20 kB / 1.187 GB, free: 6.898 MB / 0.7136 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.002532/1.215, allocations: 0.864 MB / 1.188 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/1.215, allocations: 12.03 kB / 1.188 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/1.217, allocations: 197.9 kB / 1.188 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/1.218, allocations: 0.4923 MB / 1.189 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/1.218, allocations: 44.36 kB / 1.189 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/1.219, allocations: 48.69 kB / 1.189 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.22, allocations: 0.8674 MB / 1.19 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/1.22, allocations: 3.938 kB / 1.19 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/1.221, allocations: 26.61 kB / 1.19 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/1.221, allocations: 51.97 kB / 1.19 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.222, allocations: 0.564 MB / 1.19 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/1.228, allocations: 4.602 MB / 1.195 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.228, allocations: 294 kB / 1.195 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/1.228, allocations: 7.984 kB / 1.195 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.228, allocations: 38.19 kB / 1.195 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/1.228, allocations: 4 kB / 1.195 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.006328/1.235, allocations: 2.63 MB / 1.198 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.235, allocations: 55.41 kB / 1.198 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/1.235, allocations: 394.1 kB / 1.198 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/1.235, allocations: 36.77 kB / 1.198 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/1.236, allocations: 329.2 kB / 1.199 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.236, allocations: 139.9 kB / 1.199 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.236, allocations: 18.19 kB / 1.199 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.236, allocations: 364.4 kB / 1.199 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/1.236, allocations: 232.9 kB / 1.199 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/1.237, allocations: 382 kB / 1.2 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/1.237, allocations: 290 kB / 1.2 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.237, allocations: 4 kB / 1.2 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001884/1.239, allocations: 0.8997 MB / 1.201 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.239, allocations: 8 kB / 1.201 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.239, allocations: 7.953 kB / 1.201 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008785/1.24, allocations: 228.1 kB / 1.201 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/1.241, allocations: 103.9 kB / 1.201 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005371/1.246, allocations: 5.015 MB / 1.206 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/1.247, allocations: 30.72 kB / 1.206 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/1.247, allocations: 23.8 kB / 1.206 GB, free: 5.375 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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.0004532/1.247, allocations: 223.7 kB / 1.206 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.247, allocations: 63.23 kB / 1.206 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.249, allocations: 0.774 MB / 1.207 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.249, allocations: 7.953 kB / 1.207 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.249, allocations: 4 kB / 1.207 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.249, allocations: 384 / 1.207 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/1.253, allocations: 1.478 MB / 1.209 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.253, allocations: 4.219 kB / 1.209 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/1.253, allocations: 71.88 kB / 1.209 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007927/1.254, allocations: 208 kB / 1.209 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/1.254, allocations: 9.5 kB / 1.209 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/1.26, allocations: 4.945 MB / 1.214 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.26, allocations: 4 kB / 1.214 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/1.262, allocations: 1.213 MB / 1.215 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/1.263, allocations: 170.8 kB / 1.215 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.263, allocations: 11.67 kB / 1.215 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.263, allocations: 26.84 kB / 1.215 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/1.263, allocations: 34.95 kB / 1.215 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.263, allocations: 11.25 kB / 1.215 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004689/1.264, allocations: 312 kB / 1.215 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.264, allocations: 4.062 kB / 1.215 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008705/1.265, allocations: 172.5 kB / 1.216 GB, free: 12.63 MB / 0.7448 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.0002408/1.265, allocations: 122.2 kB / 1.216 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.267, allocations: 0.9952 MB / 1.217 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.267, allocations: 0 / 1.217 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.268, allocations: 0.6824 MB / 1.217 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/1.269, allocations: 156 kB / 1.217 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/1.271, allocations: 1.483 MB / 1.219 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/1.272, allocations: 0.9598 MB / 1.22 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004604/1.273, allocations: 108.8 kB / 1.22 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.273, allocations: 43.36 kB / 1.22 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/1.273, allocations: 4 kB / 1.22 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.01994/1.293, allocations: 8.171 MB / 1.228 GB, free: 344 kB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)