Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.415/2.415, allocations: 253.2 MB / 260.6 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 188.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.5 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 99.77 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.214e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2453, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9306/1.176, allocations: 175 MB / 1.06 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.176, allocations: 93.81 kB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1712/1.348, allocations: 31.12 MB / 1.09 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.969e-06/1.348, allocations: 0 / 1.09 GB, free: 2.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.21e-05/1.348, allocations: 23.92 kB / 1.09 GB, free: 2.633 MB / 0.698 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.002111/1.35, allocations: 0.7962 MB / 1.091 GB, free: 1.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.35, allocations: 12.03 kB / 1.091 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/1.352, allocations: 198.7 kB / 1.091 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/1.354, allocations: 491.5 kB / 1.092 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/1.354, allocations: 16 kB / 1.092 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/1.355, allocations: 35.98 kB / 1.092 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/1.356, allocations: 462.8 kB / 1.092 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.358, allocations: 0.7819 MB / 1.093 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/1.358, allocations: 11.81 kB / 1.093 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/1.358, allocations: 4 kB / 1.093 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.358, allocations: 41.28 kB / 1.093 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/1.365, allocations: 4.483 MB / 1.097 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/1.366, allocations: 279.3 kB / 1.098 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/1.366, allocations: 217.1 kB / 1.098 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/1.366, allocations: 7.938 kB / 1.098 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.366, allocations: 41.62 kB / 1.098 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/1.367, allocations: 0 / 1.098 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.006399/1.373, allocations: 1.978 MB / 1.1 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.373, allocations: 55.41 kB / 1.1 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/1.374, allocations: 330.7 kB / 1.1 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/1.374, allocations: 29.7 kB / 1.1 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/1.374, allocations: 341.2 kB / 1.1 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.374, allocations: 137.8 kB / 1.101 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/1.374, allocations: 0 / 1.101 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.374, allocations: 358.4 kB / 1.101 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/1.375, allocations: 217.2 kB / 1.101 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/1.376, allocations: 365.5 kB / 1.101 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/1.376, allocations: 279.9 kB / 1.102 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.376, allocations: 0 / 1.102 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002635/1.379, allocations: 0.819 MB / 1.103 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/1.379, allocations: 11.95 kB / 1.103 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.379, allocations: 4.562 kB / 1.103 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.381, allocations: 216.1 kB / 1.103 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/1.382, allocations: 111.3 kB / 1.103 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/1.389, allocations: 4.738 MB / 1.107 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/1.389, allocations: 15.98 kB / 1.107 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.39, allocations: 31.42 kB / 1.108 GB, free: 2.23 MB / 0.7136 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.0002012/1.39, allocations: 125.2 kB / 1.108 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/1.39, allocations: 47.44 kB / 1.108 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/1.392, allocations: 0.7231 MB / 1.108 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.392, allocations: 4.141 kB / 1.108 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.392, allocations: 0 / 1.108 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.392, allocations: 11.94 kB / 1.108 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/1.396, allocations: 1.359 MB / 1.11 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.396, allocations: 4.219 kB / 1.11 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/1.397, allocations: 71.27 kB / 1.11 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/1.399, allocations: 199.2 kB / 1.11 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/1.399, allocations: 4 kB / 1.11 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007696/1.407, allocations: 4.664 MB / 1.115 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.407, allocations: 7.938 kB / 1.115 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/1.41, allocations: 1.157 MB / 1.116 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/1.411, allocations: 161 kB / 1.116 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.411, allocations: 7.984 kB / 1.116 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/1.412, allocations: 19.97 kB / 1.116 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.412, allocations: 34.59 kB / 1.116 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/1.412, allocations: 15.06 kB / 1.116 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005262/1.413, allocations: 248.9 kB / 1.116 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.92e-07/1.413, allocations: 0 / 1.116 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001388/1.414, allocations: 168 kB / 1.116 GB, free: 10.01 MB / 0.7292 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.0002688/1.415, allocations: 107.1 kB / 1.116 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002998/1.418, allocations: 0.9297 MB / 1.117 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.418, allocations: 128 / 1.117 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.42, allocations: 0.6426 MB / 1.118 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.421, allocations: 141.1 kB / 1.118 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/1.425, allocations: 0.9376 MB / 1.119 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.426, allocations: 0.9569 MB / 1.12 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009244/1.427, allocations: 112.6 kB / 1.12 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/1.427, allocations: 31.44 kB / 1.12 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/1.427, allocations: 0 / 1.12 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of Templates: time 0.05832/1.486, allocations: 7.479 MB / 1.127 GB, free: 15.08 MB / 0.7448 GB