Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.236/1.236, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008384, allocations: 85.2 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4214/0.4214, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.529e-05, allocations: 8 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3772, allocations: 69.33 MB / 0.5479 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.4965, allocations: 98.79 MB / 0.6444 GB, free: 1.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4967, allocations: 75.95 kB / 0.6445 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08143/0.5782, allocations: 30.85 MB / 0.6746 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5782, allocations: 0 / 0.6746 GB, free: 2.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.234e-05/0.5783, allocations: 24 kB / 0.6746 GB, free: 2.477 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004106/0.5824, allocations: 1.719 MB / 0.6763 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5824, allocations: 15.95 kB / 0.6763 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.5858, allocations: 0.5641 MB / 0.6769 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.261/0.8468, allocations: 0.7815 MB / 0.6777 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.8471, allocations: 234.8 kB / 0.6779 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.8472, allocations: 76.8 kB / 0.678 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.849, allocations: 0.9479 MB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.849, allocations: 0.7031 kB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.8491, allocations: 27.66 kB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.8491, allocations: 21.34 kB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.8506, allocations: 0.85 MB / 0.6798 GB, free: 103.2 MB / 490.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.00684/0.8574, allocations: 3.932 MB / 0.6836 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007409/0.8649, allocations: 2.616 MB / 0.6861 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/0.8658, allocations: 0.555 MB / 0.6867 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.8659, allocations: 17.53 kB / 0.6867 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.8659, allocations: 46.47 kB / 0.6868 GB, free: 101.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.695e-06/0.8659, allocations: 2.906 kB / 0.6868 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01263/0.8786, allocations: 3.909 MB / 0.6906 GB, free: 101.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.8786, allocations: 140.9 kB / 0.6907 GB, free: 101.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.8799, allocations: 0.9094 MB / 0.6916 GB, free: 101 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.8801, allocations: 44.39 kB / 0.6916 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.8803, allocations: 0.5168 MB / 0.6921 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.8806, allocations: 345.7 kB / 0.6925 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.8807, allocations: 15.53 kB / 0.6925 GB, free: 100.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.8808, allocations: 339.5 kB / 0.6928 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.8814, allocations: 452.9 kB / 0.6932 GB, free: 100.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.8821, allocations: 0.5737 MB / 0.6938 GB, free: 99.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.8829, allocations: 0.5471 MB / 0.6943 GB, free: 99.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8829, allocations: 0 / 0.6943 GB, free: 99.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01112/0.894, allocations: 4.023 MB / 0.6983 GB, free: 98.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.8943, allocations: 1.205 MB / 0.6994 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8943, allocations: 3.312 kB / 0.6994 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/0.8989, allocations: 1.452 MB / 0.7009 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9, allocations: 181.5 kB / 0.701 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.9115, allocations: 6.436 MB / 0.7073 GB, free: 93.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.9131, allocations: 194.2 kB / 0.7075 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.9132, allocations: 34.03 kB / 0.7075 GB, free: 93.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.9133, allocations: 6.062 kB / 0.7075 GB, free: 93.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/0.9242, allocations: 3.891 MB / 0.7113 GB, free: 91.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9243, allocations: 4 kB / 0.7113 GB, free: 91.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004627/0.9289, allocations: 1.45 MB / 0.7128 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.9299, allocations: 184.6 kB / 0.7129 GB, free: 89.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.9412, allocations: 6.426 MB / 0.7192 GB, free: 83.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.9427, allocations: 180.6 kB / 0.7194 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.9428, allocations: 35.42 kB / 0.7194 GB, free: 83.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.9431, allocations: 192.5 kB / 0.7196 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.9433, allocations: 142.1 kB / 0.7197 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.954, allocations: 4.023 MB / 0.7237 GB, free: 80.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9541, allocations: 12 kB / 0.7237 GB, free: 80.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9541, allocations: 8 kB / 0.7237 GB, free: 80.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9541, allocations: 11.36 kB / 0.7237 GB, free: 80.29 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.01221/0.9663, allocations: 5.674 MB / 0.7292 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9663, allocations: 4.031 kB / 0.7292 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.967, allocations: 114 kB / 0.7294 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004035/0.9711, allocations: 1.414 MB / 0.7307 GB, free: 74.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.9712, allocations: 19.98 kB / 0.7308 GB, free: 74.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009756/0.9809, allocations: 5.722 MB / 0.7363 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.981, allocations: 3.688 kB / 0.7363 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.9927, allocations: 4.769 MB / 0.741 GB, free: 63.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.9932, allocations: 235.2 kB / 0.7412 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.9934, allocations: 16 kB / 0.7412 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.9946, allocations: 135.9 kB / 0.7414 GB, free: 63.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000496/0.9951, allocations: 188.4 kB / 0.7416 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.9951, allocations: 23.98 kB / 0.7416 GB, free: 63.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008098/0.996, allocations: 0.7134 MB / 0.7423 GB, free: 62.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.996, allocations: 0 / 0.7423 GB, free: 62.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001558/0.9975, allocations: 0.6712 MB / 0.7429 GB, free: 61.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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.0002321/0.9978, allocations: 150.4 kB / 0.7431 GB, free: 61.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007684/1.005, allocations: 3.595 MB / 0.7466 GB, free: 57.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.005, allocations: 3.938 kB / 0.7466 GB, free: 57.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003433/1.009, allocations: 1.462 MB / 0.748 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/1.01, allocations: 104.6 kB / 0.7481 GB, free: 56.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/1.012, allocations: 1.864 MB / 0.7499 GB, free: 54.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/1.013, allocations: 1.169 MB / 0.7511 GB, free: 53.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007583/1.014, allocations: 201.2 kB / 0.7513 GB, free: 53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.014, allocations: 55.42 kB / 0.7513 GB, free: 52.95 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/1.014, allocations: 0 / 0.7513 GB, free: 52.95 MB / 490.7 MB Notification: Performance of Templates: time 0.03273/1.046, allocations: 28.05 MB / 0.7787 GB, free: 25.14 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)