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.004704/0.004704, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.262/1.262, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008612/0.0008613, allocations: 102.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4742/0.4742, allocations: 78.59 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 12 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 69.34 MB / 0.5558 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.476, allocations: 100.9 MB / 0.6544 GB, free: 5.559 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4763, allocations: 79.95 kB / 0.6544 GB, free: 5.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1841/0.6604, allocations: 70.75 MB / 0.7235 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6605, allocations: 4 kB / 0.7235 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003372/0.6608, allocations: 59.94 kB / 0.7236 GB, free: 14.29 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.01624/0.6771, allocations: 4.719 MB / 0.7282 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6771, allocations: 8.031 kB / 0.7282 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.688, allocations: 1.623 MB / 0.7298 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.6935, allocations: 1.725 MB / 0.7315 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009454/0.6944, allocations: 0.7486 MB / 0.7322 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.6955, allocations: 211.9 kB / 0.7324 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00866/0.7042, allocations: 3.227 MB / 0.7355 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.7043, allocations: 3.953 kB / 0.7355 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.7046, allocations: 80 kB / 0.7356 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.7046, allocations: 48 kB / 0.7357 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.7111, allocations: 2.995 MB / 0.7386 GB, free: 14.54 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.0202/0.7313, allocations: 10.01 MB / 0.7484 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.7434, allocations: 4.902 MB / 0.7532 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.744, allocations: 37.95 kB / 0.7532 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005516/0.7495, allocations: 2.445 MB / 0.7556 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=250): time 3.958e-06/0.7495, allocations: 0 / 0.7556 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.3743/1.124, allocations: 32.1 MB / 0.7869 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/1.124, allocations: 185.1 kB / 0.7871 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.127, allocations: 1.973 MB / 0.789 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005711/1.128, allocations: 68.97 kB / 0.7891 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008291/1.128, allocations: 1.218 MB / 0.7903 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008277/1.129, allocations: 0.8571 MB / 0.7911 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/1.129, allocations: 49.75 kB / 0.7912 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.13, allocations: 400.7 kB / 0.7915 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/1.133, allocations: 1.9 MB / 0.7934 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/1.137, allocations: 2.207 MB / 0.7956 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/1.141, allocations: 2.122 MB / 0.7976 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.141, allocations: 2.375 kB / 0.7976 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04349/1.185, allocations: 14.57 MB / 0.8119 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/1.185, allocations: 122 kB / 0.812 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/1.185, allocations: 8.938 kB / 0.812 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.204, allocations: 6.562 MB / 0.8184 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.206, allocations: 409.5 kB / 0.8188 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0579/1.264, allocations: 27.82 MB / 0.8459 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/1.269, allocations: 0.5445 MB / 0.8465 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/1.269, allocations: 91.28 kB / 0.8466 GB, free: 106.6 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.001489/1.271, allocations: 0.5117 MB / 0.8471 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/1.271, allocations: 303.6 kB / 0.8474 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03956/1.311, allocations: 14.79 MB / 0.8618 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/1.311, allocations: 27.47 kB / 0.8618 GB, free: 97.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.311, allocations: 20 kB / 0.8618 GB, free: 97.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/1.311, allocations: 11.25 kB / 0.8619 GB, free: 97.87 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.04368/1.355, allocations: 18.38 MB / 0.8798 GB, free: 83.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.355, allocations: 0 / 0.8798 GB, free: 83.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.356, allocations: 248.5 kB / 0.88 GB, free: 83.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0164/1.373, allocations: 6.224 MB / 0.8861 GB, free: 78.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000542/1.373, allocations: 51.7 kB / 0.8862 GB, free: 78.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05067/1.424, allocations: 26.9 MB / 0.9124 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.424, allocations: 0 / 0.9124 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04298/1.467, allocations: 17.4 MB / 0.9294 GB, free: 36.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.468, allocations: 422.8 kB / 0.9298 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007711/1.469, allocations: 48 kB / 0.9299 GB, free: 35.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.472, allocations: 410.9 kB / 0.9303 GB, free: 35.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/1.474, allocations: 0.58 MB / 0.9308 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.474, allocations: 63.98 kB / 0.9309 GB, free: 34.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002079/1.477, allocations: 1.531 MB / 0.9324 GB, free: 33.33 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.477, allocations: 0 / 0.9324 GB, free: 33.33 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002754/1.479, allocations: 1.129 MB / 0.9335 GB, free: 32.21 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.0003837/1.48, allocations: 190.4 kB / 0.9337 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01564/1.495, allocations: 7.233 MB / 0.9407 GB, free: 24.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/1.495, allocations: 0 / 0.9407 GB, free: 24.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/1.507, allocations: 5.082 MB / 0.9457 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.508, allocations: 237.7 kB / 0.9459 GB, free: 19.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/1.516, allocations: 6.677 MB / 0.9524 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/1.517, allocations: 1.876 MB / 0.9543 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009651/1.518, allocations: 221.9 kB / 0.9545 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/1.519, allocations: 139.4 kB / 0.9546 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/1.519, allocations: 0 / 0.9546 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of Templates: time 0.2952/1.814, allocations: 56.19 MB / 1.009 GB, free: 141.2 MB / 0.5886 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)