Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006577/0.006577, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.315/1.315, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009822/0.0009822, allocations: 94.78 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06066/0.06066, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4254/0.4254, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005048, allocations: 17.19 kB / 0.5285 GB, free: 35.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 69.34 MB / 0.5962 GB, free: 3.789 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.5188, allocations: 104.5 MB / 0.6982 GB, free: 100.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5191, allocations: 86.08 kB / 0.6983 GB, free: 100.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2205/0.7396, allocations: 98.62 MB / 0.7946 GB, free: 14.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7397, allocations: 7.938 kB / 0.7946 GB, free: 14.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004395/0.7401, allocations: 80 kB / 0.7947 GB, free: 13.95 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02127/0.7614, allocations: 6.647 MB / 0.8012 GB, free: 7.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.7615, allocations: 15.98 kB / 0.8012 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.7788, allocations: 2.807 MB / 0.8039 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007643/0.7865, allocations: 2.3 MB / 0.8062 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.7876, allocations: 0.9924 MB / 0.8071 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/0.7894, allocations: 344 kB / 0.8075 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.8012, allocations: 4.954 MB / 0.8123 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.8013, allocations: 0 / 0.8123 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004062/0.8017, allocations: 144 kB / 0.8124 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/0.8018, allocations: 95.94 kB / 0.8125 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0087/0.8105, allocations: 4.494 MB / 0.8169 GB, free: 6.828 MB / 490.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.03281/0.8433, allocations: 18.68 MB / 0.8352 GB, free: 2.965 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.8557, allocations: 5.714 MB / 0.8407 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.8562, allocations: 66.92 kB / 0.8408 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005976/0.8622, allocations: 3.447 MB / 0.8442 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=385): time 5.661e-06/0.8622, allocations: 0 / 0.8442 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=385): time 0.6128/1.475, allocations: 78.04 MB / 0.9204 GB, free: 127.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/1.475, allocations: 145.2 kB / 0.9205 GB, free: 127.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.48, allocations: 2.753 MB / 0.9232 GB, free: 127.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.481, allocations: 92.05 kB / 0.9233 GB, free: 127.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.483, allocations: 2.001 MB / 0.9253 GB, free: 127.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/1.485, allocations: 1.308 MB / 0.9265 GB, free: 126.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/1.485, allocations: 75.94 kB / 0.9266 GB, free: 126.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.485, allocations: 444 kB / 0.927 GB, free: 126.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005876/1.491, allocations: 2.677 MB / 0.9296 GB, free: 126.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006698/1.498, allocations: 3.259 MB / 0.9328 GB, free: 125.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00583/1.504, allocations: 2.927 MB / 0.9357 GB, free: 125.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.504, allocations: 7.859 kB / 0.9357 GB, free: 125.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05247/1.556, allocations: 20.28 MB / 0.9555 GB, free: 124.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/1.556, allocations: 60.75 kB / 0.9556 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/1.557, allocations: 14.28 kB / 0.9556 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0256/1.582, allocations: 8.642 MB / 0.964 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.585, allocations: 0.5483 MB / 0.9645 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08935/1.675, allocations: 38.45 MB / 1.002 GB, free: 106.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00659/1.681, allocations: 0.7096 MB / 1.003 GB, free: 105.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.682, allocations: 133.5 kB / 1.003 GB, free: 105.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($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): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.003765/1.686, allocations: 0.6591 MB / 1.004 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.688, allocations: 462.3 kB / 1.004 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05484/1.743, allocations: 20.6 MB / 1.024 GB, free: 88.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/1.743, allocations: 36 kB / 1.024 GB, free: 88.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.128e-05/1.743, allocations: 28 kB / 1.024 GB, free: 88.71 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/1.743, allocations: 19.27 kB / 1.024 GB, free: 88.71 MB / 0.573 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.05903/1.802, allocations: 25.6 MB / 1.049 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.802, allocations: 0 / 1.049 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.805, allocations: 394 kB / 1.05 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02433/1.829, allocations: 8.607 MB / 1.058 GB, free: 62.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/1.831, allocations: 71.98 kB / 1.058 GB, free: 62.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0785/1.909, allocations: 34.35 MB / 1.092 GB, free: 27.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.909, allocations: 0 / 1.092 GB, free: 27.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06314/1.972, allocations: 24.28 MB / 1.115 GB, free: 3.266 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/1.975, allocations: 0.5686 MB / 1.116 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.976, allocations: 71.94 kB / 1.116 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004722/1.981, allocations: 499.6 kB / 1.116 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002856/1.984, allocations: 0.7802 MB / 1.117 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/1.984, allocations: 92.73 kB / 1.117 GB, free: 1.242 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003124/1.987, allocations: 2.116 MB / 1.119 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.01e-07/1.987, allocations: 7.938 kB / 1.119 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006799/1.994, allocations: 1.765 MB / 1.121 GB, free: 13.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007663/1.995, allocations: 211.5 kB / 1.121 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02818/2.023, allocations: 10.12 MB / 1.131 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.023, allocations: 0 / 1.131 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02073/2.044, allocations: 7.066 MB / 1.138 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/2.047, allocations: 302.4 kB / 1.138 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/2.063, allocations: 9.883 MB / 1.148 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3119/2.375, allocations: 2.543 MB / 1.15 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001973/2.377, allocations: 297.9 kB / 1.151 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/2.378, allocations: 197.3 kB / 1.151 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.613e-06/2.378, allocations: 3.719 kB / 1.151 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.1263/2.504, allocations: 79.13 MB / 1.228 GB, free: 138.7 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)