Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.259/1.259, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009328/0.0009328, allocations: 101.6 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.467/0.467, allocations: 78.94 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.259e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1563, allocations: 69.53 MB / 0.5424 GB, free: 5.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.5508, allocations: 98.69 MB / 0.6388 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.551, allocations: 80.48 kB / 0.6389 GB, free: 15.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08228/0.6333, allocations: 30.71 MB / 0.6689 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6334, allocations: 0 / 0.6689 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.732e-05/0.6334, allocations: 23.94 kB / 0.6689 GB, free: 0.6406 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00407/0.6375, allocations: 1.722 MB / 0.6706 GB, free: 14.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6376, allocations: 8.031 kB / 0.6706 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.6408, allocations: 0.5641 MB / 0.6711 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.6421, allocations: 0.792 MB / 0.6719 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.6424, allocations: 206.4 kB / 0.6721 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.6425, allocations: 48 kB / 0.6722 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/0.6439, allocations: 0.8123 MB / 0.673 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.6453, allocations: 0.8377 MB / 0.6738 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6454, allocations: 0 / 0.6738 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.6454, allocations: 0 / 0.6738 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6455, allocations: 20 kB / 0.6738 GB, free: 11.48 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.006479/0.6519, allocations: 3.786 MB / 0.6775 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006882/0.6588, allocations: 2.593 MB / 0.68 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.6597, allocations: 0.5196 MB / 0.6805 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.6598, allocations: 16.77 kB / 0.6805 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.6599, allocations: 47.28 kB / 0.6806 GB, free: 4.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.406e-06/0.6599, allocations: 0 / 0.6806 GB, free: 4.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01179/0.6717, allocations: 3.824 MB / 0.6843 GB, free: 400 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.6718, allocations: 145.2 kB / 0.6845 GB, free: 224 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6731, allocations: 0.8428 MB / 0.6853 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.6734, allocations: 25.7 kB / 0.6853 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.6737, allocations: 0.509 MB / 0.6858 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.6741, allocations: 331 kB / 0.6861 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.6742, allocations: 0 / 0.6861 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6743, allocations: 341.9 kB / 0.6864 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.675, allocations: 430.6 kB / 0.6869 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.6758, allocations: 0.5584 MB / 0.6874 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/0.6766, allocations: 490.2 kB / 0.6879 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/0.6766, allocations: 4.75 kB / 0.6879 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01192/0.6885, allocations: 3.887 MB / 0.6917 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.6891, allocations: 1.203 MB / 0.6928 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6891, allocations: 4 kB / 0.6929 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/0.6942, allocations: 1.429 MB / 0.6942 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6953, allocations: 187.7 kB / 0.6944 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.7076, allocations: 6.272 MB / 0.7006 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.7093, allocations: 175.2 kB / 0.7007 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.7094, allocations: 36.64 kB / 0.7008 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7094, allocations: 4 kB / 0.7008 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/0.7208, allocations: 3.735 MB / 0.7044 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.7209, allocations: 7.938 kB / 0.7044 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/0.7258, allocations: 1.422 MB / 0.7058 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7269, allocations: 179.8 kB / 0.706 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7395, allocations: 6.264 MB / 0.7121 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7411, allocations: 163.9 kB / 0.7122 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.7412, allocations: 35.98 kB / 0.7123 GB, free: 3.289 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.7416, allocations: 169.2 kB / 0.7124 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.7419, allocations: 122.5 kB / 0.7126 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.7537, allocations: 3.913 MB / 0.7164 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.7538, allocations: 15.33 kB / 0.7164 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.7538, allocations: 8.656 kB / 0.7164 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/0.7539, allocations: 3.984 kB / 0.7164 GB, free: 15.04 MB / 0.5261 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.01439/0.7682, allocations: 5.475 MB / 0.7218 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.7683, allocations: 4.031 kB / 0.7218 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/0.7692, allocations: 111.9 kB / 0.7219 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/0.7738, allocations: 1.398 MB / 0.7232 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.7741, allocations: 8 kB / 0.7232 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.7858, allocations: 5.623 MB / 0.7287 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-05/0.7859, allocations: 4 kB / 0.7287 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/0.7992, allocations: 4.661 MB / 0.7333 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.7999, allocations: 223.3 kB / 0.7335 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.8001, allocations: 7.984 kB / 0.7335 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.8014, allocations: 119.9 kB / 0.7336 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/0.8019, allocations: 176.5 kB / 0.7338 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/0.802, allocations: 35.94 kB / 0.7338 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009765/0.803, allocations: 0.6454 MB / 0.7345 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.803, allocations: 0 / 0.7345 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002075/0.8051, allocations: 0.6161 MB / 0.7351 GB, free: 11.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.00035/0.8054, allocations: 135.1 kB / 0.7352 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008686/0.8141, allocations: 3.486 MB / 0.7386 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8142, allocations: 0 / 0.7386 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003896/0.8181, allocations: 1.417 MB / 0.74 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.8191, allocations: 93.67 kB / 0.7401 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.8228, allocations: 1.818 MB / 0.7418 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.8236, allocations: 1.162 MB / 0.743 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009944/0.8246, allocations: 200.2 kB / 0.7432 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.8249, allocations: 59.42 kB / 0.7432 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of SimCode: time 1.983e-06/0.8249, allocations: 0 / 0.7432 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of Templates: time 0.3509/1.176, allocations: 25.83 MB / 0.7684 GB, free: 144.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)