Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.571/1.571, allocations: 297.8 MB / 313.7 MB, free: 48 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 172.5 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 104.3 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 12 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6265, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.845, allocations: 184.9 MB / 1.207 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.8453, allocations: 103.9 kB / 1.207 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.0819/0.9273, allocations: 34.39 MB / 1.241 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9273, allocations: 3.938 kB / 1.241 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.843e-05/0.9274, allocations: 20 kB / 1.241 GB, free: 6.379 MB / 0.8073 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.001939/0.9293, allocations: 0.8614 MB / 1.241 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9294, allocations: 8.031 kB / 1.241 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.9309, allocations: 196.8 kB / 1.242 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.932, allocations: 0.51 MB / 1.242 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.932, allocations: 38.11 kB / 1.242 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.9322, allocations: 55.98 kB / 1.242 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.9336, allocations: 0.8748 MB / 1.243 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.9336, allocations: 8 kB / 1.243 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.9337, allocations: 23.98 kB / 1.243 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.564e-05/0.9338, allocations: 46.84 kB / 1.243 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.9347, allocations: 0.5696 MB / 1.244 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.9395, allocations: 4.588 MB / 1.248 GB, free: 14.06 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.94, allocations: 299.1 kB / 1.248 GB, free: 13.76 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.9403, allocations: 224.8 kB / 1.249 GB, free: 13.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.9404, allocations: 8 kB / 1.249 GB, free: 13.53 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.9404, allocations: 30.56 kB / 1.249 GB, free: 13.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.615e-06/0.9404, allocations: 0 / 1.249 GB, free: 13.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.005444/0.9459, allocations: 2.647 MB / 1.251 GB, free: 10.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.9459, allocations: 59.41 kB / 1.251 GB, free: 10.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.9465, allocations: 461.8 kB / 1.252 GB, free: 10.19 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.9465, allocations: 33.7 kB / 1.252 GB, free: 10.15 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.9468, allocations: 327.8 kB / 1.252 GB, free: 9.824 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.9469, allocations: 149.9 kB / 1.252 GB, free: 9.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.9469, allocations: 8 kB / 1.252 GB, free: 9.668 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9471, allocations: 358.8 kB / 1.253 GB, free: 9.309 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.9474, allocations: 233 kB / 1.253 GB, free: 9.082 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.9479, allocations: 387.8 kB / 1.253 GB, free: 8.637 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.9487, allocations: 0.6548 MB / 1.254 GB, free: 7.922 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9487, allocations: 0 / 1.254 GB, free: 7.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001563/0.9503, allocations: 0.8978 MB / 1.255 GB, free: 7.008 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9503, allocations: 8.625 kB / 1.255 GB, free: 7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9504, allocations: 5.688 kB / 1.255 GB, free: 6.996 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/0.9511, allocations: 226.5 kB / 1.255 GB, free: 6.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.9516, allocations: 107.9 kB / 1.255 GB, free: 6.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.9564, allocations: 4.931 MB / 1.26 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.9568, allocations: 39.97 kB / 1.26 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.9569, allocations: 24 kB / 1.26 GB, free: 1.273 MB / 0.823 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 () * Number of clocked 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.0003524/0.9572, allocations: 223.1 kB / 1.26 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.9573, allocations: 55.34 kB / 1.26 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.9588, allocations: 0.7772 MB / 1.261 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9588, allocations: 4 kB / 1.261 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9588, allocations: 4 kB / 1.261 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9588, allocations: 0 / 1.261 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.9612, allocations: 1.474 MB / 1.262 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9612, allocations: 4 kB / 1.262 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.9616, allocations: 72.38 kB / 1.262 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006319/0.9622, allocations: 210 kB / 1.263 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.9623, allocations: 11.94 kB / 1.263 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/0.9666, allocations: 4.873 MB / 1.267 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9666, allocations: 0 / 1.267 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.9683, allocations: 1.127 MB / 1.269 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.9686, allocations: 173.2 kB / 1.269 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.9687, allocations: 24.05 kB / 1.269 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.969, allocations: 19.97 kB / 1.269 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.9691, allocations: 35.89 kB / 1.269 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.9692, allocations: 16 kB / 1.269 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00037/0.9695, allocations: 306.9 kB / 1.269 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9696, allocations: 0 / 1.269 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007147/0.9703, allocations: 175.9 kB / 1.269 GB, free: 7.141 MB / 0.8386 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 () * Number of clocked 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.0002081/0.9705, allocations: 127.2 kB / 1.269 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.972, allocations: 0.9895 MB / 1.27 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9721, allocations: 8.062 kB / 1.27 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.9729, allocations: 0.672 MB / 1.271 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.9739, allocations: 171.5 kB / 1.271 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.976, allocations: 1.499 MB / 1.273 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.9766, allocations: 0.9494 MB / 1.274 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.977, allocations: 107.1 kB / 1.274 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.9771, allocations: 35.44 kB / 1.274 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.9771, allocations: 0 / 1.274 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of Templates: time 0.01444/0.9916, allocations: 8.275 MB / 1.282 GB, free: 10.37 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)