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.004858/0.004858, allocations: 170 kB / 15.11 MB, free: 5.973 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.145/1.145, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008047/0.0008047, allocations: 101.9 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4081/0.4081, allocations: 78.51 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 19.92 kB / 499.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 69.35 MB / 0.5557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.4018, allocations: 101 MB / 0.6543 GB, free: 5.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4021, allocations: 87.95 kB / 0.6544 GB, free: 5.344 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/0.5686, allocations: 70.74 MB / 0.7235 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5686, allocations: 4 kB / 0.7235 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001419/0.5687, allocations: 55.94 kB / 0.7235 GB, free: 14.16 MB / 0.5261 GB 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.01241/0.5812, allocations: 4.727 MB / 0.7281 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5812, allocations: 8.031 kB / 0.7281 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008883/0.5901, allocations: 1.623 MB / 0.7297 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.5936, allocations: 1.721 MB / 0.7314 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/0.5942, allocations: 0.7487 MB / 0.7321 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.5946, allocations: 211.9 kB / 0.7323 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/0.6003, allocations: 3.223 MB / 0.7355 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.6004, allocations: 3.953 kB / 0.7355 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.6006, allocations: 87.98 kB / 0.7356 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.6006, allocations: 56 kB / 0.7356 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.606, allocations: 2.995 MB / 0.7386 GB, free: 14.39 MB / 0.5417 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 preOpt removeSimpleEquations (simulation): time 0.01638/0.6224, allocations: 9.999 MB / 0.7483 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.6334, allocations: 4.902 MB / 0.7531 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.6341, allocations: 37.97 kB / 0.7531 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005609/0.6397, allocations: 2.435 MB / 0.7555 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=250): time 6.964e-06/0.6398, allocations: 3.984 kB / 0.7555 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.3219/0.9616, allocations: 32.1 MB / 0.7869 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.9617, allocations: 182.9 kB / 0.787 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.9645, allocations: 1.971 MB / 0.789 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005372/0.9651, allocations: 66.52 kB / 0.789 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.9659, allocations: 1.222 MB / 0.7902 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000786/0.9667, allocations: 0.8596 MB / 0.7911 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.9669, allocations: 46.56 kB / 0.7911 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.967, allocations: 402 kB / 0.7915 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.9707, allocations: 1.898 MB / 0.7933 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004238/0.9749, allocations: 2.208 MB / 0.7955 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.9788, allocations: 2.124 MB / 0.7976 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.9788, allocations: 2.438 kB / 0.7976 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03947/1.018, allocations: 14.57 MB / 0.8118 GB, free: 114 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/1.018, allocations: 120.8 kB / 0.8119 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/1.018, allocations: 11.53 kB / 0.8119 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01773/1.036, allocations: 6.556 MB / 0.8183 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/1.038, allocations: 414.3 kB / 0.8187 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05461/1.093, allocations: 27.82 MB / 0.8459 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.097, allocations: 0.5404 MB / 0.8464 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/1.098, allocations: 91.44 kB / 0.8465 GB, free: 105.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(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(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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 (229): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001476/1.099, allocations: 0.5126 MB / 0.847 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/1.1, allocations: 305.7 kB / 0.8473 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03645/1.136, allocations: 14.79 MB / 0.8617 GB, free: 96.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.136, allocations: 31.56 kB / 0.8618 GB, free: 96.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.136, allocations: 16 kB / 0.8618 GB, free: 96.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/1.136, allocations: 13.98 kB / 0.8618 GB, free: 96.85 MB / 0.5573 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.04037/1.177, allocations: 18.37 MB / 0.8797 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.177, allocations: 2.688 kB / 0.8797 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.178, allocations: 252 kB / 0.88 GB, free: 82.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/1.194, allocations: 6.216 MB / 0.8861 GB, free: 77.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005378/1.194, allocations: 47.52 kB / 0.8861 GB, free: 77.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04862/1.243, allocations: 26.91 MB / 0.9124 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/1.243, allocations: 0 / 0.9124 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03943/1.283, allocations: 17.39 MB / 0.9294 GB, free: 35.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009197/1.284, allocations: 424.7 kB / 0.9298 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/1.284, allocations: 50.62 kB / 0.9298 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.287, allocations: 411.6 kB / 0.9302 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001786/1.288, allocations: 0.5761 MB / 0.9308 GB, free: 33.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.289, allocations: 63.98 kB / 0.9308 GB, free: 33.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001823/1.291, allocations: 1.527 MB / 0.9323 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.291, allocations: 0 / 0.9323 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002452/1.293, allocations: 1.132 MB / 0.9334 GB, free: 31.22 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/1.293, allocations: 191.8 kB / 0.9336 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0146/1.308, allocations: 7.229 MB / 0.9407 GB, free: 23.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.308, allocations: 4 kB / 0.9407 GB, free: 23.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01079/1.319, allocations: 5.082 MB / 0.9456 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.32, allocations: 239.9 kB / 0.9459 GB, free: 18.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/1.327, allocations: 6.678 MB / 0.9524 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/1.328, allocations: 1.88 MB / 0.9542 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007966/1.329, allocations: 217.2 kB / 0.9544 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/1.33, allocations: 139.4 kB / 0.9546 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/1.33, allocations: 0 / 0.9546 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of Templates: time 0.272/1.602, allocations: 56.19 MB / 1.009 GB, free: 139 MB / 0.5886 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)