Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.00111/0.00111, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.27/1.27, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001089/0.001089, allocations: 191.7 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4276/0.4276, allocations: 78.52 MB / 419.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 8 kB / 499.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 69.36 MB / 0.5557 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2174/0.3481, allocations: 5.8 MB / 0.5613 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.3517, allocations: 1.967 MB / 0.5633 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008995/0.3526, allocations: 15.41 kB / 0.5633 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.3533, allocations: 169.9 kB / 0.5634 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.3555, allocations: 0.7284 MB / 0.5641 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3568, allocations: 0.5289 MB / 0.5647 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.3586, allocations: 1.015 MB / 0.5657 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.3592, allocations: 266.1 kB / 0.5659 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.3603, allocations: 0.578 MB / 0.5665 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.3613, allocations: 0.7411 MB / 0.5672 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3616, allocations: 63.16 kB / 0.5673 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.3621, allocations: 180.8 kB / 0.5674 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.3623, allocations: 255.5 kB / 0.5677 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.3626, allocations: 231.8 kB / 0.5679 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3637, allocations: 1.23 MB / 0.5691 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.3637, allocations: 3.219 kB / 0.5691 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3637, allocations: 0 / 0.5691 GB, free: 36.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.3638, allocations: 0 / 0.5691 GB, free: 36.24 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.008316/0.3721, allocations: 2.573 MB / 0.5716 GB, free: 35.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3721, allocations: 11.5 kB / 0.5716 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.3774, allocations: 0.7806 MB / 0.5724 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.3794, allocations: 0.8678 MB / 0.5732 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.3797, allocations: 268.4 kB / 0.5735 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.3799, allocations: 90.53 kB / 0.5736 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.382, allocations: 1.148 MB / 0.5747 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3821, allocations: 4 kB / 0.5747 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.3822, allocations: 35.47 kB / 0.5747 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3822, allocations: 17.28 kB / 0.5747 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3841, allocations: 1.06 MB / 0.5758 GB, free: 33.84 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.006379/0.3905, allocations: 4.163 MB / 0.5798 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.3978, allocations: 2.923 MB / 0.5827 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.3981, allocations: 19 kB / 0.5827 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.3999, allocations: 0.8915 MB / 0.5836 GB, free: 30.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.977e-06/0.3999, allocations: 1.594 kB / 0.5836 GB, free: 30.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03173/0.4316, allocations: 8.792 MB / 0.5922 GB, free: 28.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.4317, allocations: 114.8 kB / 0.5923 GB, free: 28.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.4336, allocations: 1.114 MB / 0.5934 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002947/0.434, allocations: 45.06 kB / 0.5934 GB, free: 27.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.4343, allocations: 0.4916 MB / 0.5939 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.4347, allocations: 365.8 kB / 0.5942 GB, free: 27.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4348, allocations: 29.5 kB / 0.5943 GB, free: 27.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.4349, allocations: 367.2 kB / 0.5946 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.4369, allocations: 0.8376 MB / 0.5954 GB, free: 26.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.4388, allocations: 1.002 MB / 0.5964 GB, free: 26.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.4407, allocations: 0.9795 MB / 0.5974 GB, free: 25.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.4407, allocations: 5.312 kB / 0.5974 GB, free: 25.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01534/0.4561, allocations: 5.195 MB / 0.6025 GB, free: 24.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.4562, allocations: 64.2 kB / 0.6025 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4562, allocations: 3.969 kB / 0.6025 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/0.4631, allocations: 1.926 MB / 0.6044 GB, free: 24.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.4649, allocations: 316.4 kB / 0.6047 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.4858, allocations: 9.413 MB / 0.6139 GB, free: 18.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.4878, allocations: 239.7 kB / 0.6141 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.4879, allocations: 55.98 kB / 0.6142 GB, free: 17.96 MB / 430.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005864/0.4885, allocations: 311.4 kB / 0.6145 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4888, allocations: 131.2 kB / 0.6146 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.5011, allocations: 4.736 MB / 0.6192 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.5012, allocations: 12 kB / 0.6192 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.5012, allocations: 4 kB / 0.6192 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.5013, allocations: 11.97 kB / 0.6193 GB, free: 12.73 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 postOpt removeSimpleEquations (simulation): time 0.01446/0.5157, allocations: 6.406 MB / 0.6255 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.5158, allocations: 0 / 0.6255 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.5165, allocations: 101 kB / 0.6256 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/0.5219, allocations: 1.873 MB / 0.6274 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/0.5222, allocations: 23.95 kB / 0.6275 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/0.5415, allocations: 10.14 MB / 0.6374 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5415, allocations: 1.969 kB / 0.6374 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.5567, allocations: 5.681 MB / 0.6429 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.5572, allocations: 236.3 kB / 0.6431 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.5574, allocations: 16 kB / 0.6432 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5587, allocations: 143.9 kB / 0.6433 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/0.5592, allocations: 204.6 kB / 0.6435 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5593, allocations: 32 kB / 0.6435 GB, free: 3.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0011/0.5604, allocations: 0.7435 MB / 0.6442 GB, free: 2.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.5604, allocations: 0 / 0.6442 GB, free: 2.672 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001524/0.562, allocations: 487.6 kB / 0.6447 GB, free: 2.195 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.5622, allocations: 140 kB / 0.6448 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006673/0.5689, allocations: 2.841 MB / 0.6476 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5689, allocations: 0.75 kB / 0.6476 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/0.5733, allocations: 1.795 MB / 0.6494 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.5741, allocations: 97.56 kB / 0.6495 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.5783, allocations: 2.79 MB / 0.6522 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.579, allocations: 1.159 MB / 0.6533 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005035/0.5795, allocations: 117.4 kB / 0.6534 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.5798, allocations: 83.34 kB / 0.6535 GB, free: 9.098 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5798, allocations: 0 / 0.6535 GB, free: 9.098 MB / 462.1 MB Notification: Performance of Templates: time 0.03204/0.6118, allocations: 21.69 MB / 0.6747 GB, free: 3.578 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: