Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 174.6 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.313/1.313, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0007858/0.000786, allocations: 93.83 kB / 266.6 MB, free: 9.262 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.07289/0.07289, allocations: 12.58 MB / 327.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2821/0.2821, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.687e-05, allocations: 4 kB / 0.5218 GB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.0981, allocations: 69.34 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.442, allocations: 100.6 MB / 0.6877 GB, free: 14.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4423, allocations: 77.58 kB / 0.6878 GB, free: 14.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08386/0.5262, allocations: 30.45 MB / 0.7176 GB, free: 5.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5262, allocations: 0 / 0.7176 GB, free: 5.039 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.202e-05/0.5263, allocations: 20 kB / 0.7176 GB, free: 5.02 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004265/0.5305, allocations: 1.749 MB / 0.7193 GB, free: 3.328 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5306, allocations: 15.98 kB / 0.7193 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.534, allocations: 0.5599 MB / 0.7198 GB, free: 2.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5354, allocations: 0.814 MB / 0.7206 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.5356, allocations: 236.4 kB / 0.7209 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.5358, allocations: 74.5 kB / 0.7209 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5374, allocations: 0.9583 MB / 0.7219 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5375, allocations: 0 / 0.7219 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.5376, allocations: 27 kB / 0.7219 GB, free: 1.184 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.5376, allocations: 20 kB / 0.7219 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.539, allocations: 0.8658 MB / 0.7228 GB, free: 0.6133 MB / 458.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.006526/0.5456, allocations: 3.95 MB / 0.7266 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007396/0.553, allocations: 2.629 MB / 0.7292 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.5539, allocations: 0.5599 MB / 0.7297 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.554, allocations: 12.78 kB / 0.7297 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.554, allocations: 50.3 kB / 0.7298 GB, free: 10.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 2.876e-06/0.554, allocations: 0 / 0.7298 GB, free: 10.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.01217/0.5662, allocations: 3.932 MB / 0.7336 GB, free: 7.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.5663, allocations: 137.3 kB / 0.7338 GB, free: 7.133 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.5676, allocations: 0.9277 MB / 0.7347 GB, free: 6.441 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5677, allocations: 48.02 kB / 0.7347 GB, free: 6.402 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.568, allocations: 0.5166 MB / 0.7352 GB, free: 6.125 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.5684, allocations: 342.4 kB / 0.7355 GB, free: 5.832 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.5684, allocations: 17.75 kB / 0.7356 GB, free: 5.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5686, allocations: 349.7 kB / 0.7359 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.5693, allocations: 457 kB / 0.7363 GB, free: 5.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008453/0.5702, allocations: 0.5856 MB / 0.7369 GB, free: 4.836 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.5711, allocations: 0.5554 MB / 0.7374 GB, free: 4.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5711, allocations: 0 / 0.7374 GB, free: 4.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01259/0.5837, allocations: 4.173 MB / 0.7415 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.5842, allocations: 1.205 MB / 0.7427 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5842, allocations: 4 kB / 0.7427 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005697/0.5899, allocations: 1.558 MB / 0.7442 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.5908, allocations: 158 kB / 0.7444 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.6053, allocations: 7.921 MB / 0.7521 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.6068, allocations: 199.2 kB / 0.7523 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6069, allocations: 39.98 kB / 0.7523 GB, free: 6.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.6069, allocations: 7.938 kB / 0.7523 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.6192, allocations: 4.036 MB / 0.7563 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.6192, allocations: 4 kB / 0.7563 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005535/0.6247, allocations: 1.548 MB / 0.7578 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.6255, allocations: 155.8 kB / 0.758 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.6402, allocations: 7.923 MB / 0.7657 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6417, allocations: 179.2 kB / 0.7659 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6418, allocations: 39.98 kB / 0.7659 GB, free: 8.379 MB / 0.4948 GB 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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.6422, allocations: 190.9 kB / 0.7661 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.6425, allocations: 130.4 kB / 0.7662 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.6548, allocations: 4.061 MB / 0.7702 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6548, allocations: 15.98 kB / 0.7702 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.6549, allocations: 11.95 kB / 0.7702 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.6549, allocations: 3.984 kB / 0.7702 GB, free: 3.926 MB / 0.4948 GB 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.0143/0.6692, allocations: 5.714 MB / 0.7758 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6692, allocations: 4 kB / 0.7758 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.67, allocations: 127.8 kB / 0.7759 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004564/0.6745, allocations: 1.41 MB / 0.7773 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.6747, allocations: 23.98 kB / 0.7773 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.6864, allocations: 5.716 MB / 0.7829 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6865, allocations: 8 kB / 0.7829 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.6999, allocations: 4.799 MB / 0.7876 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.7003, allocations: 231.2 kB / 0.7878 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7005, allocations: 23.95 kB / 0.7878 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.7018, allocations: 139.9 kB / 0.788 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/0.7023, allocations: 180.7 kB / 0.7881 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.7024, allocations: 27.98 kB / 0.7882 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001001/0.7034, allocations: 0.7216 MB / 0.7889 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7034, allocations: 0 / 0.7889 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001897/0.7054, allocations: 0.6905 MB / 0.7895 GB, free: 15.8 MB / 0.5261 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/0.7057, allocations: 155 kB / 0.7897 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009443/0.7151, allocations: 3.92 MB / 0.7935 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7151, allocations: 3.938 kB / 0.7935 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00387/0.719, allocations: 1.468 MB / 0.795 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.7198, allocations: 108.5 kB / 0.7951 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.7233, allocations: 1.948 MB / 0.797 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.724, allocations: 1.17 MB / 0.7981 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008663/0.7249, allocations: 202.1 kB / 0.7983 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.7251, allocations: 59.42 kB / 0.7983 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.7251, allocations: 3.938 kB / 0.7984 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.04201/0.7671, allocations: 29.01 MB / 0.8267 GB, free: 9.555 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)