Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005535/0.005535, 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.415/1.415, 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.0009145/0.0009145, 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.06546/0.06546, allocations: 12.6 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.4709/0.4709, allocations: 78.52 MB / 460 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005411, allocations: 18.69 kB / 0.5285 GB, free: 35.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, allocations: 69.34 MB / 0.5962 GB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5609, allocations: 99.8 MB / 0.6936 GB, free: 98.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5612, allocations: 82.59 kB / 0.6937 GB, free: 98.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07406/0.6353, allocations: 29.26 MB / 0.7223 GB, free: 88.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6353, allocations: 0 / 0.7223 GB, free: 88.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.604e-05/0.6354, allocations: 20 kB / 0.7223 GB, free: 88.47 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004413/0.6398, allocations: 1.982 MB / 0.7243 GB, free: 86.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6398, allocations: 15.98 kB / 0.7243 GB, free: 86.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.643, allocations: 0.5719 MB / 0.7248 GB, free: 85.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6443, allocations: 0.7996 MB / 0.7256 GB, free: 84.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.6445, allocations: 230.5 kB / 0.7258 GB, free: 84.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6446, allocations: 79.91 kB / 0.7259 GB, free: 84.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.6464, allocations: 1.146 MB / 0.727 GB, free: 83.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.6465, allocations: 0 / 0.727 GB, free: 83.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.6466, allocations: 39.98 kB / 0.7271 GB, free: 83.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6466, allocations: 23.89 kB / 0.7271 GB, free: 83.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6483, allocations: 1.066 MB / 0.7281 GB, free: 82.35 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.005353/0.6537, allocations: 3.828 MB / 0.7319 GB, free: 78.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.6608, allocations: 2.863 MB / 0.7347 GB, free: 75.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.6609, allocations: 20.98 kB / 0.7347 GB, free: 75.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6609, allocations: 47.45 kB / 0.7347 GB, free: 75.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.707e-06/0.6609, allocations: 0 / 0.7347 GB, free: 75.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.02493/0.6859, allocations: 8.03 MB / 0.7426 GB, free: 67.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.686, allocations: 145.5 kB / 0.7427 GB, free: 67.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.6875, allocations: 0.9172 MB / 0.7436 GB, free: 66.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.6877, allocations: 45.7 kB / 0.7436 GB, free: 66.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.688, allocations: 0.5129 MB / 0.7441 GB, free: 65.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.6883, allocations: 327.2 kB / 0.7445 GB, free: 65.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.6883, allocations: 20 kB / 0.7445 GB, free: 65.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.6884, allocations: 345.9 kB / 0.7448 GB, free: 64.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.6895, allocations: 0.6305 MB / 0.7454 GB, free: 64.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6907, allocations: 0.776 MB / 0.7462 GB, free: 63.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6918, allocations: 0.7346 MB / 0.7469 GB, free: 62.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6918, allocations: 0 / 0.7469 GB, free: 62.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01155/0.7034, allocations: 4.672 MB / 0.7515 GB, free: 57.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.7037, allocations: 1.207 MB / 0.7526 GB, free: 56.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.7037, allocations: 0 / 0.7526 GB, free: 56.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005346/0.709, allocations: 1.843 MB / 0.7544 GB, free: 54.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.71, allocations: 167.7 kB / 0.7546 GB, free: 54.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.7273, allocations: 9.245 MB / 0.7636 GB, free: 45.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.729, allocations: 191.3 kB / 0.7638 GB, free: 45.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.7291, allocations: 35.98 kB / 0.7638 GB, free: 45.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7291, allocations: 0 / 0.7638 GB, free: 45.05 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0115/0.7406, allocations: 4.515 MB / 0.7683 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7406, allocations: 4 kB / 0.7683 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/0.7459, allocations: 1.851 MB / 0.7701 GB, free: 38.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.7468, allocations: 155.8 kB / 0.7702 GB, free: 38.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.7641, allocations: 9.236 MB / 0.7792 GB, free: 29.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.7658, allocations: 179.4 kB / 0.7794 GB, free: 28.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.7659, allocations: 35.98 kB / 0.7794 GB, free: 28.93 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007303/0.7666, allocations: 359.5 kB / 0.7798 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.7669, allocations: 126.4 kB / 0.7799 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.7782, allocations: 4.618 MB / 0.7844 GB, free: 23.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7782, allocations: 8 kB / 0.7844 GB, free: 23.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7783, allocations: 8 kB / 0.7844 GB, free: 23.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.7783, allocations: 3.984 kB / 0.7844 GB, free: 23.77 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 postOpt removeSimpleEquations (simulation): time 0.01326/0.7916, allocations: 6.233 MB / 0.7905 GB, free: 17.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.7916, allocations: 0 / 0.7905 GB, free: 17.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.7923, allocations: 115.8 kB / 0.7906 GB, free: 17.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004814/0.7971, allocations: 1.8 MB / 0.7924 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.7974, allocations: 16 kB / 0.7924 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.8125, allocations: 8.019 MB / 0.8002 GB, free: 7.328 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8125, allocations: 3.938 kB / 0.8002 GB, free: 7.324 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.8258, allocations: 5.528 MB / 0.8056 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.8264, allocations: 227.3 kB / 0.8059 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.8268, allocations: 20 kB / 0.8059 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.8283, allocations: 139.9 kB / 0.806 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/0.8288, allocations: 172.7 kB / 0.8062 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.8289, allocations: 27.98 kB / 0.8062 GB, free: 1.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.83, allocations: 0.7235 MB / 0.8069 GB, free: 448 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.83, allocations: 0 / 0.8069 GB, free: 448 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002587/0.8326, allocations: 0.667 MB / 0.8076 GB, free: 15.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004014/0.833, allocations: 156.9 kB / 0.8077 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01061/0.8437, allocations: 4.171 MB / 0.8118 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8437, allocations: 0 / 0.8118 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.8483, allocations: 1.661 MB / 0.8134 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.8501, allocations: 116.3 kB / 0.8135 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.8554, allocations: 2.617 MB / 0.8161 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.8563, allocations: 1.155 MB / 0.8172 GB, free: 5.738 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006583/0.857, allocations: 122.4 kB / 0.8173 GB, free: 5.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.8573, allocations: 63.42 kB / 0.8174 GB, free: 5.551 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8573, allocations: 0 / 0.8174 GB, free: 5.551 MB / 490.7 MB Notification: Performance of Templates: time 0.04275/0.9001, allocations: 25.86 MB / 0.8426 GB, free: 11.7 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)