Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001344/0.001343, allocations: 178.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.000934/0.0009338, allocations: 91.59 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006238/0.000624, allocations: 12.41 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2084, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9676/1.176, allocations: 181.2 MB / 1.156 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005396/1.177, allocations: 104.9 kB / 1.156 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1312/1.308, allocations: 31.44 MB / 1.187 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/1.308, allocations: 0 / 1.187 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.527e-05/1.308, allocations: 16 kB / 1.187 GB, free: 8.059 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.002015/1.31, allocations: 0.8568 MB / 1.188 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.31, allocations: 12.03 kB / 1.188 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.312, allocations: 199.6 kB / 1.188 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.314, allocations: 0.5007 MB / 1.189 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/1.314, allocations: 40.55 kB / 1.189 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/1.314, allocations: 58.25 kB / 1.189 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/1.316, allocations: 0.876 MB / 1.19 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/1.316, allocations: 8.5 kB / 1.19 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/1.316, allocations: 23.19 kB / 1.19 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-05/1.316, allocations: 39.67 kB / 1.19 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.317, allocations: 0.5811 MB / 1.19 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/1.324, allocations: 4.598 MB / 1.195 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/1.325, allocations: 301.5 kB / 1.195 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/1.326, allocations: 227.9 kB / 1.195 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/1.326, allocations: 0 / 1.195 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.326, allocations: 38.31 kB / 1.195 GB, free: 292 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/1.326, allocations: 0 / 1.195 GB, free: 292 kB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.009463/1.335, allocations: 2.639 MB / 1.198 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.335, allocations: 55.41 kB / 1.198 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/1.336, allocations: 457 kB / 1.198 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/1.336, allocations: 33.33 kB / 1.198 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/1.336, allocations: 331.6 kB / 1.199 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/1.337, allocations: 142.6 kB / 1.199 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/1.337, allocations: 13.81 kB / 1.199 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.337, allocations: 359.8 kB / 1.199 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/1.337, allocations: 235.9 kB / 1.199 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/1.338, allocations: 387.2 kB / 1.2 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.34, allocations: 0.6539 MB / 1.2 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.34, allocations: 0 / 1.2 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002761/1.342, allocations: 0.8961 MB / 1.201 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.342, allocations: 12.5 kB / 1.201 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.342, allocations: 8 kB / 1.201 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/1.344, allocations: 218.1 kB / 1.201 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/1.345, allocations: 114.9 kB / 1.202 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/1.352, allocations: 4.926 MB / 1.206 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/1.353, allocations: 33.84 kB / 1.206 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/1.353, allocations: 27.25 kB / 1.206 GB, free: 6.047 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.0004958/1.354, allocations: 218.8 kB / 1.207 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.354, allocations: 59.28 kB / 1.207 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.357, allocations: 0.7731 MB / 1.207 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.357, allocations: 4 kB / 1.207 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.357, allocations: 0 / 1.207 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.357, allocations: 7.984 kB / 1.207 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/1.361, allocations: 1.477 MB / 1.209 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.361, allocations: 4.141 kB / 1.209 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.362, allocations: 71.12 kB / 1.209 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/1.363, allocations: 210.8 kB / 1.209 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/1.363, allocations: 7.875 kB / 1.209 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007033/1.37, allocations: 4.869 MB / 1.214 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.37, allocations: 4.031 kB / 1.214 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/1.373, allocations: 1.141 MB / 1.215 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/1.374, allocations: 164.2 kB / 1.215 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.374, allocations: 10.75 kB / 1.215 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/1.374, allocations: 30.89 kB / 1.215 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.374, allocations: 35.41 kB / 1.215 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/1.375, allocations: 27.55 kB / 1.215 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005466/1.375, allocations: 306.7 kB / 1.216 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.375, allocations: 0 / 1.216 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001099/1.376, allocations: 170.6 kB / 1.216 GB, free: 13.46 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.0002585/1.377, allocations: 126 kB / 1.216 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002585/1.379, allocations: 0.9871 MB / 1.217 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/1.379, allocations: 0 / 1.217 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.381, allocations: 0.6779 MB / 1.218 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.383, allocations: 169.6 kB / 1.218 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/1.386, allocations: 1.494 MB / 1.219 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/1.387, allocations: 0.9442 MB / 1.22 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006921/1.387, allocations: 108.9 kB / 1.22 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.388, allocations: 38.88 kB / 1.22 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/1.388, allocations: 0 / 1.22 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.02916/1.417, allocations: 8.166 MB / 1.228 GB, free: 1.184 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)