Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004158/0.004158, allocations: 170.8 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.143/1.143, allocations: 223.2 MB / 239 MB, free: 1.766 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.0008459/0.0008459, allocations: 99.23 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.3851/0.3851, allocations: 78.51 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 15.98 kB / 499.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2858, allocations: 69.35 MB / 0.5557 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3874, allocations: 98.67 MB / 0.6521 GB, free: 7.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3876, allocations: 83.95 kB / 0.6522 GB, free: 7.629 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/0.528, allocations: 61.04 MB / 0.7118 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5281, allocations: 0 / 0.7118 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000116/0.5282, allocations: 48 kB / 0.7118 GB, free: 10.2 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01102/0.5392, allocations: 4.22 MB / 0.7159 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5393, allocations: 11.97 kB / 0.7159 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009244/0.5485, allocations: 1.58 MB / 0.7175 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.5515, allocations: 1.479 MB / 0.7189 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000516/0.552, allocations: 0.6825 MB / 0.7196 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.5523, allocations: 195.9 kB / 0.7198 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.5578, allocations: 3.074 MB / 0.7228 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.5578, allocations: 0 / 0.7228 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.558, allocations: 83.98 kB / 0.7229 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.5581, allocations: 47.95 kB / 0.7229 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005307/0.5634, allocations: 2.869 MB / 0.7257 GB, free: 11.7 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.01551/0.5789, allocations: 9.592 MB / 0.7351 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.5894, allocations: 4.786 MB / 0.7398 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.5897, allocations: 41.95 kB / 0.7398 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5897, allocations: 52.56 kB / 0.7398 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=228): time 3.617e-06/0.5897, allocations: 0 / 0.7398 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=228): time 0.09762/0.6873, allocations: 28.56 MB / 0.7677 GB, free: 56 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2056/0.893, allocations: 126 kB / 0.7679 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.8954, allocations: 1.647 MB / 0.7695 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005316/0.896, allocations: 65.3 kB / 0.7695 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.8966, allocations: 1.124 MB / 0.7706 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006828/0.8973, allocations: 0.784 MB / 0.7714 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.8975, allocations: 42.09 kB / 0.7714 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8976, allocations: 385.2 kB / 0.7718 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/0.9011, allocations: 1.8 MB / 0.7736 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/0.9049, allocations: 2.102 MB / 0.7756 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.9083, allocations: 1.911 MB / 0.7775 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.9083, allocations: 6.125 kB / 0.7775 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03624/0.9445, allocations: 14.11 MB / 0.7913 GB, free: 118 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004299/0.945, allocations: 2.733 MB / 0.7939 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.945, allocations: 5.875 kB / 0.7939 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/0.9627, allocations: 6.443 MB / 0.8002 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.9643, allocations: 320.7 kB / 0.8005 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05635/1.021, allocations: 26.46 MB / 0.8264 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.024, allocations: 492.2 kB / 0.8268 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.024, allocations: 78.84 kB / 0.8269 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.024, allocations: 7.531 kB / 0.8269 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03443/1.059, allocations: 13.79 MB / 0.8404 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/1.059, allocations: 7.938 kB / 0.8404 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/1.075, allocations: 6.438 MB / 0.8467 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.077, allocations: 314.6 kB / 0.847 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05071/1.128, allocations: 26.44 MB / 0.8728 GB, free: 86.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/1.131, allocations: 465.8 kB / 0.8732 GB, free: 85.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.131, allocations: 78.56 kB / 0.8733 GB, free: 85.81 MB / 0.5573 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.001013/1.132, allocations: 0.4883 MB / 0.8738 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.132, allocations: 272.6 kB / 0.8741 GB, free: 85.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0338/1.166, allocations: 14.27 MB / 0.888 GB, free: 74.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.166, allocations: 21.64 kB / 0.888 GB, free: 74.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.166, allocations: 27.61 kB / 0.888 GB, free: 74.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/1.166, allocations: 10.41 kB / 0.888 GB, free: 74.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.03745/1.204, allocations: 17.76 MB / 0.9054 GB, free: 60.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.204, allocations: 3.891 kB / 0.9054 GB, free: 60.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.205, allocations: 242.7 kB / 0.9056 GB, free: 60.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.22, allocations: 6.056 MB / 0.9115 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/1.22, allocations: 48 kB / 0.9116 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04444/1.265, allocations: 22.66 MB / 0.9337 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.265, allocations: 0 / 0.9337 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03878/1.304, allocations: 16.81 MB / 0.9501 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/1.305, allocations: 377.3 kB / 0.9505 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008696/1.305, allocations: 44 kB / 0.9505 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/1.308, allocations: 359.7 kB / 0.9509 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001887/1.31, allocations: 0.5488 MB / 0.9514 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/1.311, allocations: 55.98 kB / 0.9515 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001788/1.312, allocations: 1.267 MB / 0.9527 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.31e-07/1.312, allocations: 3.938 kB / 0.9527 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005135/1.318, allocations: 1.694 MB / 0.9544 GB, free: 11.8 MB / 0.5573 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.0005073/1.318, allocations: 184.3 kB / 0.9545 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02637/1.344, allocations: 11.3 MB / 0.9656 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.344, allocations: 0 / 0.9656 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01259/1.357, allocations: 4.596 MB / 0.9701 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.359, allocations: 192 kB / 0.9702 GB, free: 11.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.369, allocations: 6.177 MB / 0.9763 GB, free: 5.309 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.371, allocations: 1.786 MB / 0.978 GB, free: 3.492 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001155/1.372, allocations: 209 kB / 0.9782 GB, free: 3.289 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/1.373, allocations: 115.4 kB / 0.9783 GB, free: 3.18 MB / 0.573 GB Notification: Performance of SimCode: time 5.2e-07/1.373, allocations: 0 / 0.9783 GB, free: 3.18 MB / 0.573 GB Notification: Performance of Templates: time 0.2842/1.657, allocations: 70.83 MB / 1.047 GB, free: 140.9 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)