Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 103.6 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 188.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5066/0.5066, allocations: 91.9 MB / 432.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 79.88 kB / 0.5033 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3515, allocations: 71.27 MB / 0.5729 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005586/0.3571, allocations: 6.662 MB / 0.5794 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.3607, allocations: 1.996 MB / 0.5813 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.3613, allocations: 15.38 kB / 0.5813 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.362, allocations: 243.7 kB / 0.5816 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.3636, allocations: 0.8114 MB / 0.5824 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3647, allocations: 0.6421 MB / 0.583 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.366, allocations: 1.635 MB / 0.5846 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.3664, allocations: 328.4 kB / 0.5849 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006252/0.367, allocations: 0.6772 MB / 0.5856 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.3677, allocations: 0.854 MB / 0.5864 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3679, allocations: 132.3 kB / 0.5865 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.3683, allocations: 266.6 kB / 0.5868 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.3685, allocations: 343.1 kB / 0.5871 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.369, allocations: 0.6862 MB / 0.5878 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.3702, allocations: 1.706 MB / 0.5894 GB, free: 27.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3702, allocations: 1.25 kB / 0.5894 GB, free: 27.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3703, allocations: 0 / 0.5894 GB, free: 27.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3703, allocations: 0 / 0.5894 GB, free: 27.63 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008614/0.3789, allocations: 2.75 MB / 0.5921 GB, free: 26.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.379, allocations: 13.47 kB / 0.5921 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.384, allocations: 0.7788 MB / 0.5929 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.3859, allocations: 0.9075 MB / 0.5938 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.3862, allocations: 262.3 kB / 0.594 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.3864, allocations: 86.5 kB / 0.5941 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.3885, allocations: 1.104 MB / 0.5952 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.3886, allocations: 7.922 kB / 0.5952 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.3887, allocations: 31.19 kB / 0.5952 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3887, allocations: 22.81 kB / 0.5953 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.3908, allocations: 0.9947 MB / 0.5962 GB, free: 24.53 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006999/0.3978, allocations: 3.858 MB / 0.6 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.4052, allocations: 2.379 MB / 0.6023 GB, free: 21.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4066, allocations: 0.6857 MB / 0.603 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.4068, allocations: 21.03 kB / 0.603 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.4085, allocations: 0.8336 MB / 0.6038 GB, free: 20.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/0.4085, allocations: 0 / 0.6038 GB, free: 20.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02877/0.4373, allocations: 7.218 MB / 0.6109 GB, free: 19.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.4374, allocations: 115.2 kB / 0.611 GB, free: 19.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.4391, allocations: 1.14 MB / 0.6121 GB, free: 18.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4394, allocations: 45.39 kB / 0.6121 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.4397, allocations: 0.492 MB / 0.6126 GB, free: 18.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.44, allocations: 366 kB / 0.613 GB, free: 17.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000525/0.4406, allocations: 291.2 kB / 0.6133 GB, free: 17.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.4406, allocations: 302.2 kB / 0.6135 GB, free: 17.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4422, allocations: 0.7823 MB / 0.6143 GB, free: 17.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4439, allocations: 0.9507 MB / 0.6152 GB, free: 16.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0233/0.4672, allocations: 5.796 MB / 0.6209 GB, free: 12.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.4672, allocations: 0 / 0.6209 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01228/0.4795, allocations: 4.457 MB / 0.6252 GB, free: 8.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.4796, allocations: 63.33 kB / 0.6253 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4796, allocations: 4 kB / 0.6253 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/0.4849, allocations: 1.635 MB / 0.6269 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4863, allocations: 295.5 kB / 0.6272 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.5045, allocations: 8.6 MB / 0.6356 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.5065, allocations: 198.7 kB / 0.6358 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.5067, allocations: 59.92 kB / 0.6358 GB, free: 13.25 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.5073, allocations: 311.2 kB / 0.6361 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5076, allocations: 122.5 kB / 0.6362 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.52, allocations: 3.904 MB / 0.6401 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.52, allocations: 8 kB / 0.6401 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5201, allocations: 12 kB / 0.6401 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.5201, allocations: 3.984 kB / 0.6401 GB, free: 8.859 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.5344, allocations: 5.51 MB / 0.6455 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5345, allocations: 0 / 0.6455 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.5351, allocations: 107.8 kB / 0.6456 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/0.5404, allocations: 1.588 MB / 0.6471 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.5405, allocations: 24 kB / 0.6471 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.5602, allocations: 9.646 MB / 0.6566 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5602, allocations: 0 / 0.6566 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.5744, allocations: 4.782 MB / 0.6612 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.575, allocations: 231.2 kB / 0.6614 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.5752, allocations: 20.05 kB / 0.6615 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.5764, allocations: 115.8 kB / 0.6616 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/0.5771, allocations: 196.7 kB / 0.6618 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.5771, allocations: 27.98 kB / 0.6618 GB, free: 2.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.5783, allocations: 0.7592 MB / 0.6625 GB, free: 1.395 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5783, allocations: 0 / 0.6625 GB, free: 1.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001518/0.5798, allocations: 483.5 kB / 0.663 GB, free: 0.9219 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/0.5802, allocations: 148 kB / 0.6631 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006326/0.5865, allocations: 2.597 MB / 0.6657 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5865, allocations: 4 kB / 0.6657 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003982/0.5905, allocations: 1.587 MB / 0.6672 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.5915, allocations: 114.9 kB / 0.6673 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.5955, allocations: 2.359 MB / 0.6696 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.5961, allocations: 1.128 MB / 0.6707 GB, free: 8.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.5965, allocations: 120.1 kB / 0.6709 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.5968, allocations: 83.41 kB / 0.6709 GB, free: 8.637 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5968, allocations: 0 / 0.6709 GB, free: 8.637 MB / 478.1 MB Notification: Performance of Templates: time 0.03526/0.6321, allocations: 24.16 MB / 0.6945 GB, free: 0.5117 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)