Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001295/0.001295, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0009088/0.000909, allocations: 90.05 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4164/0.4164, allocations: 78.13 MB / 409.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 4 kB / 485 MB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 69.35 MB / 0.5413 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4603, allocations: 97.94 MB / 0.637 GB, free: 6.836 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4606, allocations: 75.95 kB / 0.637 GB, free: 6.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4632/0.9239, allocations: 60.02 MB / 0.6956 GB, free: 97.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9239, allocations: 0 / 0.6956 GB, free: 97.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.9241, allocations: 50.25 kB / 0.6957 GB, free: 97.73 MB / 490.7 MB 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.01074/0.9348, allocations: 3.725 MB / 0.6993 GB, free: 96.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.9349, allocations: 10.81 kB / 0.6993 GB, free: 96.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.9447, allocations: 1.569 MB / 0.7009 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.9485, allocations: 1.47 MB / 0.7023 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/0.9492, allocations: 0.6102 MB / 0.7029 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007304/0.9499, allocations: 119.7 kB / 0.703 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00414/0.9541, allocations: 2.077 MB / 0.705 GB, free: 95.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/0.9582, allocations: 2.142 MB / 0.7071 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.9583, allocations: 1.312 kB / 0.7071 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.9585, allocations: 3.953 kB / 0.7071 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.9586, allocations: 46 kB / 0.7072 GB, free: 94.45 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01562/0.9742, allocations: 9.298 MB / 0.7163 GB, free: 89.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008416/0.9826, allocations: 3.959 MB / 0.7201 GB, free: 87.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.9843, allocations: 1.37 MB / 0.7215 GB, free: 86.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.9846, allocations: 37.88 kB / 0.7215 GB, free: 85.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.9846, allocations: 60.56 kB / 0.7216 GB, free: 85.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.168e-06/0.9847, allocations: 0 / 0.7216 GB, free: 85.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03359/1.018, allocations: 11.9 MB / 0.7332 GB, free: 74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.018, allocations: 124.8 kB / 0.7333 GB, free: 73.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/1.021, allocations: 1.487 MB / 0.7348 GB, free: 72.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008615/1.022, allocations: 25.7 kB / 0.7348 GB, free: 72.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/1.023, allocations: 1.116 MB / 0.7359 GB, free: 71.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.025, allocations: 0.758 MB / 0.7366 GB, free: 70.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006632/1.026, allocations: 0 / 0.7366 GB, free: 70.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/1.026, allocations: 382.2 kB / 0.737 GB, free: 70.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/1.028, allocations: 1.121 MB / 0.7381 GB, free: 68.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/1.03, allocations: 1.396 MB / 0.7394 GB, free: 67.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/1.033, allocations: 1.226 MB / 0.7406 GB, free: 66.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.033, allocations: 0 / 0.7406 GB, free: 66.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03378/1.066, allocations: 12.01 MB / 0.7524 GB, free: 54.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000566/1.067, allocations: 2.726 MB / 0.755 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/1.067, allocations: 8 kB / 0.755 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/1.082, allocations: 4.969 MB / 0.7599 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.084, allocations: 323.5 kB / 0.7602 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03649/1.121, allocations: 17.55 MB / 0.7773 GB, free: 28.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/1.124, allocations: 445.8 kB / 0.7778 GB, free: 27.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004863/1.125, allocations: 84.55 kB / 0.7778 GB, free: 27.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/1.125, allocations: 4 kB / 0.7778 GB, free: 27.78 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03302/1.158, allocations: 11.7 MB / 0.7893 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/1.158, allocations: 14.48 kB / 0.7893 GB, free: 16.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01475/1.173, allocations: 4.971 MB / 0.7941 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.174, allocations: 307.6 kB / 0.7944 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03818/1.213, allocations: 17.55 MB / 0.8116 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.216, allocations: 422 kB / 0.812 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005435/1.217, allocations: 71.98 kB / 0.812 GB, free: 8.688 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.0009443/1.218, allocations: 154.8 kB / 0.8122 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008814/1.219, allocations: 268.6 kB / 0.8124 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03666/1.256, allocations: 12.16 MB / 0.8243 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/1.256, allocations: 31.98 kB / 0.8243 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-05/1.256, allocations: 16 kB / 0.8244 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-05/1.256, allocations: 11.95 kB / 0.8244 GB, free: 12.02 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04374/1.3, allocations: 15.46 MB / 0.8395 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.3, allocations: 3.938 kB / 0.8395 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.301, allocations: 243.7 kB / 0.8397 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01542/1.317, allocations: 4.791 MB / 0.8444 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006544/1.317, allocations: 11.98 kB / 0.8444 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03434/1.352, allocations: 15.16 MB / 0.8592 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.352, allocations: 3.953 kB / 0.8592 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0406/1.393, allocations: 14.08 MB / 0.873 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.394, allocations: 373.3 kB / 0.8733 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.395, allocations: 4 kB / 0.8733 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/1.398, allocations: 327.7 kB / 0.8736 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002089/1.4, allocations: 0.5485 MB / 0.8742 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/1.401, allocations: 63.98 kB / 0.8742 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00202/1.403, allocations: 1.106 MB / 0.8753 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.403, allocations: 0 / 0.8753 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005945/1.409, allocations: 1.532 MB / 0.8768 GB, free: 5.977 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 () * 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.000562/1.409, allocations: 145 kB / 0.8769 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02628/1.435, allocations: 9.099 MB / 0.8858 GB, free: 12.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.436, allocations: 0 / 0.8858 GB, free: 12.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.447, allocations: 3.808 MB / 0.8896 GB, free: 8.883 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.449, allocations: 152.2 kB / 0.8897 GB, free: 8.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/1.458, allocations: 3.878 MB / 0.8935 GB, free: 4.801 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.46, allocations: 1.79 MB / 0.8952 GB, free: 2.977 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001819/1.462, allocations: 348.5 kB / 0.8956 GB, free: 2.629 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/1.462, allocations: 107.4 kB / 0.8957 GB, free: 2.523 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/1.462, allocations: 0 / 0.8957 GB, free: 2.523 MB / 0.573 GB Notification: Performance of Templates: time 0.3611/1.823, allocations: 69.23 MB / 0.9633 GB, free: 145.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)