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.718/1.718, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0008975/0.0008974, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.578/1.578, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.000773/0.000773, allocations: 90.83 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 12.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.099, allocations: 181.4 MB / 1.158 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.1, allocations: 99.31 kB / 1.158 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07474/1.174, allocations: 31.43 MB / 1.189 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.517e-06/1.174, allocations: 0 / 1.189 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.303e-05/1.174, allocations: 20 kB / 1.189 GB, free: 6.523 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.001653/1.176, allocations: 0.8654 MB / 1.189 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.176, allocations: 8.031 kB / 1.19 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/1.178, allocations: 195.9 kB / 1.19 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/1.178, allocations: 0.5059 MB / 1.19 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/1.179, allocations: 43.11 kB / 1.19 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/1.179, allocations: 50.88 kB / 1.19 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.18, allocations: 0.873 MB / 1.191 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.18, allocations: 4 kB / 1.191 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/1.18, allocations: 32.23 kB / 1.191 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/1.18, allocations: 48.59 kB / 1.191 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/1.181, allocations: 0.5652 MB / 1.192 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/1.186, allocations: 4.606 MB / 1.196 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/1.187, allocations: 291.8 kB / 1.197 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/1.187, allocations: 223.4 kB / 1.197 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.187, allocations: 7.984 kB / 1.197 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.187, allocations: 37.5 kB / 1.197 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 4.398e-06/1.187, allocations: 0 / 1.197 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005524/1.193, allocations: 2.639 MB / 1.199 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/1.193, allocations: 59.39 kB / 1.199 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/1.193, allocations: 452.1 kB / 1.2 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.193, allocations: 36.89 kB / 1.2 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/1.193, allocations: 332.6 kB / 1.2 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.194, allocations: 144.9 kB / 1.2 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/1.194, allocations: 9.812 kB / 1.2 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.194, allocations: 359.2 kB / 1.201 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/1.194, allocations: 235.9 kB / 1.201 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/1.195, allocations: 386.3 kB / 1.201 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/1.195, allocations: 0.6496 MB / 1.202 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.195, allocations: 0 / 1.202 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001543/1.197, allocations: 0.9026 MB / 1.203 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.197, allocations: 7.938 kB / 1.203 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.197, allocations: 4 kB / 1.203 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007956/1.198, allocations: 233.7 kB / 1.203 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/1.198, allocations: 103.2 kB / 1.203 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004934/1.203, allocations: 4.932 MB / 1.208 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/1.204, allocations: 33.67 kB / 1.208 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/1.204, allocations: 27.67 kB / 1.208 GB, free: 4.508 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.0004076/1.204, allocations: 218.7 kB / 1.208 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/1.204, allocations: 55.34 kB / 1.208 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/1.206, allocations: 0.7774 MB / 1.209 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.206, allocations: 4.141 kB / 1.209 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.206, allocations: 4 kB / 1.209 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.206, allocations: 7.969 kB / 1.209 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/1.208, allocations: 1.481 MB / 1.211 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.208, allocations: 4 kB / 1.211 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/1.209, allocations: 67.58 kB / 1.211 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/1.209, allocations: 211 kB / 1.211 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/1.209, allocations: 7.75 kB / 1.211 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/1.214, allocations: 4.868 MB / 1.216 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.214, allocations: 0 / 1.216 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/1.216, allocations: 1.138 MB / 1.217 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/1.216, allocations: 175 kB / 1.217 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/1.216, allocations: 11.31 kB / 1.217 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/1.217, allocations: 27.16 kB / 1.217 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.217, allocations: 35.52 kB / 1.217 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/1.217, allocations: 19.44 kB / 1.217 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003786/1.217, allocations: 310.5 kB / 1.217 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.217, allocations: 0 / 1.217 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007712/1.218, allocations: 176.7 kB / 1.217 GB, free: 11.92 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.000222/1.218, allocations: 121.7 kB / 1.217 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.22, allocations: 0.9939 MB / 1.218 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.22, allocations: 4.125 kB / 1.218 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009243/1.221, allocations: 0.673 MB / 1.219 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/1.222, allocations: 163.3 kB / 1.219 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/1.224, allocations: 1.498 MB / 1.221 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/1.225, allocations: 0.94 MB / 1.222 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003725/1.225, allocations: 116.8 kB / 1.222 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/1.225, allocations: 35.44 kB / 1.222 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/1.225, allocations: 0 / 1.222 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.01474/1.24, allocations: 8.28 MB / 1.23 GB, free: 15.53 MB / 0.7605 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)