Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005858/0.005858, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008856, allocations: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0623/0.0623, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4039/0.4039, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 15.84 kB / 0.5285 GB, free: 35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 69.33 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4653, allocations: 100.7 MB / 0.6945 GB, free: 98.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4656, allocations: 83.53 kB / 0.6946 GB, free: 98.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.6019, allocations: 60.07 MB / 0.7532 GB, free: 56.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.602, allocations: 0 / 0.7532 GB, free: 56.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.6021, allocations: 59.81 kB / 0.7533 GB, free: 56.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01089/0.613, allocations: 4.282 MB / 0.7575 GB, free: 52.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6131, allocations: 15.92 kB / 0.7575 GB, free: 52.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/0.6222, allocations: 1.592 MB / 0.759 GB, free: 50.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.6252, allocations: 1.495 MB / 0.7605 GB, free: 49.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.6256, allocations: 0.6787 MB / 0.7611 GB, free: 48.24 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.626, allocations: 195.9 kB / 0.7613 GB, free: 48.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.6311, allocations: 3.086 MB / 0.7643 GB, free: 44.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.6312, allocations: 0 / 0.7643 GB, free: 44.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.6314, allocations: 76 kB / 0.7644 GB, free: 44.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.6314, allocations: 48 kB / 0.7645 GB, free: 44.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.6363, allocations: 2.877 MB / 0.7673 GB, free: 41.95 MB / 474.7 MB 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.01481/0.6511, allocations: 9.674 MB / 0.7767 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009947/0.6611, allocations: 4.78 MB / 0.7814 GB, free: 26.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.6613, allocations: 37.97 kB / 0.7814 GB, free: 26.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6614, allocations: 60.5 kB / 0.7815 GB, free: 26.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 5.371e-06/0.6614, allocations: 0 / 0.7815 GB, free: 26.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=229): time 0.09208/0.7535, allocations: 28.72 MB / 0.8095 GB, free: 14.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.7536, allocations: 124.8 kB / 0.8096 GB, free: 13.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.7563, allocations: 1.693 MB / 0.8113 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/0.7569, allocations: 65.7 kB / 0.8114 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009063/0.7578, allocations: 1.14 MB / 0.8125 GB, free: 11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009928/0.7588, allocations: 0.7853 MB / 0.8132 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.759, allocations: 44 kB / 0.8133 GB, free: 10.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.7592, allocations: 382.3 kB / 0.8136 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/0.7629, allocations: 1.808 MB / 0.8154 GB, free: 7.969 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00387/0.7668, allocations: 2.111 MB / 0.8175 GB, free: 5.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.7706, allocations: 1.921 MB / 0.8194 GB, free: 3.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.7706, allocations: 4 kB / 0.8194 GB, free: 3.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.04038/0.811, allocations: 14.14 MB / 0.8332 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009619/0.812, allocations: 2.732 MB / 0.8358 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.8121, allocations: 8 kB / 0.8358 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01999/0.8321, allocations: 6.43 MB / 0.8421 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.8343, allocations: 343.4 kB / 0.8424 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06522/0.8995, allocations: 26.44 MB / 0.8683 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/0.9037, allocations: 497.7 kB / 0.8687 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006186/0.9044, allocations: 75.98 kB / 0.8688 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9044, allocations: 7.438 kB / 0.8688 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04218/0.9466, allocations: 13.81 MB / 0.8823 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.9467, allocations: 11.95 kB / 0.8823 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.9665, allocations: 6.422 MB / 0.8886 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.9685, allocations: 327.5 kB / 0.8889 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06464/1.033, allocations: 26.45 MB / 0.9147 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.038, allocations: 462.1 kB / 0.9152 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.038, allocations: 75.97 kB / 0.9153 GB, free: 1.059 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (188): * 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): 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.002317/1.041, allocations: 0.4892 MB / 0.9157 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.042, allocations: 280.6 kB / 0.916 GB, free: 292 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3007/1.343, allocations: 14.29 MB / 0.93 GB, free: 158.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/1.343, allocations: 20.34 kB / 0.93 GB, free: 158.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-05/1.343, allocations: 21.38 kB / 0.93 GB, free: 158.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.848e-05/1.343, allocations: 13.78 kB / 0.93 GB, free: 158.4 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.04553/1.388, allocations: 17.83 MB / 0.9474 GB, free: 157.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/1.389, allocations: 1.688 kB / 0.9474 GB, free: 157.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.39, allocations: 246.9 kB / 0.9477 GB, free: 157.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/1.406, allocations: 6.028 MB / 0.9535 GB, free: 157.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/1.407, allocations: 45.14 kB / 0.9536 GB, free: 157.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05006/1.457, allocations: 22.68 MB / 0.9757 GB, free: 145.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.457, allocations: 0 / 0.9757 GB, free: 145.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04314/1.5, allocations: 16.84 MB / 0.9922 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.502, allocations: 389.4 kB / 0.9925 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.503, allocations: 40 kB / 0.9926 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003472/1.506, allocations: 365.9 kB / 0.9929 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002222/1.509, allocations: 0.547 MB / 0.9935 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004982/1.509, allocations: 59.38 kB / 0.9935 GB, free: 130.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002213/1.511, allocations: 1.297 MB / 0.9948 GB, free: 129.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.71e-07/1.511, allocations: 4 kB / 0.9948 GB, free: 129.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006423/1.518, allocations: 1.699 MB / 0.9965 GB, free: 128.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (148): * Single equations (assignments): 147 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006754/1.519, allocations: 182.9 kB / 0.9966 GB, free: 128 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02846/1.547, allocations: 11.34 MB / 1.008 GB, free: 118.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.547, allocations: 4 kB / 1.008 GB, free: 118.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/1.559, allocations: 4.593 MB / 1.012 GB, free: 114.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.561, allocations: 187.4 kB / 1.012 GB, free: 114.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.572, allocations: 6.286 MB / 1.019 GB, free: 108.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.574, allocations: 1.797 MB / 1.02 GB, free: 106.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001308/1.575, allocations: 215.7 kB / 1.02 GB, free: 106.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/1.576, allocations: 127.4 kB / 1.021 GB, free: 106.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/1.576, allocations: 0 / 1.021 GB, free: 106.6 MB / 0.573 GB Notification: Performance of Templates: time 0.0905/1.666, allocations: 71.29 MB / 1.09 GB, free: 35.69 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)