Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json 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) 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 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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009493/0.0009495, allocations: 175.2 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.7 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 95.09 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4021/0.4021, allocations: 78.43 MB / 419.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 8 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2433, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.00885/0.2522, allocations: 14.56 MB / 0.5687 GB, free: 5.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005391/0.2576, allocations: 3.636 MB / 0.5723 GB, free: 1.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.2585, allocations: 32 kB / 0.5723 GB, free: 1.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.2594, allocations: 445.1 kB / 0.5727 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.2616, allocations: 1.236 MB / 0.5739 GB, free: 244 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.2642, allocations: 1.423 MB / 0.5753 GB, free: 14.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.2672, allocations: 3.581 MB / 0.5788 GB, free: 11.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.2681, allocations: 0.7885 MB / 0.5796 GB, free: 10.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.2699, allocations: 1.353 MB / 0.5809 GB, free: 9.039 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.2716, allocations: 1.8 MB / 0.5827 GB, free: 7.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.2719, allocations: 144 kB / 0.5828 GB, free: 7.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.2725, allocations: 279.8 kB / 0.5831 GB, free: 6.816 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004593/0.273, allocations: 0.614 MB / 0.5837 GB, free: 6.199 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2742, allocations: 1.482 MB / 0.5851 GB, free: 4.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.2765, allocations: 2.984 MB / 0.588 GB, free: 1.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2765, allocations: 0 / 0.588 GB, free: 1.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2765, allocations: 4 kB / 0.588 GB, free: 1.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.2766, allocations: 4 kB / 0.588 GB, free: 1.707 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01875/0.2953, allocations: 5.988 MB / 0.5939 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2954, allocations: 11.97 kB / 0.5939 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.309, allocations: 2.275 MB / 0.5961 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.3125, allocations: 1.898 MB / 0.598 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006638/0.3132, allocations: 0.7213 MB / 0.5987 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006186/0.3138, allocations: 224 kB / 0.5989 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/0.3201, allocations: 3.047 MB / 0.6019 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.3201, allocations: 0 / 0.6019 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.3204, allocations: 83.94 kB / 0.6019 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.3204, allocations: 52 kB / 0.602 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00553/0.326, allocations: 2.796 MB / 0.6047 GB, free: 248 kB / 410.7 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.01643/0.3424, allocations: 9.938 MB / 0.6144 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.3523, allocations: 4.207 MB / 0.6185 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.3559, allocations: 1.976 MB / 0.6205 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.3562, allocations: 45.89 kB / 0.6205 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004023/0.3602, allocations: 2.243 MB / 0.6227 GB, free: 13.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 3.787e-06/0.3603, allocations: 0 / 0.6227 GB, free: 13.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1061/0.4664, allocations: 27.42 MB / 0.6495 GB, free: 1.711 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.4665, allocations: 196.1 kB / 0.6497 GB, free: 1.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/0.4697, allocations: 2.313 MB / 0.6519 GB, free: 15.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005116/0.4702, allocations: 69.7 kB / 0.652 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008411/0.4711, allocations: 1.176 MB / 0.6531 GB, free: 13.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008729/0.4719, allocations: 0.8741 MB / 0.654 GB, free: 13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.4723, allocations: 296.6 kB / 0.6543 GB, free: 12.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.4724, allocations: 301.1 kB / 0.6546 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.4764, allocations: 1.97 MB / 0.6565 GB, free: 10.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/0.4807, allocations: 2.35 MB / 0.6588 GB, free: 7.992 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05137/0.532, allocations: 14.24 MB / 0.6727 GB, free: 9.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.5321, allocations: 11.94 kB / 0.6727 GB, free: 9.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.2468/0.7789, allocations: 12.55 MB / 0.685 GB, free: 105.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.779, allocations: 112.4 kB / 0.6851 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.779, allocations: 11.72 kB / 0.6851 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/0.7951, allocations: 5.25 MB / 0.6902 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/0.7986, allocations: 0.5893 MB / 0.6908 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04554/0.8441, allocations: 21.32 MB / 0.7116 GB, free: 97.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/0.8479, allocations: 490 kB / 0.7121 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.8482, allocations: 126 kB / 0.7122 GB, free: 97.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.8493, allocations: 0.5329 MB / 0.7127 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/0.8497, allocations: 299.9 kB / 0.713 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03336/0.8831, allocations: 11.93 MB / 0.7246 GB, free: 86.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.8831, allocations: 24 kB / 0.7247 GB, free: 86.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/0.8832, allocations: 22.08 kB / 0.7247 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.834e-05/0.8832, allocations: 15.95 kB / 0.7247 GB, free: 86.45 MB / 490.7 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.03719/0.9204, allocations: 15.57 MB / 0.7399 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.9205, allocations: 0 / 0.7399 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.9219, allocations: 248.5 kB / 0.7401 GB, free: 70.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.9366, allocations: 5.305 MB / 0.7453 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/0.937, allocations: 55.98 kB / 0.7454 GB, free: 65.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04458/0.9816, allocations: 22.67 MB / 0.7675 GB, free: 42.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9816, allocations: 3.938 kB / 0.7675 GB, free: 42.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03787/1.019, allocations: 14.31 MB / 0.7815 GB, free: 27.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/1.02, allocations: 414.1 kB / 0.7819 GB, free: 27.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004784/1.021, allocations: 47.98 kB / 0.7819 GB, free: 27.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.023, allocations: 295.6 kB / 0.7822 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001722/1.025, allocations: 0.5694 MB / 0.7828 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.025, allocations: 63.98 kB / 0.7828 GB, free: 26.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001749/1.027, allocations: 1.531 MB / 0.7843 GB, free: 24.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.027, allocations: 0 / 0.7843 GB, free: 24.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002724/1.03, allocations: 1.182 MB / 0.7855 GB, free: 23.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003469/1.03, allocations: 185.4 kB / 0.7856 GB, free: 23.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01467/1.045, allocations: 6.643 MB / 0.7921 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.045, allocations: 4 kB / 0.7921 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.056, allocations: 4.416 MB / 0.7964 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.058, allocations: 263.1 kB / 0.7967 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/1.066, allocations: 6.603 MB / 0.8031 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/1.067, allocations: 1.818 MB / 0.8049 GB, free: 3.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/1.067, allocations: 175.4 kB / 0.8051 GB, free: 3.262 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/1.067, allocations: 0 / 0.8051 GB, free: 3.262 MB / 490.7 MB Notification: Performance of Templates: time 0.06954/1.137, allocations: 63.93 MB / 0.8675 GB, free: 3.285 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)