Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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.00505/0.00505, allocations: 170 kB / 15.11 MB, free: 6.039 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.148/1.148, allocations: 223.2 MB / 239 MB, free: 1.809 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.000827/0.000827, allocations: 108.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3983/0.3983, allocations: 78.51 MB / 419.8 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 8 kB / 499.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2726, allocations: 69.35 MB / 0.5557 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09995/0.3726, allocations: 100.5 MB / 0.6539 GB, free: 5.855 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3729, allocations: 80.81 kB / 0.654 GB, free: 5.777 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1618/0.5347, allocations: 68.07 MB / 0.7204 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5347, allocations: 0 / 0.7204 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002162/0.535, allocations: 59.94 kB / 0.7205 GB, free: 1.27 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.0134/0.5484, allocations: 4.684 MB / 0.7251 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5484, allocations: 15.97 kB / 0.7251 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009476/0.5579, allocations: 1.607 MB / 0.7267 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.5615, allocations: 1.732 MB / 0.7284 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/0.5621, allocations: 0.6906 MB / 0.729 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005197/0.5626, allocations: 204 kB / 0.7292 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006109/0.5687, allocations: 3.239 MB / 0.7324 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.5688, allocations: 7.891 kB / 0.7324 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.569, allocations: 88 kB / 0.7325 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.5691, allocations: 48 kB / 0.7325 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005758/0.5748, allocations: 3.034 MB / 0.7355 GB, free: 1.559 MB / 0.5261 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.01709/0.592, allocations: 10.09 MB / 0.7453 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.6025, allocations: 4.791 MB / 0.75 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.6028, allocations: 42.05 kB / 0.7501 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.6028, allocations: 60.5 kB / 0.7501 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.448e-06/0.6029, allocations: 0 / 0.7501 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.3221/0.9249, allocations: 33.01 MB / 0.7824 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.925, allocations: 234.8 kB / 0.7826 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.9277, allocations: 1.958 MB / 0.7845 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000461/0.9282, allocations: 63.95 kB / 0.7846 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/0.9289, allocations: 1.218 MB / 0.7857 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/0.9296, allocations: 0.8446 MB / 0.7866 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.9298, allocations: 44.75 kB / 0.7866 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.9299, allocations: 397.8 kB / 0.787 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.9332, allocations: 1.889 MB / 0.7888 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.9365, allocations: 2.199 MB / 0.791 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.94, allocations: 2.118 MB / 0.7931 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.94, allocations: 3 kB / 0.7931 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03934/0.9793, allocations: 14.43 MB / 0.8072 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004826/0.9798, allocations: 2.874 MB / 0.81 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.9799, allocations: 6.875 kB / 0.81 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/0.9974, allocations: 6.39 MB / 0.8162 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.9993, allocations: 367 kB / 0.8166 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05273/1.052, allocations: 27.42 MB / 0.8433 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/1.056, allocations: 0.5265 MB / 0.8438 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/1.056, allocations: 83.7 kB / 0.8439 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.056, allocations: 3.125 kB / 0.8439 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03536/1.091, allocations: 14.11 MB / 0.8577 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/1.091, allocations: 8 kB / 0.8577 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/1.108, allocations: 6.386 MB / 0.8639 GB, free: 95.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.11, allocations: 359.1 kB / 0.8643 GB, free: 94.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0517/1.162, allocations: 27.43 MB / 0.8911 GB, free: 71.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.165, allocations: 0.4963 MB / 0.8916 GB, free: 70.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.166, allocations: 79.8 kB / 0.8916 GB, free: 70.83 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.001553/1.167, allocations: 0.5797 MB / 0.8922 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/1.168, allocations: 296.3 kB / 0.8925 GB, free: 69.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03542/1.203, allocations: 14.55 MB / 0.9067 GB, free: 58.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/1.204, allocations: 31.42 kB / 0.9067 GB, free: 58.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.204, allocations: 20 kB / 0.9067 GB, free: 58.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.71e-05/1.204, allocations: 10.41 kB / 0.9068 GB, free: 58.65 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.04005/1.244, allocations: 18.33 MB / 0.9247 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.244, allocations: 0 / 0.9247 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.245, allocations: 279.6 kB / 0.9249 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01506/1.26, allocations: 6.028 MB / 0.9308 GB, free: 34.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/1.261, allocations: 54.48 kB / 0.9309 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04506/1.306, allocations: 22.68 MB / 0.953 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.306, allocations: 0 / 0.953 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04109/1.347, allocations: 17.15 MB / 0.9698 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.348, allocations: 412.8 kB / 0.9702 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009461/1.349, allocations: 52.11 kB / 0.9702 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/1.353, allocations: 395.7 kB / 0.9706 GB, free: 9.906 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/1.355, allocations: 0.5565 MB / 0.9711 GB, free: 9.344 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003682/1.355, allocations: 60 kB / 0.9712 GB, free: 9.285 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002702/1.358, allocations: 1.519 MB / 0.9727 GB, free: 7.762 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.358, allocations: 0 / 0.9727 GB, free: 7.762 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005691/1.363, allocations: 1.784 MB / 0.9744 GB, free: 5.98 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.0005565/1.364, allocations: 197.3 kB / 0.9746 GB, free: 5.789 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02961/1.394, allocations: 12.26 MB / 0.9866 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.394, allocations: 4 kB / 0.9866 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/1.405, allocations: 4.768 MB / 0.9912 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.407, allocations: 237.5 kB / 0.9915 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/1.618, allocations: 6.699 MB / 0.998 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.62, allocations: 1.906 MB / 0.9999 GB, free: 138 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001467/1.621, allocations: 270.6 kB / 1 GB, free: 138 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/1.622, allocations: 140.7 kB / 1 GB, free: 138 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/1.622, allocations: 0 / 1 GB, free: 138 MB / 0.5886 GB Notification: Performance of Templates: time 0.09365/1.716, allocations: 73.38 MB / 1.072 GB, free: 130.6 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)