Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.2 kB / 15.98 MB, free: 5.77 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.173/1.173, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009221/0.0009222, allocations: 103.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3931/0.3931, allocations: 78.51 MB / 418.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 75.88 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2609, allocations: 68.16 MB / 0.5524 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.008358/0.2693, allocations: 14.6 MB / 0.5667 GB, free: 5.211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.2747, allocations: 3.659 MB / 0.5702 GB, free: 1.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.2759, allocations: 35.94 kB / 0.5703 GB, free: 1.508 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.2768, allocations: 441.1 kB / 0.5707 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.2794, allocations: 1.249 MB / 0.5719 GB, free: 15.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.2821, allocations: 1.419 MB / 0.5733 GB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.2852, allocations: 3.651 MB / 0.5769 GB, free: 10.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.2862, allocations: 0.8041 MB / 0.5777 GB, free: 9.914 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.2878, allocations: 1.438 MB / 0.5791 GB, free: 8.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.2895, allocations: 1.905 MB / 0.5809 GB, free: 6.555 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.2898, allocations: 184 kB / 0.5811 GB, free: 6.375 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006377/0.2905, allocations: 311.9 kB / 0.5814 GB, free: 6.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.291, allocations: 0.6724 MB / 0.5821 GB, free: 5.395 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2922, allocations: 1.553 MB / 0.5836 GB, free: 3.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.2951, allocations: 3.865 MB / 0.5873 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2951, allocations: 4 kB / 0.5873 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2951, allocations: 4 kB / 0.5873 GB, free: 15.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.2952, allocations: 0 / 0.5873 GB, free: 15.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0212/0.3164, allocations: 6.68 MB / 0.5939 GB, free: 9.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3164, allocations: 8.031 kB / 0.5939 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.3297, allocations: 2.279 MB / 0.5961 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.333, allocations: 1.906 MB / 0.598 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006608/0.3337, allocations: 0.7213 MB / 0.5987 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/0.3341, allocations: 219.9 kB / 0.5989 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/0.3398, allocations: 3.059 MB / 0.6019 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.3398, allocations: 0 / 0.6019 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.3401, allocations: 91.92 kB / 0.602 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.3401, allocations: 52 kB / 0.602 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/0.3456, allocations: 2.8 MB / 0.6047 GB, free: 13.76 MB / 426.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.01637/0.362, allocations: 9.97 MB / 0.6145 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.3723, allocations: 4.216 MB / 0.6186 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/0.3762, allocations: 1.991 MB / 0.6205 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.3765, allocations: 45.95 kB / 0.6206 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00437/0.3808, allocations: 2.244 MB / 0.6228 GB, free: 10.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.468e-06/0.3809, allocations: 4 kB / 0.6228 GB, free: 10.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.12/0.5008, allocations: 28.82 MB / 0.6509 GB, free: 13.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.501, allocations: 188.2 kB / 0.6511 GB, free: 13.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.5046, allocations: 2.337 MB / 0.6534 GB, free: 11.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005695/0.5052, allocations: 73.7 kB / 0.6534 GB, free: 11.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008255/0.506, allocations: 1.176 MB / 0.6546 GB, free: 9.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.5071, allocations: 0.8819 MB / 0.6555 GB, free: 9.016 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.5083, allocations: 0.5699 MB / 0.656 GB, free: 8.438 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.5084, allocations: 301.1 kB / 0.6563 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00428/0.5127, allocations: 1.99 MB / 0.6582 GB, free: 6.148 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004906/0.5176, allocations: 2.362 MB / 0.6606 GB, free: 3.695 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05503/0.5727, allocations: 14.38 MB / 0.6746 GB, free: 5.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.5727, allocations: 7.938 kB / 0.6746 GB, free: 5.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2583/0.831, allocations: 12.61 MB / 0.6869 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.8311, allocations: 119.7 kB / 0.687 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.8311, allocations: 6 kB / 0.687 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/0.8493, allocations: 5.432 MB / 0.6923 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.8521, allocations: 0.5821 MB / 0.6929 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05271/0.9049, allocations: 21.76 MB / 0.7142 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/0.9095, allocations: 488.2 kB / 0.7146 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/0.9101, allocations: 124 kB / 0.7147 GB, free: 93.74 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 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.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 (336): * Single equations (assignments): 331 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001561/0.9117, allocations: 0.5354 MB / 0.7153 GB, free: 93.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008507/0.9126, allocations: 297.8 kB / 0.7155 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03646/0.949, allocations: 11.95 MB / 0.7272 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.9491, allocations: 24 kB / 0.7272 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-05/0.9492, allocations: 23.94 kB / 0.7273 GB, free: 80.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/0.9492, allocations: 11.95 kB / 0.7273 GB, free: 80.87 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.04027/0.9895, allocations: 15.59 MB / 0.7425 GB, free: 65.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.9896, allocations: 0 / 0.7425 GB, free: 65.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.9912, allocations: 255.7 kB / 0.7427 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01613/1.007, allocations: 5.29 MB / 0.7479 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006937/1.008, allocations: 51.98 kB / 0.748 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05049/1.059, allocations: 22.67 MB / 0.7701 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.059, allocations: 480 / 0.7701 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2689/1.328, allocations: 93.68 MB / 0.8616 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/1.328, allocations: 416.8 kB / 0.862 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.328, allocations: 40 kB / 0.862 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.331, allocations: 303.6 kB / 0.8623 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001998/1.333, allocations: 0.5722 MB / 0.8629 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/1.334, allocations: 63.98 kB / 0.8629 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002034/1.336, allocations: 1.543 MB / 0.8644 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/1.336, allocations: 4 kB / 0.8644 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004092/1.34, allocations: 1.67 MB / 0.8661 GB, free: 1.434 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.0003673/1.34, allocations: 185.5 kB / 0.8662 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.358, allocations: 6.674 MB / 0.8728 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.358, allocations: 6.906 kB / 0.8728 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01262/1.37, allocations: 4.43 MB / 0.8771 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.372, allocations: 259.2 kB / 0.8773 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.393, allocations: 10.27 MB / 0.8874 GB, free: 11.35 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.395, allocations: 1.936 MB / 0.8893 GB, free: 9.375 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001356/1.397, allocations: 278.7 kB / 0.8895 GB, free: 9.102 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/1.397, allocations: 171.4 kB / 0.8897 GB, free: 8.934 MB / 0.573 GB Notification: Performance of SimCode: time 4.81e-07/1.397, allocations: 0 / 0.8897 GB, free: 8.934 MB / 0.573 GB Notification: Performance of Templates: time 0.3244/1.722, allocations: 88.97 MB / 0.9766 GB, free: 134.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)