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.001331/0.001331, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008253/0.0008253, allocations: 79.78 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4439/0.4439, allocations: 78.08 MB / 409.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.159e-05/1.16e-05, allocations: 4 kB / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 69.37 MB / 0.5413 GB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4913, allocations: 100.2 MB / 0.6391 GB, free: 15.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4916, allocations: 80.66 kB / 0.6392 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1794/0.6709, allocations: 69.69 MB / 0.7073 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.671, allocations: 4 kB / 0.7073 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001595/0.6712, allocations: 52.75 kB / 0.7073 GB, free: 9.363 MB / 0.5105 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.01301/0.6842, allocations: 4.069 MB / 0.7113 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.6843, allocations: 12.03 kB / 0.7113 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.6948, allocations: 1.603 MB / 0.7129 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/0.6994, allocations: 1.663 MB / 0.7145 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000835/0.7002, allocations: 0.6706 MB / 0.7152 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006629/0.7009, allocations: 131.9 kB / 0.7153 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004525/0.7054, allocations: 2.227 MB / 0.7175 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/0.7097, allocations: 2.296 MB / 0.7197 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.7098, allocations: 3.953 kB / 0.7197 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.71, allocations: 3.984 kB / 0.7197 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.71, allocations: 52 kB / 0.7198 GB, free: 12.29 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0192/0.7293, allocations: 9.668 MB / 0.7292 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009598/0.7389, allocations: 4.137 MB / 0.7332 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/0.7422, allocations: 1.476 MB / 0.7347 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.7425, allocations: 45.95 kB / 0.7347 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003256/0.7458, allocations: 1.733 MB / 0.7364 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 4.529e-06/0.7458, allocations: 0 / 0.7364 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.0373/0.7831, allocations: 12.36 MB / 0.7485 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.7833, allocations: 184.3 kB / 0.7487 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.7862, allocations: 1.737 MB / 0.7504 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000602/0.7868, allocations: 29.64 kB / 0.7504 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000957/0.7877, allocations: 1.208 MB / 0.7516 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.7888, allocations: 0.8357 MB / 0.7524 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.789, allocations: 0 / 0.7524 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7892, allocations: 399 kB / 0.7528 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.7912, allocations: 1.224 MB / 0.754 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.7935, allocations: 1.519 MB / 0.7554 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.7957, allocations: 1.346 MB / 0.7568 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.7957, allocations: 1.125 kB / 0.7568 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.323/1.119, allocations: 12.37 MB / 0.7688 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.119, allocations: 121.4 kB / 0.769 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.119, allocations: 5.906 kB / 0.769 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/1.135, allocations: 5.072 MB / 0.7739 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.138, allocations: 417.8 kB / 0.7743 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0398/1.178, allocations: 18.88 MB / 0.7927 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004745/1.182, allocations: 500 kB / 0.7932 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/1.183, allocations: 89.7 kB / 0.7933 GB, free: 110.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.0006895/1.184, allocations: 219.7 kB / 0.7935 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/1.184, allocations: 297 kB / 0.7938 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04043/1.225, allocations: 12.65 MB / 0.8062 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/1.225, allocations: 27.83 kB / 0.8062 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.872e-05/1.225, allocations: 17.84 kB / 0.8062 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-05/1.225, allocations: 13.47 kB / 0.8062 GB, free: 109.8 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.04277/1.268, allocations: 16.03 MB / 0.8219 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/1.268, allocations: 3.562 kB / 0.8219 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.27, allocations: 254 kB / 0.8221 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0147/1.284, allocations: 4.954 MB / 0.8269 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007397/1.285, allocations: 15.72 kB / 0.827 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03441/1.319, allocations: 19 MB / 0.8455 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.93e-05/1.32, allocations: 0 / 0.8455 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03803/1.358, allocations: 14.64 MB / 0.8598 GB, free: 94.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.359, allocations: 420.5 kB / 0.8602 GB, free: 93.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008924/1.36, allocations: 7.969 kB / 0.8602 GB, free: 93.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.363, allocations: 371.7 kB / 0.8606 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001845/1.365, allocations: 0.5855 MB / 0.8612 GB, free: 93.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.365, allocations: 63.19 kB / 0.8612 GB, free: 93.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001649/1.367, allocations: 1.302 MB / 0.8625 GB, free: 92.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.367, allocations: 0 / 0.8625 GB, free: 92.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003517/1.37, allocations: 1.017 MB / 0.8635 GB, free: 91.1 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 () * 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.0004279/1.371, allocations: 153.9 kB / 0.8636 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.384, allocations: 5.74 MB / 0.8692 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.384, allocations: 0 / 0.8692 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.396, allocations: 4.286 MB / 0.8734 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.398, allocations: 187 kB / 0.8736 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/1.406, allocations: 4.174 MB / 0.8777 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.407, allocations: 1.878 MB / 0.8795 GB, free: 76.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001173/1.408, allocations: 212.2 kB / 0.8797 GB, free: 76.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/1.409, allocations: 138.7 kB / 0.8798 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/1.409, allocations: 0 / 0.8798 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.07072/1.48, allocations: 51.71 MB / 0.9303 GB, free: 34.62 MB / 0.5573 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)