Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003673/0.003672, allocations: 171.5 kB / 15.12 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.147/1.147, 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.000877/0.000877, allocations: 99.44 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3869/0.3869, allocations: 78.52 MB / 419.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 19.98 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 69.34 MB / 0.5557 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4205, allocations: 99.17 MB / 0.6526 GB, free: 7.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4208, allocations: 82.08 kB / 0.6526 GB, free: 7.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1591/0.5798, allocations: 66.7 MB / 0.7178 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5799, allocations: 3.938 kB / 0.7178 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001349/0.58, allocations: 56 kB / 0.7178 GB, free: 4.02 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01151/0.5915, allocations: 4.598 MB / 0.7223 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5916, allocations: 8.031 kB / 0.7223 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008891/0.6005, allocations: 1.604 MB / 0.7239 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.6034, allocations: 1.689 MB / 0.7255 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005217/0.6039, allocations: 0.6906 MB / 0.7262 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.6043, allocations: 207.9 kB / 0.7264 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.6098, allocations: 3.212 MB / 0.7296 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.6098, allocations: 3.906 kB / 0.7296 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.6101, allocations: 91.98 kB / 0.7296 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.6101, allocations: 48 kB / 0.7297 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/0.6155, allocations: 3.018 MB / 0.7326 GB, free: 4.488 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.0153/0.6308, allocations: 9.992 MB / 0.7424 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.6418, allocations: 4.735 MB / 0.747 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.6423, allocations: 46.03 kB / 0.7471 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.6424, allocations: 64.5 kB / 0.7471 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 4.979e-06/0.6424, allocations: 0 / 0.7471 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.3018/0.9442, allocations: 30.12 MB / 0.7765 GB, free: 120 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.9443, allocations: 241.2 kB / 0.7768 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.947, allocations: 1.911 MB / 0.7786 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005081/0.9475, allocations: 65.86 kB / 0.7787 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007087/0.9483, allocations: 1.212 MB / 0.7799 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007216/0.949, allocations: 0.827 MB / 0.7807 GB, free: 119 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.9492, allocations: 49.97 kB / 0.7807 GB, free: 119 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.9493, allocations: 393.7 kB / 0.7811 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.9526, allocations: 1.861 MB / 0.7829 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.9559, allocations: 2.178 MB / 0.7851 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.9592, allocations: 2.091 MB / 0.7871 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.9592, allocations: 2.625 kB / 0.7871 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03685/0.996, allocations: 14.32 MB / 0.8011 GB, free: 117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004922/0.9966, allocations: 2.869 MB / 0.8039 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.9966, allocations: 10.17 kB / 0.8039 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/1.015, allocations: 6.314 MB / 0.8101 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.017, allocations: 377 kB / 0.8104 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05282/1.069, allocations: 26.06 MB / 0.8359 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.073, allocations: 0.5102 MB / 0.8364 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004769/1.074, allocations: 86.59 kB / 0.8365 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.074, allocations: 6.812 kB / 0.8365 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03516/1.109, allocations: 13.99 MB / 0.8501 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/1.109, allocations: 7.125 kB / 0.8501 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.125, allocations: 6.324 MB / 0.8563 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.127, allocations: 358.2 kB / 0.8566 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05153/1.178, allocations: 26.05 MB / 0.8821 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/1.182, allocations: 0.4962 MB / 0.8826 GB, free: 79.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/1.182, allocations: 79.66 kB / 0.8826 GB, free: 79.16 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (206): * Single equations (assignments): 201 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001559/1.184, allocations: 0.5761 MB / 0.8832 GB, free: 78.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007923/1.185, allocations: 292.3 kB / 0.8835 GB, free: 78.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03565/1.22, allocations: 14.51 MB / 0.8977 GB, free: 67.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.22, allocations: 27.33 kB / 0.8977 GB, free: 67.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-05/1.22, allocations: 16 kB / 0.8977 GB, free: 67.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/1.22, allocations: 15.11 kB / 0.8977 GB, free: 67.05 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.04144/1.262, allocations: 18.23 MB / 0.9155 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.262, allocations: 0 / 0.9155 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.264, allocations: 279.6 kB / 0.9158 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/1.279, allocations: 6.066 MB / 0.9217 GB, free: 44.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000566/1.279, allocations: 59.94 kB / 0.9218 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04462/1.324, allocations: 22.65 MB / 0.9439 GB, free: 21.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.324, allocations: 11.92 kB / 0.9439 GB, free: 21.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0398/1.364, allocations: 17.08 MB / 0.9606 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/1.365, allocations: 412.9 kB / 0.961 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007822/1.366, allocations: 44 kB / 0.961 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/1.369, allocations: 395.7 kB / 0.9614 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/1.371, allocations: 0.5526 MB / 0.9619 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.371, allocations: 67.78 kB / 0.962 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002179/1.373, allocations: 1.479 MB / 0.9634 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.373, allocations: 0 / 0.9634 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004579/1.378, allocations: 1.761 MB / 0.9651 GB, free: 15.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004751/1.378, allocations: 189.8 kB / 0.9653 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02918/1.407, allocations: 11.91 MB / 0.977 GB, free: 3.773 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.407, allocations: 1.75 kB / 0.977 GB, free: 3.773 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/1.419, allocations: 4.783 MB / 0.9816 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.421, allocations: 233.9 kB / 0.9819 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/1.431, allocations: 6.398 MB / 0.9881 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.433, allocations: 1.889 MB / 0.9899 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00122/1.434, allocations: 279.7 kB / 0.9902 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/1.434, allocations: 135.4 kB / 0.9903 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/1.434, allocations: 0 / 0.9903 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of Templates: time 0.2842/1.719, allocations: 72.22 MB / 1.061 GB, free: 137.4 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)