Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004517/0.004517, 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.168/1.168, 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.0007885/0.0007886, allocations: 90.48 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4103/0.4103, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3134, allocations: 69.5 MB / 0.5569 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4268, allocations: 100.7 MB / 0.6552 GB, free: 4.855 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4271, allocations: 78.05 kB / 0.6553 GB, free: 4.781 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1801/0.6071, allocations: 74.35 MB / 0.7279 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6072, allocations: 4 kB / 0.7279 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002224/0.6074, allocations: 55.94 kB / 0.728 GB, free: 9.895 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01224/0.6196, allocations: 4.267 MB / 0.7321 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6197, allocations: 12.03 kB / 0.7322 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008308/0.628, allocations: 1.475 MB / 0.7336 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.6321, allocations: 1.752 MB / 0.7353 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/0.6326, allocations: 446.8 kB / 0.7357 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007301/0.6334, allocations: 179.9 kB / 0.7359 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.6389, allocations: 2.408 MB / 0.7383 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.639, allocations: 0 / 0.7383 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.6393, allocations: 68 kB / 0.7383 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.6393, allocations: 47.95 kB / 0.7384 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.6438, allocations: 2.423 MB / 0.7407 GB, free: 12.62 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 preOpt removeSimpleEquations (simulation): time 0.01613/0.6599, allocations: 9.535 MB / 0.75 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.6695, allocations: 4.728 MB / 0.7547 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.6698, allocations: 37.97 kB / 0.7547 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6698, allocations: 52.56 kB / 0.7548 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=223): time 3.988e-06/0.6698, allocations: 0 / 0.7548 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=223): time 0.3077/0.9775, allocations: 23.26 MB / 0.7775 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9776, allocations: 76.19 kB / 0.7775 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.9808, allocations: 2.272 MB / 0.7798 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004381/0.9812, allocations: 65.7 kB / 0.7798 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.9821, allocations: 1.228 MB / 0.781 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/0.9828, allocations: 0.7762 MB / 0.7818 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.983, allocations: 42.94 kB / 0.7818 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.9831, allocations: 388.6 kB / 0.7822 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.9855, allocations: 1.414 MB / 0.7836 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.9879, allocations: 1.692 MB / 0.7852 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.9904, allocations: 1.544 MB / 0.7867 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9904, allocations: 2.938 kB / 0.7867 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01766/1.008, allocations: 7.106 MB / 0.7937 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.008, allocations: 17.78 kB / 0.7937 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.008, allocations: 5.938 kB / 0.7937 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/1.022, allocations: 3.818 MB / 0.7974 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.028, allocations: 1.497 MB / 0.7989 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/1.056, allocations: 19.56 MB / 0.818 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/1.06, allocations: 373.5 kB / 0.8183 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.06, allocations: 74.84 kB / 0.8184 GB, free: 104.1 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.062, allocations: 475.1 kB / 0.8189 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.062, allocations: 307.8 kB / 0.8192 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/1.087, allocations: 9.64 MB / 0.8286 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.087, allocations: 28.53 kB / 0.8286 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.087, allocations: 3.125 kB / 0.8286 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/1.087, allocations: 14.97 kB / 0.8286 GB, free: 101.7 MB / 0.5573 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.02724/1.114, allocations: 13.59 MB / 0.8419 GB, free: 97.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.114, allocations: 0 / 0.8419 GB, free: 97.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.115, allocations: 218.6 kB / 0.8421 GB, free: 97.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/1.127, allocations: 4.68 MB / 0.8467 GB, free: 96.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.128, allocations: 50.5 kB / 0.8467 GB, free: 96.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0325/1.16, allocations: 17.54 MB / 0.8638 GB, free: 89.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.16, allocations: 0 / 0.8638 GB, free: 89.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02618/1.186, allocations: 11.73 MB / 0.8753 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.188, allocations: 479 kB / 0.8758 GB, free: 80.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000407/1.188, allocations: 42.34 kB / 0.8758 GB, free: 80.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.19, allocations: 222.7 kB / 0.876 GB, free: 80.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/1.191, allocations: 378 kB / 0.8764 GB, free: 80.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.191, allocations: 55.7 kB / 0.8764 GB, free: 80.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00198/1.193, allocations: 1.751 MB / 0.8781 GB, free: 78.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/1.193, allocations: 0 / 0.8781 GB, free: 78.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002351/1.196, allocations: 0.9987 MB / 0.8791 GB, free: 77.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004807/1.196, allocations: 339.7 kB / 0.8794 GB, free: 77.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.207, allocations: 6.246 MB / 0.8855 GB, free: 71.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.207, allocations: 0 / 0.8855 GB, free: 71.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008362/1.216, allocations: 3.666 MB / 0.8891 GB, free: 68.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/1.218, allocations: 218.5 kB / 0.8893 GB, free: 68.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/1.225, allocations: 6.731 MB / 0.8959 GB, free: 62.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/1.226, allocations: 1.826 MB / 0.8977 GB, free: 60.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009063/1.227, allocations: 199.8 kB / 0.8979 GB, free: 60.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/1.228, allocations: 138.7 kB / 0.898 GB, free: 60.48 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/1.228, allocations: 0 / 0.898 GB, free: 60.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.05752/1.285, allocations: 49.19 MB / 0.946 GB, free: 17.72 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)