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.751/1.751, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001024/0.001024, allocations: 176.9 kB / 366.7 MB, free: 1.633 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.658/1.658, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008856/0.0008856, allocations: 92.25 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.831e-05, allocations: 0 / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6848, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.9135, allocations: 181.6 MB / 1.151 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.9139, allocations: 96.66 kB / 1.151 GB, free: 468 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07389/0.9878, allocations: 31.11 MB / 1.181 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9879, allocations: 4 kB / 1.181 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.597e-05/0.9879, allocations: 16 kB / 1.181 GB, free: 1.137 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.001439/0.9894, allocations: 0.8023 MB / 1.182 GB, free: 292 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9894, allocations: 8.031 kB / 1.182 GB, free: 284 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.9908, allocations: 194.9 kB / 1.182 GB, free: 88 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.992, allocations: 496.2 kB / 1.183 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.9921, allocations: 16 kB / 1.183 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.9923, allocations: 40.64 kB / 1.183 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009139/0.9932, allocations: 458.5 kB / 1.183 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.9945, allocations: 0.7928 MB / 1.184 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.9945, allocations: 0 / 1.184 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.9946, allocations: 4 kB / 1.184 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.883e-05/0.9947, allocations: 51.11 kB / 1.184 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/1, allocations: 4.483 MB / 1.188 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/1.001, allocations: 279.7 kB / 1.188 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/1.001, allocations: 218.2 kB / 1.189 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/1.001, allocations: 4 kB / 1.189 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.001, allocations: 38.56 kB / 1.189 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/1.001, allocations: 0 / 1.189 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003905/1.005, allocations: 1.976 MB / 1.191 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.005, allocations: 55.41 kB / 1.191 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/1.005, allocations: 337.1 kB / 1.191 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.005, allocations: 25.7 kB / 1.191 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.006, allocations: 331.7 kB / 1.191 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.006, allocations: 145.9 kB / 1.192 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/1.006, allocations: 4 kB / 1.192 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.006, allocations: 354.8 kB / 1.192 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.006, allocations: 217 kB / 1.192 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/1.007, allocations: 367.3 kB / 1.192 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/1.007, allocations: 273.4 kB / 1.193 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.007, allocations: 5.969 kB / 1.193 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001419/1.008, allocations: 0.8201 MB / 1.193 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.008, allocations: 11.98 kB / 1.193 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.008, allocations: 4 kB / 1.193 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007336/1.009, allocations: 222.8 kB / 1.194 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/1.01, allocations: 106.9 kB / 1.194 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/1.014, allocations: 4.736 MB / 1.198 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/1.014, allocations: 19.97 kB / 1.198 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.014, allocations: 23.94 kB / 1.198 GB, free: 14.2 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.0001432/1.015, allocations: 120.8 kB / 1.199 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/1.015, allocations: 55.5 kB / 1.199 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/1.016, allocations: 0.7152 MB / 1.199 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.016, allocations: 8 kB / 1.199 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.016, allocations: 7.984 kB / 1.199 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.016, allocations: 0 / 1.199 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.018, allocations: 1.348 MB / 1.201 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.018, allocations: 4 kB / 1.201 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/1.019, allocations: 68.09 kB / 1.201 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006238/1.019, allocations: 206.5 kB / 1.201 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/1.019, allocations: 7.984 kB / 1.201 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/1.023, allocations: 4.658 MB / 1.205 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.023, allocations: 6.75 kB / 1.205 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/1.025, allocations: 1.16 MB / 1.207 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/1.025, allocations: 164.4 kB / 1.207 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/1.025, allocations: 16.05 kB / 1.207 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/1.026, allocations: 15.97 kB / 1.207 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/1.026, allocations: 39.84 kB / 1.207 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.026, allocations: 19.94 kB / 1.207 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002635/1.026, allocations: 247 kB / 1.207 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 0 / 1.207 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006839/1.027, allocations: 155.9 kB / 1.207 GB, free: 4.652 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.0001873/1.027, allocations: 115.2 kB / 1.207 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.028, allocations: 0.9276 MB / 1.208 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.028, allocations: 0 / 1.208 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/1.029, allocations: 0.6355 MB / 1.209 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/1.03, allocations: 144.7 kB / 1.209 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.032, allocations: 0.9397 MB / 1.21 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/1.032, allocations: 0.9608 MB / 1.211 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003524/1.032, allocations: 108.6 kB / 1.211 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/1.033, allocations: 35.44 kB / 1.211 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/1.033, allocations: 0 / 1.211 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of Templates: time 0.01289/1.045, allocations: 7.468 MB / 1.218 GB, free: 9.367 MB / 0.823 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)