Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001211/0.001211, allocations: 168.9 kB / 361.4 MB, free: 6.859 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.742/1.742, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008373/0.0008374, allocations: 96.7 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.769e-05, allocations: 4 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.6735, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.8995, allocations: 180.6 MB / 1.141 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.8998, allocations: 91.94 kB / 1.141 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07356/0.9734, allocations: 31.12 MB / 1.171 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9734, allocations: 0 / 1.171 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.38e-05/0.9735, allocations: 20 kB / 1.171 GB, free: 7.77 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.001277/0.9748, allocations: 0.7906 MB / 1.172 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.9748, allocations: 12.03 kB / 1.172 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.9762, allocations: 195.9 kB / 1.172 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.977, allocations: 0.4885 MB / 1.173 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.9771, allocations: 16 kB / 1.173 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.9772, allocations: 35.91 kB / 1.173 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000723/0.978, allocations: 458.5 kB / 1.173 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.979, allocations: 0.7811 MB / 1.174 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.979, allocations: 4 kB / 1.174 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.9791, allocations: 11.94 kB / 1.174 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.9791, allocations: 45.28 kB / 1.174 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.9832, allocations: 4.479 MB / 1.178 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.9836, allocations: 286.5 kB / 1.179 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.9839, allocations: 214.8 kB / 1.179 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.9839, allocations: 8 kB / 1.179 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.984, allocations: 30.56 kB / 1.179 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.984, allocations: 4 kB / 1.179 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003648/0.9876, allocations: 1.984 MB / 1.181 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.9877, allocations: 59.41 kB / 1.181 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.988, allocations: 329.1 kB / 1.181 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.9881, allocations: 25.7 kB / 1.181 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.9883, allocations: 339.6 kB / 1.182 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9884, allocations: 138 kB / 1.182 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.9884, allocations: 0 / 1.182 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9886, allocations: 354.8 kB / 1.182 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.9889, allocations: 222.3 kB / 1.182 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.9893, allocations: 363.3 kB / 1.183 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.9897, allocations: 277.4 kB / 1.183 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9897, allocations: 0 / 1.183 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001407/0.9911, allocations: 0.8204 MB / 1.184 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9912, allocations: 8 kB / 1.184 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9912, allocations: 4 kB / 1.184 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.9919, allocations: 232.4 kB / 1.184 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.9924, allocations: 107.9 kB / 1.184 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.9969, allocations: 4.728 MB / 1.189 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.9973, allocations: 29.84 kB / 1.189 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.9973, allocations: 20 kB / 1.189 GB, free: 4.844 MB / 0.7917 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.000149/0.9975, allocations: 120.6 kB / 1.189 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.9976, allocations: 48.09 kB / 1.189 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.999, allocations: 0.7267 MB / 1.189 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.999, allocations: 4 kB / 1.189 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.999, allocations: 4 kB / 1.19 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.999, allocations: 3.984 kB / 1.19 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/1.001, allocations: 1.354 MB / 1.191 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.001, allocations: 4 kB / 1.191 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/1.002, allocations: 73.84 kB / 1.191 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/1.002, allocations: 204.6 kB / 1.191 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/1.002, allocations: 0 / 1.191 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/1.006, allocations: 4.663 MB / 1.196 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.006, allocations: 8.062 kB / 1.196 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.008, allocations: 1.16 MB / 1.197 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/1.008, allocations: 164.4 kB / 1.197 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/1.008, allocations: 4 kB / 1.197 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.009, allocations: 19.97 kB / 1.197 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.009, allocations: 47.84 kB / 1.197 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.009, allocations: 12 kB / 1.197 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002902/1.009, allocations: 255 kB / 1.197 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.51e-07/1.009, allocations: 0 / 1.197 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006997/1.01, allocations: 151.9 kB / 1.197 GB, free: 11.29 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.0001962/1.01, allocations: 119.2 kB / 1.198 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00136/1.011, allocations: 0.9313 MB / 1.198 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.011, allocations: 0 / 1.198 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/1.012, allocations: 0.6381 MB / 1.199 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/1.013, allocations: 133.1 kB / 1.199 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.015, allocations: 0.9399 MB / 1.2 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/1.015, allocations: 0.9648 MB / 1.201 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003798/1.016, allocations: 99.53 kB / 1.201 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/1.016, allocations: 35.44 kB / 1.201 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/1.016, allocations: 0 / 1.201 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of Templates: time 0.01221/1.028, allocations: 7.478 MB / 1.208 GB, free: 8 kB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)