Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009002/0.0009003, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.001007/0.001007, allocations: 90.44 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4623/0.4623, allocations: 78.05 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.544e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 69.36 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/0.5143, allocations: 99.57 MB / 0.6385 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5146, allocations: 75.95 kB / 0.6386 GB, free: 15.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.6878, allocations: 66.6 MB / 0.7036 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6879, allocations: 0 / 0.7036 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002583/0.6881, allocations: 56 kB / 0.7037 GB, free: 13.11 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01298/0.7011, allocations: 4.035 MB / 0.7076 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.7012, allocations: 8.031 kB / 0.7076 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.7117, allocations: 1.604 MB / 0.7092 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.7162, allocations: 1.643 MB / 0.7108 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/0.7169, allocations: 0.6125 MB / 0.7114 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/0.7175, allocations: 123.9 kB / 0.7115 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004252/0.7218, allocations: 2.23 MB / 0.7137 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.7258, allocations: 2.294 MB / 0.7159 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.7259, allocations: 0 / 0.7159 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.7261, allocations: 0 / 0.7159 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.7262, allocations: 48 kB / 0.716 GB, free: 184 kB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.02003/0.7462, allocations: 9.748 MB / 0.7255 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009224/0.7555, allocations: 3.951 MB / 0.7294 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.7582, allocations: 1.479 MB / 0.7308 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.7585, allocations: 46.03 kB / 0.7309 GB, free: 400 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.7586, allocations: 60.52 kB / 0.7309 GB, free: 332 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=243): time 4.659e-06/0.7586, allocations: 4 kB / 0.7309 GB, free: 328 kB / 0.5261 GB Notification: Performance of matching and sorting (n=243): time 0.03727/0.7958, allocations: 12.08 MB / 0.7427 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.796, allocations: 235.6 kB / 0.7429 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.7991, allocations: 1.717 MB / 0.7446 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007212/0.7998, allocations: 30.64 kB / 0.7446 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.8008, allocations: 1.208 MB / 0.7458 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.8021, allocations: 0.8119 MB / 0.7466 GB, free: 132 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.8023, allocations: 0 / 0.7466 GB, free: 132 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8025, allocations: 394.6 kB / 0.747 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.8045, allocations: 1.188 MB / 0.7482 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.8069, allocations: 1.484 MB / 0.7496 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.8091, allocations: 1.311 MB / 0.7509 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.8091, allocations: 4 kB / 0.7509 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03479/0.8439, allocations: 11.34 MB / 0.762 GB, free: 212 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2747/1.119, allocations: 2.867 MB / 0.7648 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/1.119, allocations: 7.5 kB / 0.7648 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/1.133, allocations: 4.628 MB / 0.7693 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.136, allocations: 0.6873 MB / 0.77 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03295/1.169, allocations: 16.32 MB / 0.7859 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.173, allocations: 487.2 kB / 0.7864 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/1.174, allocations: 83.86 kB / 0.7864 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.174, allocations: 4.156 kB / 0.7864 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03314/1.207, allocations: 11 MB / 0.7972 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/1.207, allocations: 7.859 kB / 0.7972 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/1.223, allocations: 4.626 MB / 0.8017 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.226, allocations: 0.6734 MB / 0.8024 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03404/1.26, allocations: 16.33 MB / 0.8183 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/1.264, allocations: 465 kB / 0.8188 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.264, allocations: 84.66 kB / 0.8188 GB, free: 104.2 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007238/1.265, allocations: 209 kB / 0.819 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/1.266, allocations: 291.9 kB / 0.8193 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03362/1.3, allocations: 12.37 MB / 0.8314 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/1.3, allocations: 23.22 kB / 0.8314 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.3, allocations: 22.86 kB / 0.8314 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-05/1.3, allocations: 10.72 kB / 0.8315 GB, free: 101.5 MB / 0.5573 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.03781/1.338, allocations: 15.91 MB / 0.847 GB, free: 97.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/1.338, allocations: 0.75 kB / 0.847 GB, free: 97.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.339, allocations: 276.5 kB / 0.8473 GB, free: 97.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/1.353, allocations: 4.758 MB / 0.8519 GB, free: 96.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006957/1.353, allocations: 15.47 kB / 0.8519 GB, free: 96.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02926/1.383, allocations: 15.21 MB / 0.8668 GB, free: 86.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.383, allocations: 0 / 0.8668 GB, free: 86.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03641/1.419, allocations: 14.33 MB / 0.8808 GB, free: 75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.42, allocations: 410.3 kB / 0.8811 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/1.421, allocations: 4.938 kB / 0.8812 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.424, allocations: 362.4 kB / 0.8815 GB, free: 74.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/1.426, allocations: 0.5566 MB / 0.882 GB, free: 74.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.426, allocations: 60 kB / 0.8821 GB, free: 74.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001777/1.428, allocations: 1.285 MB / 0.8834 GB, free: 72.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/1.428, allocations: 0 / 0.8834 GB, free: 72.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005067/1.433, allocations: 1.592 MB / 0.8849 GB, free: 71.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004089/1.433, allocations: 149.5 kB / 0.8851 GB, free: 71.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02224/1.456, allocations: 9.713 MB / 0.8945 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.456, allocations: 4.312 kB / 0.8945 GB, free: 62.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/1.466, allocations: 3.952 MB / 0.8984 GB, free: 58.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.468, allocations: 195.1 kB / 0.8986 GB, free: 58.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/1.475, allocations: 4.173 MB / 0.9027 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.476, allocations: 1.891 MB / 0.9045 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002183/1.478, allocations: 455.9 kB / 0.9049 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/1.478, allocations: 122.9 kB / 0.9051 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/1.478, allocations: 0 / 0.9051 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.08603/1.564, allocations: 68.83 MB / 0.9723 GB, free: 7.906 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)