Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003844/0.003844, allocations: 170.7 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.178/1.178, allocations: 223.2 MB / 239 MB, free: 1.77 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.0009081/0.0009081, allocations: 97.14 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.4241/0.4241, allocations: 78.51 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 16 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 69.35 MB / 0.5557 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.4333, allocations: 97.94 MB / 0.6514 GB, free: 8.473 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4335, allocations: 83.94 kB / 0.6514 GB, free: 8.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1392/0.5727, allocations: 60.89 MB / 0.7109 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5727, allocations: 0 / 0.7109 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001784/0.5729, allocations: 55.94 kB / 0.711 GB, free: 11.09 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01157/0.5845, allocations: 4.224 MB / 0.7151 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5846, allocations: 8.031 kB / 0.7151 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.5935, allocations: 1.584 MB / 0.7166 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.5962, allocations: 1.464 MB / 0.7181 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/0.5967, allocations: 0.6903 MB / 0.7187 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.5971, allocations: 195.9 kB / 0.7189 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.6024, allocations: 3.062 MB / 0.7219 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.6024, allocations: 0 / 0.7219 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.6027, allocations: 83.95 kB / 0.722 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.6027, allocations: 44 kB / 0.722 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.6078, allocations: 2.869 MB / 0.7248 GB, free: 12.61 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.0149/0.6227, allocations: 9.599 MB / 0.7342 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6331, allocations: 4.752 MB / 0.7389 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.6334, allocations: 45.88 kB / 0.7389 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6334, allocations: 60.5 kB / 0.739 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 4.017e-06/0.6334, allocations: 0 / 0.739 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=227): time 0.3304/0.9638, allocations: 32.21 MB / 0.7704 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.9639, allocations: 137.8 kB / 0.7705 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.9667, allocations: 1.653 MB / 0.7722 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.9671, allocations: 63.92 kB / 0.7722 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.9679, allocations: 1.119 MB / 0.7733 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/0.9685, allocations: 0.7754 MB / 0.7741 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.9687, allocations: 45.47 kB / 0.7741 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9688, allocations: 386 kB / 0.7745 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/0.9721, allocations: 1.796 MB / 0.7762 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.9753, allocations: 2.102 MB / 0.7783 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.9784, allocations: 1.909 MB / 0.7802 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.9785, allocations: 2.969 kB / 0.7802 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03571/1.014, allocations: 14.11 MB / 0.7939 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003934/1.015, allocations: 2.728 MB / 0.7966 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.015, allocations: 8.781 kB / 0.7966 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/1.032, allocations: 6.374 MB / 0.8028 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.034, allocations: 316.8 kB / 0.8031 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05364/1.087, allocations: 26.5 MB / 0.829 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/1.091, allocations: 490.3 kB / 0.8295 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/1.091, allocations: 77.64 kB / 0.8295 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/1.091, allocations: 6.781 kB / 0.8296 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03465/1.126, allocations: 13.79 MB / 0.843 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.126, allocations: 10.56 kB / 0.843 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01658/1.142, allocations: 6.372 MB / 0.8492 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.144, allocations: 301.7 kB / 0.8495 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05194/1.195, allocations: 26.51 MB / 0.8754 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/1.199, allocations: 461 kB / 0.8759 GB, free: 84.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/1.199, allocations: 83.8 kB / 0.8759 GB, free: 84.62 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real 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 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 (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001314/1.2, allocations: 491.8 kB / 0.8764 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/1.201, allocations: 272.6 kB / 0.8767 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03529/1.236, allocations: 14.27 MB / 0.8906 GB, free: 72.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.236, allocations: 27.8 kB / 0.8906 GB, free: 72.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-05/1.236, allocations: 18.75 kB / 0.8907 GB, free: 72.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/1.236, allocations: 10.69 kB / 0.8907 GB, free: 72.86 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.04312/1.28, allocations: 17.76 MB / 0.908 GB, free: 59.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.28, allocations: 4.125 kB / 0.908 GB, free: 59.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.281, allocations: 250.6 kB / 0.9082 GB, free: 58.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01559/1.297, allocations: 6.077 MB / 0.9142 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.297, allocations: 47.94 kB / 0.9142 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04599/1.343, allocations: 22.67 MB / 0.9364 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.343, allocations: 4 kB / 0.9364 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03859/1.382, allocations: 16.79 MB / 0.9528 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/1.383, allocations: 381.1 kB / 0.9531 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/1.383, allocations: 40 kB / 0.9532 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.386, allocations: 367.6 kB / 0.9535 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/1.388, allocations: 0.5474 MB / 0.9541 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.388, allocations: 55.95 kB / 0.9541 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001614/1.39, allocations: 1.279 MB / 0.9554 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.39, allocations: 4 kB / 0.9554 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004591/1.394, allocations: 1.691 MB / 0.957 GB, free: 9.062 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004023/1.395, allocations: 178.4 kB / 0.9572 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02649/1.421, allocations: 11.27 MB / 0.9682 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.421, allocations: 0 / 0.9682 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/1.433, allocations: 4.601 MB / 0.9727 GB, free: 9.004 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.435, allocations: 190.6 kB / 0.9729 GB, free: 8.816 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.446, allocations: 6.089 MB / 0.9788 GB, free: 2.688 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.447, allocations: 1.782 MB / 0.9805 GB, free: 0.875 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001042/1.448, allocations: 208.9 kB / 0.9807 GB, free: 0.6758 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/1.449, allocations: 123.4 kB / 0.9809 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of SimCode: time 6.82e-07/1.449, allocations: 0 / 0.9809 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of Templates: time 0.3171/1.766, allocations: 70.97 MB / 1.05 GB, free: 142.3 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)