Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00464/0.00464, allocations: 171.1 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.203/1.203, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008036, allocations: 95.67 kB / 290.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.431/0.431, allocations: 79.45 MB / 420.8 MB, free: 36.22 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12 kB / 0.489 GB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 69.51 MB / 0.5569 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/0.4212, allocations: 99.36 MB / 0.6539 GB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.4215, allocations: 76.72 kB / 0.654 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1469/0.5684, allocations: 62.27 MB / 0.7148 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5685, allocations: 0 / 0.7148 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001829/0.5687, allocations: 52 kB / 0.7149 GB, free: 3.395 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01275/0.5814, allocations: 4.209 MB / 0.719 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5815, allocations: 12.03 kB / 0.719 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009494/0.591, allocations: 1.588 MB / 0.7206 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.5942, allocations: 1.475 MB / 0.722 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/0.5949, allocations: 0.6801 MB / 0.7227 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007028/0.5956, allocations: 195.9 kB / 0.7228 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00639/0.602, allocations: 3.07 MB / 0.7258 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.6021, allocations: 0 / 0.7258 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.6023, allocations: 76 kB / 0.7259 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6024, allocations: 48 kB / 0.726 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005818/0.6082, allocations: 2.873 MB / 0.7288 GB, free: 4.918 MB / 0.5105 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.01795/0.6262, allocations: 9.634 MB / 0.7382 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.6373, allocations: 4.775 MB / 0.7428 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.6376, allocations: 37.92 kB / 0.7429 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.6376, allocations: 60.56 kB / 0.7429 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 3.707e-06/0.6376, allocations: 0 / 0.7429 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.09958/0.7372, allocations: 28.56 MB / 0.7708 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.7374, allocations: 140.8 kB / 0.771 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.7406, allocations: 1.641 MB / 0.7726 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006742/0.7413, allocations: 61.7 kB / 0.7726 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.7424, allocations: 1.133 MB / 0.7737 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.7438, allocations: 0.7776 MB / 0.7745 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.7441, allocations: 48 kB / 0.7745 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.7443, allocations: 386.2 kB / 0.7749 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.748, allocations: 1.796 MB / 0.7767 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/0.7518, allocations: 2.099 MB / 0.7787 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.7555, allocations: 1.917 MB / 0.7806 GB, free: 15.06 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.7555, allocations: 0 / 0.7806 GB, free: 15.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.04027/0.7958, allocations: 14.11 MB / 0.7944 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2436/1.039, allocations: 2.724 MB / 0.797 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/1.039, allocations: 8.438 kB / 0.797 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/1.058, allocations: 6.435 MB / 0.8033 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.06, allocations: 327.6 kB / 0.8036 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05667/1.117, allocations: 26.45 MB / 0.8294 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.121, allocations: 486.5 kB / 0.8299 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/1.121, allocations: 77.91 kB / 0.83 GB, free: 118.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.121, allocations: 3.812 kB / 0.83 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04004/1.161, allocations: 13.79 MB / 0.8435 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/1.161, allocations: 6.656 kB / 0.8435 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01878/1.18, allocations: 6.443 MB / 0.8498 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.182, allocations: 308.9 kB / 0.85 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05504/1.237, allocations: 26.44 MB / 0.8759 GB, free: 108.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/1.24, allocations: 467.6 kB / 0.8763 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.241, allocations: 79.25 kB / 0.8764 GB, free: 108.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (186): * Single equations (assignments): 185 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001178/1.242, allocations: 491.4 kB / 0.8769 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/1.242, allocations: 272.1 kB / 0.8771 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03531/1.277, allocations: 14.28 MB / 0.8911 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.278, allocations: 24 kB / 0.8911 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/1.278, allocations: 20 kB / 0.8911 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.755e-05/1.278, allocations: 10.41 kB / 0.8911 GB, free: 105.2 MB / 0.573 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.03905/1.317, allocations: 17.77 MB / 0.9085 GB, free: 91.67 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.317, allocations: 4 kB / 0.9085 GB, free: 91.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.318, allocations: 247.9 kB / 0.9087 GB, free: 91.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/1.333, allocations: 6.049 MB / 0.9146 GB, free: 86.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002947/1.334, allocations: 47.61 kB / 0.9147 GB, free: 86.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04306/1.377, allocations: 22.67 MB / 0.9368 GB, free: 67.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.377, allocations: 0 / 0.9368 GB, free: 67.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03914/1.416, allocations: 16.8 MB / 0.9532 GB, free: 53.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/1.417, allocations: 377.7 kB / 0.9536 GB, free: 53.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/1.417, allocations: 47.95 kB / 0.9536 GB, free: 53.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.42, allocations: 361 kB / 0.954 GB, free: 53.17 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/1.421, allocations: 0.5524 MB / 0.9545 GB, free: 52.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.421, allocations: 59.94 kB / 0.9546 GB, free: 52.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001384/1.423, allocations: 1.266 MB / 0.9558 GB, free: 51.74 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 0 / 0.9558 GB, free: 51.74 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003967/1.427, allocations: 1.69 MB / 0.9574 GB, free: 50.12 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (147): * Single equations (assignments): 146 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/1.427, allocations: 184.5 kB / 0.9576 GB, free: 49.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02618/1.453, allocations: 11.31 MB / 0.9687 GB, free: 39.58 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.453, allocations: 0 / 0.9687 GB, free: 39.58 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.464, allocations: 4.592 MB / 0.9731 GB, free: 34.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.466, allocations: 191 kB / 0.9733 GB, free: 34.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/1.473, allocations: 6.161 MB / 0.9793 GB, free: 28.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008499/1.474, allocations: 1.786 MB / 0.9811 GB, free: 26.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009018/1.475, allocations: 208.5 kB / 0.9813 GB, free: 26.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.475, allocations: 119.4 kB / 0.9814 GB, free: 26.48 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/1.475, allocations: 0 / 0.9814 GB, free: 26.48 MB / 0.573 GB Notification: Performance of Templates: time 0.2958/1.771, allocations: 70.83 MB / 1.051 GB, free: 125.1 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)