Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005541/0.005541, 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.403/1.403, allocations: 205.4 MB / 221.2 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.0008523/0.0008523, allocations: 98.84 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.07037/0.07037, allocations: 12.59 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4155/0.4155, allocations: 78.52 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.000514, allocations: 19.78 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1386, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.5522, allocations: 103.4 MB / 0.6972 GB, free: 99.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5525, allocations: 84.22 kB / 0.6972 GB, free: 99.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2095/0.7621, allocations: 95.94 MB / 0.7909 GB, free: 17.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7621, allocations: 0 / 0.7909 GB, free: 17.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002045/0.7624, allocations: 87.94 kB / 0.791 GB, free: 17.73 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01781/0.7802, allocations: 6.535 MB / 0.7974 GB, free: 11.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7802, allocations: 11.98 kB / 0.7974 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01674/0.797, allocations: 2.811 MB / 0.8002 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/0.8033, allocations: 2.321 MB / 0.8024 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006571/0.8039, allocations: 0.9595 MB / 0.8034 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.8045, allocations: 340 kB / 0.8037 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008515/0.813, allocations: 4.938 MB / 0.8085 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.8131, allocations: 3.938 kB / 0.8085 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.8135, allocations: 140 kB / 0.8086 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.8136, allocations: 91.94 kB / 0.8087 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008561/0.8222, allocations: 4.509 MB / 0.8131 GB, free: 10.73 MB / 490.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.03671/0.8589, allocations: 18.62 MB / 0.8313 GB, free: 6.918 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.872, allocations: 5.652 MB / 0.8368 GB, free: 1.184 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/0.8729, allocations: 70.91 kB / 0.8369 GB, free: 1.113 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.96e-05/0.873, allocations: 81.48 kB / 0.837 GB, free: 1.023 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=380): time 1.007e-05/0.873, allocations: 0 / 0.837 GB, free: 1.023 MB / 0.4949 GB Notification: Performance of matching and sorting (n=380): time 0.3126/1.186, allocations: 78.62 MB / 0.9138 GB, free: 2.238 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.186, allocations: 171.4 kB / 0.9139 GB, free: 2.039 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2828/1.469, allocations: 2.695 MB / 0.9166 GB, free: 128 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.47, allocations: 87.33 kB / 0.9166 GB, free: 128 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.471, allocations: 1.991 MB / 0.9186 GB, free: 127.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.472, allocations: 1.291 MB / 0.9198 GB, free: 127.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/1.473, allocations: 73.28 kB / 0.9199 GB, free: 127.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.473, allocations: 442.8 kB / 0.9203 GB, free: 126.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/1.478, allocations: 2.654 MB / 0.9229 GB, free: 126.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00508/1.483, allocations: 3.234 MB / 0.9261 GB, free: 126.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/1.488, allocations: 2.901 MB / 0.9289 GB, free: 126.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.488, allocations: 4.531 kB / 0.9289 GB, free: 126.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05454/1.542, allocations: 20.11 MB / 0.9486 GB, free: 125.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/1.544, allocations: 6.683 MB / 0.9551 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/1.544, allocations: 17.5 kB / 0.9551 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02475/1.568, allocations: 8.489 MB / 0.9634 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/1.571, allocations: 0.5378 MB / 0.9639 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07395/1.645, allocations: 36.85 MB / 0.9999 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005436/1.651, allocations: 0.685 MB / 1.001 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/1.651, allocations: 131 kB / 1.001 GB, free: 105 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.651, allocations: 4 kB / 1.001 GB, free: 104.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04892/1.7, allocations: 19.67 MB / 1.02 GB, free: 89.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.249e-05/1.7, allocations: 12 kB / 1.02 GB, free: 89.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02378/1.724, allocations: 8.502 MB / 1.028 GB, free: 83.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.727, allocations: 0.5313 MB / 1.029 GB, free: 82.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07287/1.8, allocations: 36.84 MB / 1.065 GB, free: 51.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/1.805, allocations: 0.6617 MB / 1.065 GB, free: 51.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004738/1.806, allocations: 127.8 kB / 1.065 GB, free: 50.93 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (322): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 2 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.002141/1.808, allocations: 0.7374 MB / 1.066 GB, free: 50.22 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.809, allocations: 454.4 kB / 1.067 GB, free: 49.77 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05074/1.86, allocations: 20.42 MB / 1.087 GB, free: 32.56 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/1.86, allocations: 43.75 kB / 1.087 GB, free: 32.52 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/1.86, allocations: 35.95 kB / 1.087 GB, free: 32.49 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/1.86, allocations: 19.92 kB / 1.087 GB, free: 32.47 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.05991/1.92, allocations: 25.67 MB / 1.112 GB, free: 6.723 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/1.92, allocations: 3.609 kB / 1.112 GB, free: 6.723 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.923, allocations: 410.1 kB / 1.112 GB, free: 6.324 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02469/1.947, allocations: 8.546 MB / 1.12 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001148/1.948, allocations: 71.98 kB / 1.121 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.375/2.324, allocations: 32.24 MB / 1.152 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.324, allocations: 2.812 kB / 1.152 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06288/2.386, allocations: 24.08 MB / 1.176 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/2.389, allocations: 0.5513 MB / 1.176 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009639/2.39, allocations: 71.84 kB / 1.176 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/2.394, allocations: 486.9 kB / 1.177 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002962/2.397, allocations: 0.7659 MB / 1.177 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/2.397, allocations: 87.84 kB / 1.177 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003604/2.401, allocations: 2.07 MB / 1.179 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/2.401, allocations: 0 / 1.179 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01027/2.411, allocations: 2.86 MB / 1.182 GB, free: 147.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * 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 (250): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006055/2.412, allocations: 215.7 kB / 1.182 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04145/2.453, allocations: 16.93 MB / 1.199 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.453, allocations: 0 / 1.199 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/2.472, allocations: 6.908 MB / 1.206 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/2.476, allocations: 307.7 kB / 1.206 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/2.49, allocations: 9.716 MB / 1.216 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/2.492, allocations: 2.589 MB / 1.218 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002049/2.494, allocations: 361.7 kB / 1.218 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/2.494, allocations: 200.4 kB / 1.219 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/2.494, allocations: 0 / 1.219 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.1302/2.625, allocations: 105.6 MB / 1.322 GB, free: 55.89 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)