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.547/1.547, allocations: 285.4 MB / 298 MB, free: 6 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.001087/0.001087, allocations: 176.8 kB / 366.4 MB, free: 2.117 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.579/1.579, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008067/0.0008065, allocations: 96.64 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.423e-05, allocations: 11.98 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.767, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.9999, allocations: 181.3 MB / 1.148 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1, allocations: 91.94 kB / 1.148 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07449/1.075, allocations: 31.24 MB / 1.179 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.783e-06/1.075, allocations: 0 / 1.179 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.502e-05/1.075, allocations: 20 kB / 1.179 GB, free: 2.945 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.00199/1.077, allocations: 0.7959 MB / 1.179 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.077, allocations: 12.03 kB / 1.179 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.079, allocations: 194.9 kB / 1.179 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.08, allocations: 496 kB / 1.18 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/1.08, allocations: 33 kB / 1.18 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/1.08, allocations: 63.83 kB / 1.18 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/1.082, allocations: 0.8636 MB / 1.181 GB, free: 312 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/1.082, allocations: 3.938 kB / 1.181 GB, free: 308 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/1.082, allocations: 31.98 kB / 1.181 GB, free: 276 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/1.082, allocations: 36.98 kB / 1.181 GB, free: 240 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/1.083, allocations: 0.5542 MB / 1.182 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/1.088, allocations: 4.604 MB / 1.186 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/1.089, allocations: 298.4 kB / 1.186 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/1.089, allocations: 224.8 kB / 1.187 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/1.089, allocations: 4 kB / 1.187 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.089, allocations: 34.56 kB / 1.187 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/1.089, allocations: 0 / 1.187 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.005013/1.094, allocations: 2.2 MB / 1.189 GB, free: 7.871 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/1.094, allocations: 59.41 kB / 1.189 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/1.095, allocations: 388 kB / 1.189 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.095, allocations: 29.7 kB / 1.189 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.095, allocations: 343.7 kB / 1.189 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.095, allocations: 137.9 kB / 1.19 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/1.095, allocations: 16 kB / 1.19 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.095, allocations: 358.8 kB / 1.19 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.095, allocations: 229 kB / 1.19 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/1.096, allocations: 376.5 kB / 1.191 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/1.096, allocations: 289.4 kB / 1.191 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.096, allocations: 3.953 kB / 1.191 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001576/1.098, allocations: 0.89 MB / 1.192 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.098, allocations: 9.359 kB / 1.192 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.098, allocations: 8 kB / 1.192 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/1.099, allocations: 219 kB / 1.192 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.099, allocations: 113.2 kB / 1.192 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/1.104, allocations: 4.924 MB / 1.197 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/1.105, allocations: 27.97 kB / 1.197 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.105, allocations: 20 kB / 1.197 GB, free: 14.96 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.0001937/1.105, allocations: 134.2 kB / 1.197 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/1.105, allocations: 63.23 kB / 1.197 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.107, allocations: 0.7628 MB / 1.198 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.107, allocations: 7.984 kB / 1.198 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.107, allocations: 8 kB / 1.198 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.107, allocations: 3.984 kB / 1.198 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/1.109, allocations: 1.47 MB / 1.199 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.109, allocations: 0 / 1.199 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/1.11, allocations: 75.83 kB / 1.199 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006643/1.111, allocations: 202.6 kB / 1.2 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/1.111, allocations: 12 kB / 1.2 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/1.115, allocations: 4.856 MB / 1.204 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.115, allocations: 4.031 kB / 1.204 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/1.117, allocations: 1.202 MB / 1.205 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/1.117, allocations: 164.4 kB / 1.206 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/1.117, allocations: 8 kB / 1.206 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.118, allocations: 32.03 kB / 1.206 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.118, allocations: 38.61 kB / 1.206 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/1.118, allocations: 19.94 kB / 1.206 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003844/1.118, allocations: 301.6 kB / 1.206 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.1e-07/1.118, allocations: 3.938 kB / 1.206 GB, free: 5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007477/1.119, allocations: 176 kB / 1.206 GB, free: 4.828 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.0002161/1.119, allocations: 127.1 kB / 1.206 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.121, allocations: 0.9764 MB / 1.207 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.121, allocations: 0 / 1.207 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009958/1.122, allocations: 0.6757 MB / 1.208 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/1.123, allocations: 153.4 kB / 1.208 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/1.124, allocations: 0.9604 MB / 1.209 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/1.125, allocations: 0.9571 MB / 1.21 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003613/1.125, allocations: 110.3 kB / 1.21 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.126, allocations: 39.42 kB / 1.21 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/1.126, allocations: 0 / 1.21 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of Templates: time 0.0145/1.14, allocations: 8.17 MB / 1.218 GB, free: 8.68 MB / 0.823 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)