Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004539/0.004538, allocations: 170.8 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.169/1.169, allocations: 223.2 MB / 239 MB, free: 1.762 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.0007839/0.0007839, allocations: 106 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4027/0.4027, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 11.98 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2987, allocations: 69.35 MB / 0.5557 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.4049, allocations: 102.4 MB / 0.6557 GB, free: 3.941 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4052, allocations: 86.67 kB / 0.6558 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2253/0.6305, allocations: 100.4 MB / 0.7538 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6305, allocations: 0 / 0.7538 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002045/0.6307, allocations: 99.88 kB / 0.7539 GB, free: 14.75 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01771/0.6484, allocations: 6.621 MB / 0.7604 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6485, allocations: 12.03 kB / 0.7604 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.6649, allocations: 2.803 MB / 0.7632 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.6702, allocations: 2.337 MB / 0.7654 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/0.671, allocations: 0.9634 MB / 0.7664 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007247/0.6717, allocations: 347.9 kB / 0.7667 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2487/0.9205, allocations: 4.963 MB / 0.7716 GB, free: 90.31 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.289e-05/0.9206, allocations: 0 / 0.7716 GB, free: 90.31 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.921, allocations: 138.3 kB / 0.7717 GB, free: 90.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.921, allocations: 86.59 kB / 0.7718 GB, free: 90.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.9311, allocations: 4.528 MB / 0.7762 GB, free: 90.28 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 preOpt removeSimpleEquations (simulation): time 0.02615/0.9573, allocations: 18.72 MB / 0.7945 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.9681, allocations: 5.688 MB / 0.8 GB, free: 83.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.9684, allocations: 67.67 kB / 0.8001 GB, free: 83.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.9685, allocations: 75.31 kB / 0.8002 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.741e-06/0.9685, allocations: 0 / 0.8002 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.2756/1.244, allocations: 79 MB / 0.8773 GB, free: 78.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/1.244, allocations: 171.5 kB / 0.8775 GB, free: 78.56 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/1.248, allocations: 2.749 MB / 0.8802 GB, free: 76.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007781/1.249, allocations: 85.95 kB / 0.8802 GB, free: 76.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.25, allocations: 2.002 MB / 0.8822 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.251, allocations: 1.302 MB / 0.8835 GB, free: 75.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/1.251, allocations: 72.25 kB / 0.8835 GB, free: 75.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.251, allocations: 442.5 kB / 0.884 GB, free: 75.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.256, allocations: 2.673 MB / 0.8866 GB, free: 72.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/1.261, allocations: 3.256 MB / 0.8897 GB, free: 69.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/1.265, allocations: 2.919 MB / 0.8926 GB, free: 67.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.265, allocations: 4 kB / 0.8926 GB, free: 67.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.04921/1.314, allocations: 20.21 MB / 0.9123 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/1.315, allocations: 6.69 MB / 0.9189 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.316, allocations: 18.16 kB / 0.9189 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/1.34, allocations: 8.578 MB / 0.9273 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.342, allocations: 0.541 MB / 0.9278 GB, free: 30.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08065/1.423, allocations: 38.24 MB / 0.9651 GB, free: 8.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/1.429, allocations: 0.7068 MB / 0.9658 GB, free: 7.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008304/1.43, allocations: 132 kB / 0.966 GB, free: 7.496 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.43, allocations: 4 kB / 0.966 GB, free: 7.492 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05589/1.486, allocations: 19.77 MB / 0.9853 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.743e-05/1.486, allocations: 16 kB / 0.9853 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2766/1.762, allocations: 8.577 MB / 0.9937 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/1.765, allocations: 0.5274 MB / 0.9942 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07654/1.841, allocations: 38.23 MB / 1.031 GB, free: 94.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/1.847, allocations: 0.6614 MB / 1.032 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/1.847, allocations: 133.7 kB / 1.032 GB, free: 94.34 MB / 0.5886 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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001895/1.849, allocations: 0.7231 MB / 1.033 GB, free: 94.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000797/1.85, allocations: 461.2 kB / 1.033 GB, free: 93.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0523/1.902, allocations: 20.48 MB / 1.053 GB, free: 93.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/1.902, allocations: 35.47 kB / 1.053 GB, free: 93.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/1.902, allocations: 26.69 kB / 1.053 GB, free: 93.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-05/1.902, allocations: 22.73 kB / 1.054 GB, free: 93.53 MB / 0.5886 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.05592/1.958, allocations: 25.76 MB / 1.079 GB, free: 88.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/1.958, allocations: 7.969 kB / 1.079 GB, free: 88.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.961, allocations: 406.9 kB / 1.079 GB, free: 88.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/1.983, allocations: 8.521 MB / 1.087 GB, free: 86.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007992/1.984, allocations: 82.31 kB / 1.087 GB, free: 86.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06643/2.051, allocations: 32.26 MB / 1.119 GB, free: 70.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.051, allocations: 0 / 1.119 GB, free: 70.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05799/2.109, allocations: 24.14 MB / 1.143 GB, free: 50.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/2.11, allocations: 0.5661 MB / 1.143 GB, free: 50.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/2.112, allocations: 71.66 kB / 1.143 GB, free: 50.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/2.117, allocations: 485.4 kB / 1.144 GB, free: 49.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003019/2.12, allocations: 0.7686 MB / 1.144 GB, free: 49.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006909/2.12, allocations: 95.42 kB / 1.144 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003447/2.124, allocations: 2.11 MB / 1.147 GB, free: 47.67 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/2.124, allocations: 0 / 1.147 GB, free: 47.67 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009538/2.133, allocations: 2.891 MB / 1.149 GB, free: 44.91 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008576/2.134, allocations: 224.7 kB / 1.15 GB, free: 44.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04117/2.175, allocations: 17.25 MB / 1.166 GB, free: 29.89 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/2.175, allocations: 0 / 1.166 GB, free: 29.89 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0175/2.193, allocations: 6.909 MB / 1.173 GB, free: 24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/2.196, allocations: 313.5 kB / 1.173 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/2.211, allocations: 9.938 MB / 1.183 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/2.213, allocations: 2.591 MB / 1.186 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002408/2.216, allocations: 366 kB / 1.186 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/2.217, allocations: 198.1 kB / 1.186 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/2.217, allocations: 0 / 1.186 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.3681/2.585, allocations: 106.8 MB / 1.29 GB, free: 113 MB / 0.6042 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)