Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004452/0.004452, 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.167/1.167, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008604/0.0008604, allocations: 107.9 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.3998/0.3998, allocations: 78.51 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 15.98 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3061, allocations: 69.35 MB / 0.5557 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.425, allocations: 99.08 MB / 0.6525 GB, free: 7.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4253, allocations: 79.95 kB / 0.6525 GB, free: 7.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07827/0.5036, allocations: 31.35 MB / 0.6832 GB, free: 7.723 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5036, allocations: 4 kB / 0.6832 GB, free: 7.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.779e-05/0.5037, allocations: 20 kB / 0.6832 GB, free: 7.699 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.004918/0.5086, allocations: 2.072 MB / 0.6852 GB, free: 5.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5087, allocations: 12.03 kB / 0.6852 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.5119, allocations: 0.5719 MB / 0.6858 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5133, allocations: 0.8233 MB / 0.6866 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5136, allocations: 242.5 kB / 0.6868 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5137, allocations: 83.88 kB / 0.6869 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.5158, allocations: 1.165 MB / 0.688 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5159, allocations: 0 / 0.688 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.22e-05/0.516, allocations: 28 kB / 0.6881 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.516, allocations: 24 kB / 0.6881 GB, free: 2.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.518, allocations: 1.089 MB / 0.6891 GB, free: 1.426 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.006409/0.5244, allocations: 3.947 MB / 0.693 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007624/0.5321, allocations: 2.909 MB / 0.6958 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.5322, allocations: 20.98 kB / 0.6959 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5322, allocations: 43.56 kB / 0.6959 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 2.285e-06/0.5322, allocations: 0 / 0.6959 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.02666/0.5589, allocations: 8.151 MB / 0.7039 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.559, allocations: 145.5 kB / 0.704 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.5603, allocations: 0.9536 MB / 0.7049 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/0.5604, allocations: 49.64 kB / 0.705 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.5608, allocations: 0.517 MB / 0.7055 GB, free: 312 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.5611, allocations: 343 kB / 0.7058 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.5612, allocations: 20 kB / 0.7058 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5614, allocations: 341.9 kB / 0.7062 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.5626, allocations: 0.654 MB / 0.7068 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.564, allocations: 0.7963 MB / 0.7076 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.5654, allocations: 0.7658 MB / 0.7083 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5654, allocations: 0 / 0.7083 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01298/0.5784, allocations: 4.774 MB / 0.713 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.5788, allocations: 1.209 MB / 0.7142 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5788, allocations: 4 kB / 0.7142 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006107/0.5849, allocations: 1.93 MB / 0.716 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.5857, allocations: 163.8 kB / 0.7162 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.606, allocations: 10.61 MB / 0.7266 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6075, allocations: 199.2 kB / 0.7268 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.6075, allocations: 39.94 kB / 0.7268 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.6076, allocations: 5.562 kB / 0.7268 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/0.6206, allocations: 4.61 MB / 0.7313 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6206, allocations: 4 kB / 0.7313 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/0.6267, allocations: 1.935 MB / 0.7332 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.6274, allocations: 155.8 kB / 0.7333 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.6473, allocations: 10.6 MB / 0.7437 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6487, allocations: 183.3 kB / 0.7439 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.6488, allocations: 31.98 kB / 0.7439 GB, free: 8.195 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.0005907/0.6494, allocations: 371.5 kB / 0.7443 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6496, allocations: 126.4 kB / 0.7444 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.6618, allocations: 4.661 MB / 0.7489 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.6619, allocations: 11.98 kB / 0.7489 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6619, allocations: 8 kB / 0.749 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6619, allocations: 7.969 kB / 0.749 GB, free: 2.977 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.01423/0.6761, allocations: 6.316 MB / 0.7551 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6761, allocations: 3.938 kB / 0.7551 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.6769, allocations: 119.8 kB / 0.7552 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/0.683, allocations: 1.797 MB / 0.757 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.6831, allocations: 23.98 kB / 0.757 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.6996, allocations: 8.008 MB / 0.7648 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6996, allocations: 3.953 kB / 0.7648 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2323/0.9319, allocations: 5.59 MB / 0.7703 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.9324, allocations: 232.1 kB / 0.7705 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.9326, allocations: 21.14 kB / 0.7705 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.9338, allocations: 139.2 kB / 0.7707 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/0.9343, allocations: 190.3 kB / 0.7709 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.9344, allocations: 23.34 kB / 0.7709 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001094/0.9355, allocations: 0.7561 MB / 0.7716 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9355, allocations: 0 / 0.7716 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00179/0.9373, allocations: 0.6913 MB / 0.7723 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.0002494/0.9375, allocations: 157.4 kB / 0.7724 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009148/0.9467, allocations: 4.521 MB / 0.7769 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9467, allocations: 0 / 0.7769 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/0.9503, allocations: 1.681 MB / 0.7785 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.0006724/0.951, allocations: 112.3 kB / 0.7786 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.9546, allocations: 2.895 MB / 0.7814 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.9551, allocations: 1.163 MB / 0.7826 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004763/0.9556, allocations: 124.4 kB / 0.7827 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.9558, allocations: 65.62 kB / 0.7828 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.9558, allocations: 0 / 0.7828 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03539/0.9912, allocations: 27.04 MB / 0.8092 GB, free: 139.9 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)