Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009217/0.009217, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.506/1.506, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009535/0.0009534, allocations: 94.86 kB / 269.6 MB, free: 13.37 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.06497/0.06497, allocations: 12.59 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4095/0.4095, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007389/0.0007389, allocations: 21.41 kB / 0.5285 GB, free: 35.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1179, allocations: 69.34 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.2466, allocations: 99.53 MB / 0.6934 GB, free: 140 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.2469, allocations: 87.94 kB / 0.6935 GB, free: 52 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3693/0.6162, allocations: 59.15 MB / 0.7512 GB, free: 59.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6162, allocations: 0 / 0.7512 GB, free: 59.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.6163, allocations: 48 kB / 0.7513 GB, free: 59.14 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01144/0.6278, allocations: 4.23 MB / 0.7554 GB, free: 54.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6278, allocations: 11.98 kB / 0.7554 GB, free: 54.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008938/0.6368, allocations: 1.584 MB / 0.757 GB, free: 53.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.6399, allocations: 1.475 MB / 0.7584 GB, free: 51.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.6404, allocations: 0.6787 MB / 0.7591 GB, free: 50.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.6408, allocations: 200 kB / 0.7592 GB, free: 50.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005185/0.646, allocations: 3.062 MB / 0.7622 GB, free: 47.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.646, allocations: 0 / 0.7622 GB, free: 47.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.6463, allocations: 76 kB / 0.7623 GB, free: 47.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.6463, allocations: 52 kB / 0.7624 GB, free: 47.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.6512, allocations: 2.861 MB / 0.7652 GB, free: 44.66 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.01474/0.6659, allocations: 9.599 MB / 0.7745 GB, free: 34.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009517/0.6754, allocations: 4.768 MB / 0.7792 GB, free: 29.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.6758, allocations: 41.95 kB / 0.7792 GB, free: 29.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.6758, allocations: 56.56 kB / 0.7793 GB, free: 29.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=227): time 3.717e-06/0.6758, allocations: 4 kB / 0.7793 GB, free: 29.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=227): time 0.1059/0.7817, allocations: 32.22 MB / 0.8107 GB, free: 13.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.7819, allocations: 132.8 kB / 0.8109 GB, free: 13.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.785, allocations: 1.653 MB / 0.8125 GB, free: 11.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006287/0.7857, allocations: 65.7 kB / 0.8125 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/0.7865, allocations: 1.121 MB / 0.8136 GB, free: 10.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00096/0.7875, allocations: 0.7776 MB / 0.8144 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.7877, allocations: 51.94 kB / 0.8144 GB, free: 9.508 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7879, allocations: 382.2 kB / 0.8148 GB, free: 9.129 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.7914, allocations: 1.796 MB / 0.8166 GB, free: 7.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.7952, allocations: 2.102 MB / 0.8186 GB, free: 5.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.7989, allocations: 1.907 MB / 0.8205 GB, free: 3.211 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.7989, allocations: 0 / 0.8205 GB, free: 3.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03951/0.8385, allocations: 14.11 MB / 0.8343 GB, free: 5.078 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.8395, allocations: 2.74 MB / 0.8369 GB, free: 2.121 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.8396, allocations: 8 kB / 0.8369 GB, free: 2.113 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01947/0.859, allocations: 6.366 MB / 0.8432 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.8608, allocations: 323.5 kB / 0.8435 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06303/0.9239, allocations: 26.5 MB / 0.8693 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/0.9276, allocations: 481.9 kB / 0.8698 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/0.9282, allocations: 83.98 kB / 0.8699 GB, free: 228 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.9283, allocations: 4 kB / 0.8699 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0406/0.9689, allocations: 13.79 MB / 0.8834 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-05/0.9689, allocations: 8 kB / 0.8834 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01919/0.9881, allocations: 6.374 MB / 0.8896 GB, free: 12.03 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.9898, allocations: 303.6 kB / 0.8899 GB, free: 11.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06333/1.053, allocations: 26.51 MB / 0.9158 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004288/1.058, allocations: 462 kB / 0.9162 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007876/1.058, allocations: 83.97 kB / 0.9163 GB, free: 0.5391 MB / 0.573 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.002518/1.061, allocations: 485.9 kB / 0.9167 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2697/1.331, allocations: 270.4 kB / 0.917 GB, free: 161 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04476/1.375, allocations: 14.27 MB / 0.9309 GB, free: 160.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.495e-05/1.375, allocations: 22.97 kB / 0.931 GB, free: 160.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/1.376, allocations: 17.53 kB / 0.931 GB, free: 160.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/1.376, allocations: 15.11 kB / 0.931 GB, free: 160.8 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.04561/1.421, allocations: 17.76 MB / 0.9483 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.421, allocations: 3.953 kB / 0.9483 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.423, allocations: 248.2 kB / 0.9486 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/1.439, allocations: 6.078 MB / 0.9545 GB, free: 159.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007034/1.44, allocations: 51.11 kB / 0.9546 GB, free: 159.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04929/1.489, allocations: 22.67 MB / 0.9767 GB, free: 146.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.489, allocations: 3 kB / 0.9767 GB, free: 146.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04163/1.531, allocations: 16.79 MB / 0.9931 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.532, allocations: 379 kB / 0.9935 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.534, allocations: 40 kB / 0.9935 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/1.537, allocations: 369.4 kB / 0.9939 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/1.539, allocations: 0.5387 MB / 0.9944 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/1.539, allocations: 63.28 kB / 0.9944 GB, free: 132 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001833/1.541, allocations: 1.278 MB / 0.9957 GB, free: 131 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.541, allocations: 0 / 0.9957 GB, free: 131 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004823/1.546, allocations: 1.688 MB / 0.9973 GB, free: 129.3 MB / 0.573 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.0004021/1.546, allocations: 184.5 kB / 0.9975 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02737/1.574, allocations: 11.27 MB / 1.009 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.574, allocations: 0 / 1.009 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/1.586, allocations: 4.598 MB / 1.013 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.588, allocations: 193 kB / 1.013 GB, free: 115.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/1.596, allocations: 6.088 MB / 1.019 GB, free: 109.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.597, allocations: 1.786 MB / 1.021 GB, free: 107.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001198/1.599, allocations: 207.5 kB / 1.021 GB, free: 107.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/1.599, allocations: 115.4 kB / 1.021 GB, free: 107.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/1.599, allocations: 0 / 1.021 GB, free: 107.5 MB / 0.573 GB Notification: Performance of Templates: time 0.08747/1.687, allocations: 70.99 MB / 1.091 GB, free: 36.96 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)