Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00833/0.00833, allocations: 171.9 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.299/1.299, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009033/0.0009031, allocations: 82.88 kB / 269.6 MB, free: 13.35 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.05861/0.05861, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3887/0.3887, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005331, allocations: 23.28 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1496, allocations: 69.32 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.577, allocations: 104.1 MB / 0.6978 GB, free: 99.96 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5773, allocations: 82.38 kB / 0.6979 GB, free: 99.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2093/0.7867, allocations: 97.29 MB / 0.7929 GB, free: 15.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7867, allocations: 0 / 0.7929 GB, free: 15.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002226/0.787, allocations: 99.88 kB / 0.793 GB, free: 15.73 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01847/0.8054, allocations: 6.632 MB / 0.7994 GB, free: 9.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8055, allocations: 11.98 kB / 0.7995 GB, free: 9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.8219, allocations: 2.811 MB / 0.8022 GB, free: 6.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/0.8277, allocations: 2.329 MB / 0.8045 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007281/0.8284, allocations: 0.9634 MB / 0.8054 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.8295, allocations: 344 kB / 0.8057 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00929/0.8388, allocations: 4.962 MB / 0.8106 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.8389, allocations: 0 / 0.8106 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.8393, allocations: 140 kB / 0.8107 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.8394, allocations: 95.94 kB / 0.8108 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008777/0.8481, allocations: 4.517 MB / 0.8152 GB, free: 8.594 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.0389/0.8871, allocations: 18.73 MB / 0.8335 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.9009, allocations: 5.689 MB / 0.8391 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.9018, allocations: 78.86 kB / 0.8391 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.9019, allocations: 73.5 kB / 0.8392 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 8.556e-06/0.902, allocations: 0 / 0.8392 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.62/1.522, allocations: 78.99 MB / 0.9164 GB, free: 125.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/1.522, allocations: 169.7 kB / 0.9165 GB, free: 125.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/1.527, allocations: 2.755 MB / 0.9192 GB, free: 125.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.528, allocations: 87.17 kB / 0.9193 GB, free: 125.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.529, allocations: 2.004 MB / 0.9212 GB, free: 124.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.531, allocations: 1.302 MB / 0.9225 GB, free: 124.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.531, allocations: 73.31 kB / 0.9226 GB, free: 124.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.531, allocations: 442.1 kB / 0.923 GB, free: 123.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005102/1.536, allocations: 2.677 MB / 0.9256 GB, free: 123.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005405/1.542, allocations: 3.255 MB / 0.9288 GB, free: 123.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006125/1.548, allocations: 2.923 MB / 0.9317 GB, free: 123.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.548, allocations: 3.75 kB / 0.9317 GB, free: 123.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.0541/1.602, allocations: 20.22 MB / 0.9514 GB, free: 122.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/1.603, allocations: 6.686 MB / 0.9579 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/1.603, allocations: 21.05 kB / 0.958 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02516/1.628, allocations: 8.573 MB / 0.9663 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.631, allocations: 0.5374 MB / 0.9668 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08669/1.718, allocations: 38.25 MB / 1.004 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007085/1.725, allocations: 0.7054 MB / 1.005 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.726, allocations: 127.8 kB / 1.005 GB, free: 100.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.726, allocations: 4 kB / 1.005 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05505/1.781, allocations: 19.76 MB / 1.024 GB, free: 85.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/1.782, allocations: 16 kB / 1.024 GB, free: 85.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02542/1.807, allocations: 8.591 MB / 1.033 GB, free: 78.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.81, allocations: 0.524 MB / 1.033 GB, free: 78.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08602/1.896, allocations: 38.23 MB / 1.071 GB, free: 45.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006714/1.903, allocations: 0.6643 MB / 1.071 GB, free: 44.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.904, allocations: 135.4 kB / 1.071 GB, free: 44.8 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 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.003471/1.908, allocations: 0.7235 MB / 1.072 GB, free: 44.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.909, allocations: 462.3 kB / 1.072 GB, free: 43.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05437/1.964, allocations: 20.47 MB / 1.092 GB, free: 26.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/1.964, allocations: 40 kB / 1.093 GB, free: 26.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/1.964, allocations: 28 kB / 1.093 GB, free: 26.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/1.964, allocations: 19.92 kB / 1.093 GB, free: 26.18 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.06677/2.031, allocations: 25.77 MB / 1.118 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/2.031, allocations: 7.828 kB / 1.118 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/2.034, allocations: 403.5 kB / 1.118 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02631/2.06, allocations: 8.527 MB / 1.126 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/2.061, allocations: 78.36 kB / 1.127 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4117/2.473, allocations: 32.25 MB / 1.158 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.473, allocations: 3.562 kB / 1.158 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06587/2.539, allocations: 24.14 MB / 1.182 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/2.541, allocations: 0.5639 MB / 1.182 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/2.543, allocations: 65.84 kB / 1.182 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005534/2.549, allocations: 490.2 kB / 1.183 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003519/2.552, allocations: 0.7682 MB / 1.183 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000821/2.553, allocations: 93.2 kB / 1.184 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004574/2.558, allocations: 2.106 MB / 1.186 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/2.558, allocations: 0 / 1.186 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01342/2.571, allocations: 2.897 MB / 1.188 GB, free: 143.5 MB / 0.6042 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.001159/2.572, allocations: 225.2 kB / 1.189 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04558/2.618, allocations: 17.24 MB / 1.205 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.618, allocations: 0 / 1.205 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01947/2.637, allocations: 6.917 MB / 1.212 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/2.642, allocations: 302.3 kB / 1.213 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/2.661, allocations: 9.948 MB / 1.222 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/2.663, allocations: 2.599 MB / 1.225 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00215/2.665, allocations: 371.3 kB / 1.225 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/2.666, allocations: 197.2 kB / 1.225 GB, free: 135 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/2.666, allocations: 0 / 1.225 GB, free: 135 MB / 0.6042 GB Notification: Performance of Templates: time 0.1553/2.821, allocations: 106.8 MB / 1.33 GB, free: 47.63 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)