Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001222/0.001222, allocations: 180.5 kB / 371.6 MB, free: 3.355 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.753/1.753, allocations: 205.1 MB / 0.6309 GB, free: 11.8 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 87.88 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.416e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7995/1.057, allocations: 182.2 MB / 1.158 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.058, allocations: 94.39 kB / 1.158 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06875/1.126, allocations: 31.22 MB / 1.188 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/1.126, allocations: 0 / 1.188 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.217e-05/1.126, allocations: 16 kB / 1.188 GB, free: 6.551 MB / 0.7605 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.001837/1.128, allocations: 0.805 MB / 1.189 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.128, allocations: 8.031 kB / 1.189 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.13, allocations: 200.6 kB / 1.189 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/1.131, allocations: 492.2 kB / 1.19 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/1.131, allocations: 39.17 kB / 1.19 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.131, allocations: 62.34 kB / 1.19 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.133, allocations: 0.8649 MB / 1.191 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.133, allocations: 0 / 1.191 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/1.133, allocations: 26.5 kB / 1.191 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/1.133, allocations: 44.8 kB / 1.191 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/1.134, allocations: 0.5535 MB / 1.191 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004574/1.138, allocations: 4.606 MB / 1.196 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/1.139, allocations: 291.6 kB / 1.196 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/1.139, allocations: 219.7 kB / 1.196 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/1.139, allocations: 0 / 1.196 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.139, allocations: 45.88 kB / 1.196 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/1.139, allocations: 0 / 1.196 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.004667/1.144, allocations: 2.196 MB / 1.199 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.144, allocations: 59.34 kB / 1.199 GB, free: 13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/1.144, allocations: 385.9 kB / 1.199 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/1.145, allocations: 36.02 kB / 1.199 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/1.145, allocations: 336.2 kB / 1.199 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.145, allocations: 144.2 kB / 1.199 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/1.145, allocations: 14.44 kB / 1.199 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.145, allocations: 360 kB / 1.2 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/1.146, allocations: 227.7 kB / 1.2 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/1.146, allocations: 375 kB / 1.2 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/1.147, allocations: 287.4 kB / 1.201 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.147, allocations: 3.953 kB / 1.201 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0018/1.148, allocations: 0.8907 MB / 1.202 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.149, allocations: 7.953 kB / 1.202 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.149, allocations: 7.938 kB / 1.202 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/1.149, allocations: 235.8 kB / 1.202 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/1.15, allocations: 107.3 kB / 1.202 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/1.155, allocations: 4.915 MB / 1.207 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/1.155, allocations: 34.53 kB / 1.207 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.155, allocations: 27.31 kB / 1.207 GB, free: 5.379 MB / 0.7761 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 () * 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.000155/1.156, allocations: 132.6 kB / 1.207 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.156, allocations: 59.3 kB / 1.207 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/1.157, allocations: 0.7659 MB / 1.208 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.157, allocations: 4.141 kB / 1.208 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.157, allocations: 7.984 kB / 1.208 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.157, allocations: 3.984 kB / 1.208 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.16, allocations: 1.474 MB / 1.209 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.16, allocations: 0 / 1.209 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/1.16, allocations: 71.83 kB / 1.209 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/1.161, allocations: 205.6 kB / 1.209 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/1.161, allocations: 11.61 kB / 1.209 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/1.165, allocations: 4.855 MB / 1.214 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.165, allocations: 4.031 kB / 1.214 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.167, allocations: 1.208 MB / 1.215 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/1.168, allocations: 166.5 kB / 1.215 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/1.168, allocations: 7.312 kB / 1.215 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/1.168, allocations: 27.7 kB / 1.216 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/1.168, allocations: 30.78 kB / 1.216 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/1.168, allocations: 19.17 kB / 1.216 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003287/1.169, allocations: 309.3 kB / 1.216 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 1.216 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006808/1.169, allocations: 177.4 kB / 1.216 GB, free: 12.74 MB / 0.7917 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 () * 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.0001936/1.17, allocations: 126.1 kB / 1.216 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001496/1.171, allocations: 0.9857 MB / 1.217 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.171, allocations: 0 / 1.217 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/1.172, allocations: 0.6598 MB / 1.218 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/1.173, allocations: 163.2 kB / 1.218 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/1.174, allocations: 0.9703 MB / 1.219 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/1.175, allocations: 0.9628 MB / 1.22 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003801/1.175, allocations: 106.3 kB / 1.22 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/1.175, allocations: 43.42 kB / 1.22 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of SimCode: time 4.5e-07/1.175, allocations: 0 / 1.22 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of Templates: time 0.01524/1.191, allocations: 8.164 MB / 1.228 GB, free: 1.004 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)