Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005801/0.005801, allocations: 172 kB / 15.11 MB, free: 5.98 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.483/1.483, 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.0009152/0.0009151, allocations: 90.86 kB / 269.6 MB, free: 13.36 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.06591/0.06591, allocations: 12.6 MB / 330.4 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.4069/0.4069, allocations: 78.51 MB / 460 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005037, allocations: 18.53 kB / 0.5285 GB, free: 35.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.6043, allocations: 100.7 MB / 0.6945 GB, free: 35.24 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.6046, allocations: 82.3 kB / 0.6946 GB, free: 35.24 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07967/0.6843, allocations: 30.53 MB / 0.7244 GB, free: 32.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6843, allocations: 3.797 kB / 0.7244 GB, free: 32.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.478e-05/0.6844, allocations: 25.41 kB / 0.7244 GB, free: 32.69 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004913/0.6893, allocations: 2.072 MB / 0.7265 GB, free: 31.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6894, allocations: 15.77 kB / 0.7265 GB, free: 31.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.6925, allocations: 0.5698 MB / 0.727 GB, free: 31.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.6939, allocations: 0.8319 MB / 0.7278 GB, free: 31.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.6941, allocations: 240 kB / 0.7281 GB, free: 31.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.6943, allocations: 86.16 kB / 0.7282 GB, free: 31.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.6962, allocations: 1.162 MB / 0.7293 GB, free: 31.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.6963, allocations: 3.938 kB / 0.7293 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.6964, allocations: 32.94 kB / 0.7293 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.6964, allocations: 19.44 kB / 0.7293 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6982, allocations: 1.084 MB / 0.7304 GB, free: 30.99 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.00596/0.7042, allocations: 3.944 MB / 0.7343 GB, free: 29.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/0.7114, allocations: 2.904 MB / 0.7371 GB, free: 29.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.7115, allocations: 27.89 kB / 0.7371 GB, free: 29.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.7116, allocations: 46.62 kB / 0.7372 GB, free: 29.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 3.026e-06/0.7116, allocations: 3.938 kB / 0.7372 GB, free: 29.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.02605/0.7376, allocations: 8.153 MB / 0.7451 GB, free: 27.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.7378, allocations: 141.1 kB / 0.7453 GB, free: 27.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.7394, allocations: 0.9655 MB / 0.7462 GB, free: 27.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.7396, allocations: 43.52 kB / 0.7462 GB, free: 27.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.7399, allocations: 0.516 MB / 0.7468 GB, free: 26.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.7403, allocations: 336.9 kB / 0.7471 GB, free: 26.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.7403, allocations: 19.31 kB / 0.7471 GB, free: 26.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.7404, allocations: 348.6 kB / 0.7474 GB, free: 26.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.7416, allocations: 0.6588 MB / 0.7481 GB, free: 26.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.7428, allocations: 0.7924 MB / 0.7488 GB, free: 26.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.7442, allocations: 0.7644 MB / 0.7496 GB, free: 25.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7442, allocations: 0 / 0.7496 GB, free: 25.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0128/0.757, allocations: 4.781 MB / 0.7543 GB, free: 24.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.7573, allocations: 1.196 MB / 0.7554 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.7574, allocations: 7.812 kB / 0.7554 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/0.7635, allocations: 1.932 MB / 0.7573 GB, free: 22.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.7645, allocations: 159.8 kB / 0.7575 GB, free: 22.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.7846, allocations: 10.61 MB / 0.7678 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.7866, allocations: 195.9 kB / 0.768 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.7869, allocations: 43.06 kB / 0.7681 GB, free: 18.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7869, allocations: 6.531 kB / 0.7681 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/0.7998, allocations: 4.608 MB / 0.7726 GB, free: 16.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.7999, allocations: 3.938 kB / 0.7726 GB, free: 16.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.806, allocations: 1.928 MB / 0.7745 GB, free: 16.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/0.8069, allocations: 162.8 kB / 0.7746 GB, free: 16.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.827, allocations: 10.62 MB / 0.785 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.8289, allocations: 185.4 kB / 0.7852 GB, free: 24.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.8292, allocations: 37.11 kB / 0.7852 GB, free: 24.83 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.8303, allocations: 367.5 kB / 0.7855 GB, free: 24.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.8308, allocations: 134.3 kB / 0.7857 GB, free: 24.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.8434, allocations: 4.655 MB / 0.7902 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8435, allocations: 8 kB / 0.7902 GB, free: 20.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.8435, allocations: 8 kB / 0.7902 GB, free: 20.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.8435, allocations: 7.938 kB / 0.7902 GB, free: 20.39 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 postOpt removeSimpleEquations (simulation): time 0.01548/0.859, allocations: 6.319 MB / 0.7964 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.8591, allocations: 4 kB / 0.7964 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/0.8599, allocations: 115.9 kB / 0.7965 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/0.8662, allocations: 1.796 MB / 0.7983 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.8664, allocations: 16 kB / 0.7983 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.8844, allocations: 8.003 MB / 0.8061 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8844, allocations: 4 kB / 0.8061 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.8999, allocations: 5.606 MB / 0.8116 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.9007, allocations: 231.2 kB / 0.8118 GB, free: 14.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/0.9012, allocations: 20 kB / 0.8118 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.9028, allocations: 143.9 kB / 0.812 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.9034, allocations: 184.6 kB / 0.8121 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.9035, allocations: 31.98 kB / 0.8122 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001561/0.9051, allocations: 0.7594 MB / 0.8129 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9051, allocations: 0 / 0.8129 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002785/0.9079, allocations: 0.6866 MB / 0.8136 GB, free: 12.98 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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.0004027/0.9083, allocations: 159.1 kB / 0.8137 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01174/0.9201, allocations: 4.512 MB / 0.8181 GB, free: 8.199 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.9201, allocations: 0 / 0.8181 GB, free: 8.199 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/0.9249, allocations: 1.688 MB / 0.8198 GB, free: 6.48 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.9262, allocations: 112.5 kB / 0.8199 GB, free: 6.371 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.9318, allocations: 2.888 MB / 0.8227 GB, free: 3.457 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9329, allocations: 1.168 MB / 0.8239 GB, free: 2.254 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0007483/0.9337, allocations: 122.6 kB / 0.824 GB, free: 2.129 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.934, allocations: 63.42 kB / 0.824 GB, free: 2.066 MB / 0.4949 GB Notification: Performance of SimCode: time 1.222e-06/0.9341, allocations: 0 / 0.824 GB, free: 2.066 MB / 0.4949 GB Notification: Performance of Templates: time 0.04562/0.9797, allocations: 27.06 MB / 0.8505 GB, free: 7.035 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)