Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.518/2.518, allocations: 284.8 MB / 297.3 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 183.5 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 103.3 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.986e-05/5.022e-05, allocations: 7.984 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8332, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/1.184, allocations: 181.1 MB / 1.147 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004495/1.185, allocations: 96.95 kB / 1.147 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1704/1.355, allocations: 31.23 MB / 1.177 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/1.355, allocations: 0 / 1.177 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.295e-05/1.355, allocations: 16 kB / 1.177 GB, free: 3.785 MB / 0.7761 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.001856/1.357, allocations: 0.802 MB / 1.178 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.357, allocations: 10.19 kB / 1.178 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/1.359, allocations: 196.1 kB / 1.178 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.361, allocations: 488 kB / 1.179 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/1.361, allocations: 40.98 kB / 1.179 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/1.361, allocations: 63.83 kB / 1.179 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/1.363, allocations: 0.8649 MB / 1.18 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/1.363, allocations: 3.938 kB / 1.18 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/1.363, allocations: 27.98 kB / 1.18 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.363, allocations: 44.98 kB / 1.18 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.365, allocations: 0.5542 MB / 1.18 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/1.372, allocations: 4.612 MB / 1.185 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/1.373, allocations: 282.5 kB / 1.185 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/1.374, allocations: 224.8 kB / 1.185 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/1.374, allocations: 4 kB / 1.185 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.374, allocations: 39.69 kB / 1.185 GB, free: 11 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/1.374, allocations: 0 / 1.185 GB, free: 11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.007936/1.382, allocations: 2.199 MB / 1.188 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.382, allocations: 55.41 kB / 1.188 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/1.382, allocations: 384 kB / 1.188 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/1.382, allocations: 33.7 kB / 1.188 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/1.383, allocations: 343.7 kB / 1.188 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.383, allocations: 140.8 kB / 1.189 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/1.383, allocations: 20 kB / 1.189 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.383, allocations: 362.7 kB / 1.189 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/1.384, allocations: 229 kB / 1.189 GB, free: 7.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.385, allocations: 376.5 kB / 1.189 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007514/1.386, allocations: 289.4 kB / 1.19 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.386, allocations: 0 / 1.19 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002882/1.389, allocations: 0.8904 MB / 1.191 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.389, allocations: 5.156 kB / 1.191 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.389, allocations: 12 kB / 1.191 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/1.39, allocations: 218.4 kB / 1.191 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.392, allocations: 111.8 kB / 1.191 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.404, allocations: 4.919 MB / 1.196 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.405, allocations: 31.97 kB / 1.196 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/1.406, allocations: 20 kB / 1.196 GB, free: 15.8 MB / 0.8073 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.0003631/1.406, allocations: 143.8 kB / 1.196 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.406, allocations: 55.34 kB / 1.196 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.409, allocations: 0.7665 MB / 1.197 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.41, allocations: 4 kB / 1.197 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.41, allocations: 4 kB / 1.197 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.41, allocations: 4.125 kB / 1.197 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/1.414, allocations: 1.478 MB / 1.198 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.414, allocations: 0 / 1.198 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/1.414, allocations: 75.86 kB / 1.198 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/1.416, allocations: 202.5 kB / 1.198 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/1.416, allocations: 12 kB / 1.198 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/1.423, allocations: 4.85 MB / 1.203 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.423, allocations: 7.969 kB / 1.203 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/1.426, allocations: 1.203 MB / 1.204 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/1.426, allocations: 164.4 kB / 1.205 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.426, allocations: 8.375 kB / 1.205 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/1.427, allocations: 28.72 kB / 1.205 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.427, allocations: 35.89 kB / 1.205 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/1.427, allocations: 20 kB / 1.205 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005545/1.428, allocations: 309.6 kB / 1.205 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.325e-06/1.428, allocations: 0 / 1.205 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009615/1.429, allocations: 179.9 kB / 1.205 GB, free: 5.66 MB / 0.8073 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.0002559/1.429, allocations: 119.1 kB / 1.205 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.432, allocations: 0.9765 MB / 1.206 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.432, allocations: 4.75 kB / 1.206 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.433, allocations: 0.664 MB / 1.207 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.435, allocations: 158.7 kB / 1.207 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/1.437, allocations: 0.9577 MB / 1.208 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/1.438, allocations: 0.961 MB / 1.209 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006733/1.439, allocations: 111 kB / 1.209 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.439, allocations: 35.44 kB / 1.209 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of SimCode: time 1.112e-06/1.439, allocations: 4 kB / 1.209 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.02467/1.464, allocations: 8.169 MB / 1.217 GB, free: 9.512 MB / 0.823 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)