Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003932/0.003932, allocations: 170.9 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.167/1.167, allocations: 223.2 MB / 239 MB, free: 1.77 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.0009105/0.0009106, allocations: 93.09 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4076/0.4076, allocations: 79.44 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 69.5 MB / 0.5569 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4367, allocations: 99.67 MB / 0.6542 GB, free: 5.902 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4369, allocations: 82.69 kB / 0.6543 GB, free: 5.824 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08245/0.5194, allocations: 31.58 MB / 0.6852 GB, free: 6.098 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5194, allocations: 0 / 0.6852 GB, free: 6.098 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5195, allocations: 24 kB / 0.6852 GB, free: 6.074 MB / 490.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.005815/0.5254, allocations: 2.072 MB / 0.6872 GB, free: 3.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5254, allocations: 12.03 kB / 0.6872 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.5288, allocations: 0.568 MB / 0.6878 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.5305, allocations: 0.8389 MB / 0.6886 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.5308, allocations: 238.4 kB / 0.6888 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.531, allocations: 76 kB / 0.6889 GB, free: 2.125 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.5333, allocations: 1.169 MB / 0.69 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5333, allocations: 4 kB / 0.69 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.5334, allocations: 28 kB / 0.6901 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5334, allocations: 23.98 kB / 0.6901 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.5356, allocations: 1.082 MB / 0.6911 GB, free: 15.8 MB / 0.4948 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.007052/0.5426, allocations: 3.947 MB / 0.695 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007789/0.5504, allocations: 2.905 MB / 0.6978 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5505, allocations: 16.98 kB / 0.6978 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5506, allocations: 51.48 kB / 0.6979 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 2.706e-06/0.5506, allocations: 0 / 0.6979 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.02742/0.578, allocations: 8.151 MB / 0.7059 GB, free: 404 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.5781, allocations: 145.5 kB / 0.706 GB, free: 228 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.58, allocations: 0.9497 MB / 0.7069 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.5802, allocations: 41.7 kB / 0.707 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.5806, allocations: 0.5247 MB / 0.7075 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.581, allocations: 339 kB / 0.7078 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.5811, allocations: 20 kB / 0.7078 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5812, allocations: 349.9 kB / 0.7081 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5826, allocations: 0.654 MB / 0.7088 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.584, allocations: 0.7971 MB / 0.7096 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5854, allocations: 0.7619 MB / 0.7103 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5854, allocations: 4 kB / 0.7103 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01394/0.5994, allocations: 4.778 MB / 0.715 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.5998, allocations: 1.204 MB / 0.7162 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5998, allocations: 4 kB / 0.7162 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006473/0.6063, allocations: 1.934 MB / 0.718 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.6072, allocations: 163.7 kB / 0.7182 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.628, allocations: 10.61 MB / 0.7286 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.6297, allocations: 199.2 kB / 0.7288 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.6299, allocations: 39.98 kB / 0.7288 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.63, allocations: 0 / 0.7288 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/0.6433, allocations: 4.614 MB / 0.7333 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6433, allocations: 4 kB / 0.7333 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006202/0.6495, allocations: 1.935 MB / 0.7352 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.6503, allocations: 155.8 kB / 0.7353 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/0.6704, allocations: 10.61 MB / 0.7457 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.672, allocations: 183.3 kB / 0.7459 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.6722, allocations: 31.98 kB / 0.7459 GB, free: 6.562 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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: 13 * 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 (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.0007192/0.6729, allocations: 367.5 kB / 0.7463 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.6733, allocations: 130.3 kB / 0.7464 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.6863, allocations: 4.658 MB / 0.7509 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6863, allocations: 8 kB / 0.7509 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.6864, allocations: 8 kB / 0.7509 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.6864, allocations: 3.984 kB / 0.7509 GB, free: 1.352 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 postOpt removeSimpleEquations (simulation): time 0.01506/0.7015, allocations: 6.327 MB / 0.7571 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.7015, allocations: 0 / 0.7571 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.7024, allocations: 119.9 kB / 0.7572 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.7077, allocations: 1.794 MB / 0.759 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.708, allocations: 27.98 kB / 0.759 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.7255, allocations: 8 MB / 0.7668 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7255, allocations: 3.984 kB / 0.7668 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/0.9629, allocations: 5.597 MB / 0.7723 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.9634, allocations: 227 kB / 0.7725 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.9635, allocations: 22.56 kB / 0.7725 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.9647, allocations: 146.4 kB / 0.7727 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/0.9651, allocations: 180.5 kB / 0.7728 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.9652, allocations: 25.22 kB / 0.7729 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001047/0.9663, allocations: 0.7588 MB / 0.7736 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9663, allocations: 0 / 0.7736 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001534/0.9678, allocations: 0.6995 MB / 0.7743 GB, free: 144.4 MB / 0.5573 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 () * Number of clocked 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.0002401/0.9681, allocations: 154.6 kB / 0.7744 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009081/0.9772, allocations: 4.508 MB / 0.7788 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9772, allocations: 3.969 kB / 0.7789 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/0.9807, allocations: 1.692 MB / 0.7805 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.9813, allocations: 110.6 kB / 0.7806 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.9846, allocations: 2.896 MB / 0.7834 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.985, allocations: 1.167 MB / 0.7846 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004507/0.9855, allocations: 126.7 kB / 0.7847 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.9857, allocations: 64.61 kB / 0.7848 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.9857, allocations: 2.938 kB / 0.7848 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.03414/1.02, allocations: 27.03 MB / 0.8112 GB, free: 139.8 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)