Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000973/0.000973, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.2 MB / 218.5 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.000829, allocations: 86.22 kB / 266.6 MB, free: 9.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06721/0.06721, allocations: 12.59 MB / 327.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2829/0.2829, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.777e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 69.32 MB / 0.5895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4729, allocations: 101 MB / 0.6881 GB, free: 14.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4732, allocations: 79.28 kB / 0.6882 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08642/0.5596, allocations: 31.75 MB / 0.7192 GB, free: 3.539 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5597, allocations: 0 / 0.7192 GB, free: 3.539 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.464e-05/0.5597, allocations: 20 kB / 0.7192 GB, free: 3.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004531/0.5643, allocations: 1.765 MB / 0.721 GB, free: 1.809 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5643, allocations: 11.98 kB / 0.721 GB, free: 1.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.5678, allocations: 0.567 MB / 0.7215 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.5691, allocations: 0.7928 MB / 0.7223 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.5694, allocations: 273.7 kB / 0.7226 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5696, allocations: 75.31 kB / 0.7226 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5713, allocations: 0.9566 MB / 0.7236 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.5713, allocations: 0 / 0.7236 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/0.5714, allocations: 27.25 kB / 0.7236 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5714, allocations: 20 kB / 0.7236 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.5729, allocations: 0.8577 MB / 0.7245 GB, free: 15.09 MB / 474.7 MB 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.006433/0.5793, allocations: 3.893 MB / 0.7283 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007629/0.587, allocations: 2.684 MB / 0.7309 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009105/0.5879, allocations: 0.5575 MB / 0.7314 GB, free: 9.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.588, allocations: 16.45 kB / 0.7314 GB, free: 9.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.5892, allocations: 0.704 MB / 0.7321 GB, free: 8.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 3.036e-06/0.5892, allocations: 0 / 0.7321 GB, free: 8.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.01266/0.6019, allocations: 4.054 MB / 0.7361 GB, free: 5.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.602, allocations: 119.6 kB / 0.7362 GB, free: 5.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.6036, allocations: 0.928 MB / 0.7371 GB, free: 4.434 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.6038, allocations: 43.27 kB / 0.7372 GB, free: 4.398 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.6042, allocations: 0.5203 MB / 0.7377 GB, free: 4.117 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.6046, allocations: 353.3 kB / 0.738 GB, free: 3.812 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.6047, allocations: 27.47 kB / 0.738 GB, free: 3.801 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6048, allocations: 347.2 kB / 0.7384 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.6056, allocations: 479 kB / 0.7388 GB, free: 3.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/0.6065, allocations: 0.5993 MB / 0.7394 GB, free: 2.801 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.6074, allocations: 0.578 MB / 0.74 GB, free: 2.422 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6074, allocations: 0 / 0.74 GB, free: 2.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01288/0.6203, allocations: 4.192 MB / 0.7441 GB, free: 14.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.6204, allocations: 63.39 kB / 0.7441 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6204, allocations: 4 kB / 0.7441 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006122/0.6266, allocations: 1.619 MB / 0.7457 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.6276, allocations: 182.8 kB / 0.7459 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.6439, allocations: 8.111 MB / 0.7538 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.6457, allocations: 207.2 kB / 0.754 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.6459, allocations: 39.98 kB / 0.754 GB, free: 4.914 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.6464, allocations: 191.5 kB / 0.7542 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.6468, allocations: 126.4 kB / 0.7543 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.6598, allocations: 4.202 MB / 0.7584 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6598, allocations: 8 kB / 0.7584 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.6598, allocations: 8 kB / 0.7585 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.6599, allocations: 3.984 kB / 0.7585 GB, free: 344 kB / 490.7 MB 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.01513/0.675, allocations: 5.785 MB / 0.7641 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.675, allocations: 4.031 kB / 0.7641 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.6758, allocations: 107.8 kB / 0.7642 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005214/0.681, allocations: 1.508 MB / 0.7657 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.6814, allocations: 28 kB / 0.7657 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.696, allocations: 7.697 MB / 0.7732 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6961, allocations: 0 / 0.7732 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/0.7102, allocations: 4.956 MB / 0.7781 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.7107, allocations: 227.3 kB / 0.7783 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.7111, allocations: 24 kB / 0.7783 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.7125, allocations: 151.8 kB / 0.7785 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/0.7132, allocations: 188.7 kB / 0.7786 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7133, allocations: 35.97 kB / 0.7787 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001135/0.7144, allocations: 0.7219 MB / 0.7794 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7144, allocations: 4 kB / 0.7794 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00147/0.7159, allocations: 459.5 kB / 0.7798 GB, free: 9.996 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/0.7162, allocations: 151.1 kB / 0.78 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005498/0.7218, allocations: 2.246 MB / 0.7822 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7218, allocations: 0 / 0.7822 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.7259, allocations: 1.615 MB / 0.7837 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.7268, allocations: 105.3 kB / 0.7838 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.7305, allocations: 1.917 MB / 0.7857 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.7312, allocations: 1.162 MB / 0.7868 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005148/0.7317, allocations: 90.91 kB / 0.7869 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.732, allocations: 67.42 kB / 0.787 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.7321, allocations: 0 / 0.787 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of Templates: time 0.03446/0.7665, allocations: 21.37 MB / 0.8079 GB, free: 13.09 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)