Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005293/0.005293, allocations: 169.6 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.27/1.27, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008731/0.0008731, allocations: 92.55 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4325/0.4325, allocations: 78.58 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 15.94 kB / 499.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3818, allocations: 69.35 MB / 0.5558 GB, free: 39.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.506, allocations: 98.18 MB / 0.6517 GB, free: 8.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5063, allocations: 84.98 kB / 0.6517 GB, free: 8.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07895/0.5853, allocations: 30.02 MB / 0.6811 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5853, allocations: 3.938 kB / 0.6811 GB, free: 10.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.696e-05/0.5854, allocations: 27.94 kB / 0.6811 GB, free: 10.05 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005281/0.5907, allocations: 1.986 MB / 0.683 GB, free: 7.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5907, allocations: 8.031 kB / 0.683 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.5943, allocations: 0.5642 MB / 0.6836 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.596, allocations: 0.7956 MB / 0.6844 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5962, allocations: 234.5 kB / 0.6846 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.5964, allocations: 76 kB / 0.6847 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.5986, allocations: 1.146 MB / 0.6858 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.5986, allocations: 0 / 0.6858 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.5987, allocations: 28 kB / 0.6858 GB, free: 5.051 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5988, allocations: 24 kB / 0.6858 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6009, allocations: 1.058 MB / 0.6869 GB, free: 3.965 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.006709/0.6076, allocations: 3.843 MB / 0.6906 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007995/0.6156, allocations: 2.872 MB / 0.6934 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6158, allocations: 13 kB / 0.6934 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6158, allocations: 47.56 kB / 0.6935 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.605e-06/0.6158, allocations: 0 / 0.6935 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.03068/0.6465, allocations: 8.03 MB / 0.7013 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.6466, allocations: 141.5 kB / 0.7014 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.6483, allocations: 0.921 MB / 0.7023 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.6486, allocations: 41.7 kB / 0.7024 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.649, allocations: 0.5129 MB / 0.7029 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.6494, allocations: 327.2 kB / 0.7032 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.6495, allocations: 16 kB / 0.7032 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6496, allocations: 345.9 kB / 0.7035 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6511, allocations: 0.6383 MB / 0.7042 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.6525, allocations: 0.7681 MB / 0.7049 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.654, allocations: 0.7354 MB / 0.7056 GB, free: 280 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.654, allocations: 3.938 kB / 0.7056 GB, free: 276 kB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01422/0.6683, allocations: 4.676 MB / 0.7102 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005588/0.6688, allocations: 1.203 MB / 0.7114 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6689, allocations: 4 kB / 0.7114 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/0.6753, allocations: 1.843 MB / 0.7132 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.6763, allocations: 167.8 kB / 0.7133 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.6969, allocations: 9.243 MB / 0.7224 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.6987, allocations: 195.2 kB / 0.7226 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6988, allocations: 39.98 kB / 0.7226 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6988, allocations: 4 kB / 0.7226 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01321/0.712, allocations: 4.508 MB / 0.727 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.7121, allocations: 8 kB / 0.727 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/0.7181, allocations: 1.84 MB / 0.7288 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.719, allocations: 163.7 kB / 0.729 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.7396, allocations: 9.24 MB / 0.738 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.7414, allocations: 179.3 kB / 0.7382 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7416, allocations: 35.98 kB / 0.7382 GB, free: 14.51 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007409/0.7423, allocations: 358.2 kB / 0.7385 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.7426, allocations: 126.5 kB / 0.7387 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.7566, allocations: 4.61 MB / 0.7432 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.7566, allocations: 8 kB / 0.7432 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.7567, allocations: 8 kB / 0.7432 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.7567, allocations: 7.984 kB / 0.7432 GB, free: 9.359 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.01563/0.7723, allocations: 6.225 MB / 0.7493 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7724, allocations: 0 / 0.7493 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.7731, allocations: 111.9 kB / 0.7494 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/0.7785, allocations: 1.797 MB / 0.7511 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.7787, allocations: 20 kB / 0.7511 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.7989, allocations: 8.022 MB / 0.759 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.799, allocations: 7.938 kB / 0.759 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.8143, allocations: 5.532 MB / 0.7644 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.815, allocations: 219.4 kB / 0.7646 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.8152, allocations: 23.95 kB / 0.7646 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.8165, allocations: 135.9 kB / 0.7647 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/0.817, allocations: 180.7 kB / 0.7649 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.8171, allocations: 24 kB / 0.7649 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001228/0.8183, allocations: 0.7274 MB / 0.7657 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8183, allocations: 0 / 0.7657 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002027/0.8204, allocations: 0.667 MB / 0.7663 GB, free: 1.367 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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.0003174/0.8207, allocations: 148.5 kB / 0.7664 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2365/1.057, allocations: 4.173 MB / 0.7705 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.057, allocations: 0 / 0.7705 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/1.062, allocations: 1.663 MB / 0.7721 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/1.063, allocations: 107.4 kB / 0.7722 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/1.067, allocations: 2.612 MB / 0.7748 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/1.067, allocations: 1.155 MB / 0.7759 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005188/1.068, allocations: 118.1 kB / 0.776 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.068, allocations: 67.22 kB / 0.7761 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.104e-06/1.068, allocations: 0 / 0.7761 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03873/1.107, allocations: 25.86 MB / 0.8014 GB, free: 144.5 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)