Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005173/0.005173, allocations: 171.5 kB / 15.11 MB, free: 5.969 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.211/1.211, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008822/0.0008822, allocations: 99.72 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4204/0.4204, allocations: 79.43 MB / 420.8 MB, free: 43.75 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 69.49 MB / 0.5569 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4207, allocations: 101.1 MB / 0.6557 GB, free: 4.449 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4211, allocations: 79.95 kB / 0.6557 GB, free: 4.371 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.5875, allocations: 68.93 MB / 0.723 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5876, allocations: 3.938 kB / 0.7231 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003082/0.5879, allocations: 59.94 kB / 0.7231 GB, free: 15.01 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01463/0.6025, allocations: 4.688 MB / 0.7277 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6026, allocations: 8.031 kB / 0.7277 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.6128, allocations: 1.615 MB / 0.7293 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.617, allocations: 1.728 MB / 0.731 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/0.6176, allocations: 0.6906 MB / 0.7316 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005197/0.6182, allocations: 208 kB / 0.7318 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006575/0.6247, allocations: 3.24 MB / 0.735 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.6248, allocations: 3.906 kB / 0.735 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.6251, allocations: 80 kB / 0.7351 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.6251, allocations: 52 kB / 0.7351 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.6311, allocations: 3.034 MB / 0.7381 GB, free: 15.3 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.01831/0.6494, allocations: 10.1 MB / 0.748 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.661, allocations: 4.787 MB / 0.7526 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/0.6615, allocations: 46.03 kB / 0.7527 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.6615, allocations: 60.5 kB / 0.7527 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=244): time 4.829e-06/0.6615, allocations: 0 / 0.7527 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=244): time 0.3417/1.003, allocations: 33.01 MB / 0.785 GB, free: 118 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.003, allocations: 231.2 kB / 0.7852 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/1.006, allocations: 1.956 MB / 0.7871 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005465/1.007, allocations: 68.11 kB / 0.7872 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/1.008, allocations: 1.222 MB / 0.7884 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007089/1.008, allocations: 0.8466 MB / 0.7892 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.008, allocations: 46.22 kB / 0.7892 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/1.009, allocations: 390.2 kB / 0.7896 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/1.012, allocations: 1.891 MB / 0.7914 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/1.016, allocations: 2.199 MB / 0.7936 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/1.02, allocations: 2.114 MB / 0.7957 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.02, allocations: 2.812 kB / 0.7957 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.04101/1.061, allocations: 14.44 MB / 0.8098 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005028/1.061, allocations: 2.878 MB / 0.8126 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.061, allocations: 8.969 kB / 0.8126 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/1.078, allocations: 6.385 MB / 0.8188 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/1.08, allocations: 373.6 kB / 0.8192 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05557/1.136, allocations: 27.42 MB / 0.8459 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.14, allocations: 0.5174 MB / 0.8464 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/1.14, allocations: 84.94 kB / 0.8465 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.14, allocations: 3.281 kB / 0.8465 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03588/1.176, allocations: 14.11 MB / 0.8603 GB, free: 98.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/1.176, allocations: 4 kB / 0.8603 GB, free: 98.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.193, allocations: 6.387 MB / 0.8666 GB, free: 93.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.195, allocations: 359.8 kB / 0.8669 GB, free: 92.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05204/1.247, allocations: 27.43 MB / 0.8937 GB, free: 69.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/1.25, allocations: 0.489 MB / 0.8942 GB, free: 68.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/1.251, allocations: 83.66 kB / 0.8942 GB, free: 68.76 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001164/1.252, allocations: 0.5833 MB / 0.8948 GB, free: 68.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/1.252, allocations: 297.3 kB / 0.8951 GB, free: 67.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03562/1.288, allocations: 14.55 MB / 0.9093 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.288, allocations: 24 kB / 0.9093 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.288, allocations: 23.69 kB / 0.9093 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/1.288, allocations: 11.95 kB / 0.9094 GB, free: 56.47 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.03997/1.328, allocations: 18.34 MB / 0.9273 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.328, allocations: 0 / 0.9273 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.33, allocations: 283.6 kB / 0.9275 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.345, allocations: 6.019 MB / 0.9334 GB, free: 31.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/1.346, allocations: 59.98 kB / 0.9335 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04476/1.391, allocations: 22.69 MB / 0.9556 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.391, allocations: 0 / 0.9556 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04335/1.434, allocations: 17.15 MB / 0.9724 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/1.435, allocations: 416.8 kB / 0.9728 GB, free: 7.285 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/1.435, allocations: 52.12 kB / 0.9728 GB, free: 7.234 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.438, allocations: 395.6 kB / 0.9732 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001793/1.44, allocations: 0.5488 MB / 0.9737 GB, free: 6.293 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.44, allocations: 63.98 kB / 0.9738 GB, free: 6.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002278/1.443, allocations: 1.515 MB / 0.9753 GB, free: 4.711 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.443, allocations: 0 / 0.9753 GB, free: 4.711 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004048/1.447, allocations: 1.791 MB / 0.977 GB, free: 2.926 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000393/1.447, allocations: 184 kB / 0.9772 GB, free: 2.742 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03221/1.479, allocations: 12.26 MB / 0.9892 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.479, allocations: 0 / 0.9892 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.493, allocations: 4.781 MB / 0.9938 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.495, allocations: 242.1 kB / 0.9941 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2141/1.709, allocations: 6.707 MB / 1.001 GB, free: 137.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.711, allocations: 1.902 MB / 1.002 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001384/1.712, allocations: 276.7 kB / 1.003 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/1.713, allocations: 139 kB / 1.003 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/1.713, allocations: 0 / 1.003 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.09078/1.803, allocations: 73.36 MB / 1.075 GB, free: 128.4 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)