Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.008026/0.008026, allocations: 169.6 kB / 15.12 MB, free: 5.559 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.354/1.354, allocations: 223.2 MB / 239 MB, free: 1.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009413, allocations: 106.7 kB / 290.2 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4588/0.4588, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3342, allocations: 69.34 MB / 0.5558 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009893/0.3441, allocations: 12.24 MB / 0.5677 GB, free: 32.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.3521, allocations: 3.626 MB / 0.5713 GB, free: 30.27 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.3558, allocations: 34.69 kB / 0.5713 GB, free: 30.27 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.3582, allocations: 399.2 kB / 0.5717 GB, free: 30.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.3634, allocations: 1.363 MB / 0.573 GB, free: 29.15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.3667, allocations: 1.278 MB / 0.5742 GB, free: 28.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.371, allocations: 2.416 MB / 0.5766 GB, free: 27.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.3722, allocations: 0.6984 MB / 0.5773 GB, free: 26.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.3741, allocations: 1.343 MB / 0.5786 GB, free: 26.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.3763, allocations: 1.712 MB / 0.5803 GB, free: 25.45 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008712/0.3772, allocations: 146.9 kB / 0.5804 GB, free: 25.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3787, allocations: 263.3 kB / 0.5807 GB, free: 25.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008362/0.3795, allocations: 0.5943 MB / 0.5812 GB, free: 25.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009821/0.3805, allocations: 0.5228 MB / 0.5818 GB, free: 24.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.383, allocations: 2.867 MB / 0.5846 GB, free: 23.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.383, allocations: 0 / 0.5846 GB, free: 23.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.383, allocations: 0 / 0.5846 GB, free: 23.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.603e-05/0.3831, allocations: 4 kB / 0.5846 GB, free: 23.87 MB / 426.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.0207/0.4038, allocations: 6.26 MB / 0.5907 GB, free: 21.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4038, allocations: 7.219 kB / 0.5907 GB, free: 21.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.4179, allocations: 2.306 MB / 0.5929 GB, free: 21.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.4216, allocations: 1.802 MB / 0.5947 GB, free: 20.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005666/0.4222, allocations: 0.7482 MB / 0.5954 GB, free: 19.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.4227, allocations: 227 kB / 0.5956 GB, free: 19.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/0.4287, allocations: 3.218 MB / 0.5988 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.4288, allocations: 0.875 kB / 0.5988 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.429, allocations: 84.81 kB / 0.5989 GB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.4291, allocations: 57.98 kB / 0.5989 GB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00584/0.4349, allocations: 2.99 MB / 0.6018 GB, free: 17.13 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.01904/0.454, allocations: 10.51 MB / 0.6121 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.466, allocations: 4.896 MB / 0.6169 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.4666, allocations: 44 kB / 0.6169 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00501/0.4717, allocations: 2.44 MB / 0.6193 GB, free: 7.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 8.466e-06/0.4717, allocations: 0 / 0.6193 GB, free: 7.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1303/0.602, allocations: 35.4 MB / 0.6539 GB, free: 4.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.6021, allocations: 188.1 kB / 0.6541 GB, free: 4.758 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/0.6055, allocations: 2.317 MB / 0.6563 GB, free: 2.422 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005485/0.606, allocations: 69.7 kB / 0.6564 GB, free: 2.348 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000805/0.6068, allocations: 1.172 MB / 0.6575 GB, free: 1.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/0.6077, allocations: 0.8858 MB / 0.6584 GB, free: 272 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.608, allocations: 64 kB / 0.6585 GB, free: 208 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6082, allocations: 433 kB / 0.6589 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/0.6127, allocations: 2.177 MB / 0.661 GB, free: 13.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/0.6174, allocations: 2.532 MB / 0.6635 GB, free: 10.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004721/0.6221, allocations: 2.44 MB / 0.6658 GB, free: 8.492 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6222, allocations: 0 / 0.6658 GB, free: 8.492 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04501/0.6672, allocations: 15.31 MB / 0.6808 GB, free: 9.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.6673, allocations: 118.8 kB / 0.6809 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.6673, allocations: 8 kB / 0.6809 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02079/0.6881, allocations: 6.493 MB / 0.6873 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.6912, allocations: 0.5811 MB / 0.6878 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06626/0.7575, allocations: 27.88 MB / 0.7151 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/0.7622, allocations: 0.5909 MB / 0.7156 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.7626, allocations: 124 kB / 0.7158 GB, free: 4.984 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001208/0.7638, allocations: 0.5342 MB / 0.7163 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/0.7643, allocations: 300.2 kB / 0.7166 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04449/0.8088, allocations: 14.78 MB / 0.731 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.8089, allocations: 31.94 kB / 0.731 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/0.8089, allocations: 20 kB / 0.731 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.349e-05/0.809, allocations: 11.95 kB / 0.7311 GB, free: 5.199 MB / 0.5261 GB 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.04921/0.8582, allocations: 18.5 MB / 0.7491 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.8582, allocations: 0 / 0.7491 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.8599, allocations: 255.6 kB / 0.7494 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0195/0.8794, allocations: 6.26 MB / 0.7555 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000659/0.8801, allocations: 55.94 kB / 0.7555 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.325/1.205, allocations: 26.86 MB / 0.7818 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.205, allocations: 10.69 kB / 0.7818 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0509/1.256, allocations: 17.39 MB / 0.7988 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.257, allocations: 427.2 kB / 0.7992 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.258, allocations: 53.7 kB / 0.7992 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/1.262, allocations: 407.8 kB / 0.7996 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002259/1.264, allocations: 0.5738 MB / 0.8002 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.265, allocations: 70.47 kB / 0.8002 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002313/1.267, allocations: 1.522 MB / 0.8017 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.267, allocations: 0 / 0.8017 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003471/1.27, allocations: 1.199 MB / 0.8029 GB, free: 159.7 MB / 0.5573 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 (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: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003724/1.271, allocations: 173.3 kB / 0.8031 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01915/1.29, allocations: 7.691 MB / 0.8106 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.29, allocations: 0.5 kB / 0.8106 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/1.304, allocations: 5.119 MB / 0.8156 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.306, allocations: 227.6 kB / 0.8158 GB, free: 155 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008166/1.314, allocations: 6.67 MB / 0.8223 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.315, allocations: 1.879 MB / 0.8241 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001168/1.316, allocations: 267.6 kB / 0.8244 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/1.317, allocations: 166.8 kB / 0.8245 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/1.317, allocations: 0 / 0.8245 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.07118/1.388, allocations: 57.32 MB / 0.8805 GB, free: 93.32 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)