Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005438/0.005438, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 101.9 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4239/0.4239, allocations: 79.43 MB / 420.8 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 11.98 kB / 0.489 GB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 69.51 MB / 0.5569 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4594, allocations: 103.1 MB / 0.6576 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.4598, allocations: 77.05 kB / 0.6577 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.243/0.7028, allocations: 102.3 MB / 0.7576 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7029, allocations: 0 / 0.7576 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002303/0.7031, allocations: 91.94 kB / 0.7577 GB, free: 7.277 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01836/0.7215, allocations: 6.663 MB / 0.7642 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7215, allocations: 12.03 kB / 0.7642 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.7378, allocations: 2.803 MB / 0.7669 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.7436, allocations: 2.345 MB / 0.7692 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008311/0.7444, allocations: 0.9595 MB / 0.7702 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000804/0.7452, allocations: 343.9 kB / 0.7705 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009387/0.7546, allocations: 4.974 MB / 0.7753 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.7547, allocations: 0 / 0.7753 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.7551, allocations: 136 kB / 0.7755 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.7552, allocations: 84 kB / 0.7756 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.7636, allocations: 4.522 MB / 0.78 GB, free: 104 kB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.2873/1.051, allocations: 18.72 MB / 0.7983 GB, free: 90.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.063, allocations: 5.688 MB / 0.8038 GB, free: 89.76 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/1.064, allocations: 66.38 kB / 0.8039 GB, free: 89.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/1.064, allocations: 83.52 kB / 0.804 GB, free: 89.71 MB / 0.573 GB Notification: Performance of pre-optimization done (n=382): time 5.891e-06/1.064, allocations: 0 / 0.804 GB, free: 89.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=382): time 0.2906/1.354, allocations: 78.99 MB / 0.8811 GB, free: 86.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/1.354, allocations: 172.6 kB / 0.8813 GB, free: 85.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.358, allocations: 2.757 MB / 0.8839 GB, free: 85.71 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.359, allocations: 89.86 kB / 0.884 GB, free: 85.68 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/1.361, allocations: 2.005 MB / 0.886 GB, free: 85.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.362, allocations: 1.296 MB / 0.8873 GB, free: 84.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/1.363, allocations: 72.84 kB / 0.8873 GB, free: 84.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.363, allocations: 442.6 kB / 0.8877 GB, free: 84.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.367, allocations: 2.673 MB / 0.8904 GB, free: 84.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.372, allocations: 3.257 MB / 0.8935 GB, free: 83.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/1.377, allocations: 2.922 MB / 0.8964 GB, free: 83.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.378, allocations: 3.719 kB / 0.8964 GB, free: 83.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05504/1.433, allocations: 20.21 MB / 0.9161 GB, free: 78.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00121/1.434, allocations: 6.692 MB / 0.9227 GB, free: 71.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.434, allocations: 17.78 kB / 0.9227 GB, free: 71.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/1.459, allocations: 8.577 MB / 0.9311 GB, free: 65.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.462, allocations: 0.5324 MB / 0.9316 GB, free: 65.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07629/1.538, allocations: 38.25 MB / 0.9689 GB, free: 29.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/1.544, allocations: 0.7189 MB / 0.9696 GB, free: 28.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/1.544, allocations: 132 kB / 0.9698 GB, free: 28.24 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.544, allocations: 4 kB / 0.9698 GB, free: 28.23 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05053/1.595, allocations: 19.76 MB / 0.9891 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.59e-05/1.595, allocations: 17.06 kB / 0.9891 GB, free: 8.609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02531/1.62, allocations: 8.583 MB / 0.9975 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.623, allocations: 0.522 MB / 0.998 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3376/1.961, allocations: 38.23 MB / 1.035 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/1.968, allocations: 0.679 MB / 1.036 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006069/1.968, allocations: 131.3 kB / 1.036 GB, free: 107.5 MB / 0.6042 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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: 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 (325): * Single equations (assignments): 321 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.002497/1.971, allocations: 0.7253 MB / 1.037 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.972, allocations: 461.1 kB / 1.037 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05318/2.025, allocations: 20.48 MB / 1.057 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/2.025, allocations: 44.58 kB / 1.057 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-05/2.025, allocations: 27.44 kB / 1.057 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.397e-05/2.025, allocations: 23.2 kB / 1.057 GB, free: 107 MB / 0.6042 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.06201/2.087, allocations: 25.76 MB / 1.082 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/2.088, allocations: 0 / 1.082 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/2.09, allocations: 412.6 kB / 1.083 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02314/2.113, allocations: 8.524 MB / 1.091 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005903/2.114, allocations: 69.14 kB / 1.091 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06551/2.179, allocations: 32.26 MB / 1.123 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.179, allocations: 9.109 kB / 1.123 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05646/2.236, allocations: 24.14 MB / 1.146 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/2.237, allocations: 0.5649 MB / 1.147 GB, free: 95.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005952/2.238, allocations: 67.62 kB / 1.147 GB, free: 95.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003795/2.242, allocations: 0.5012 MB / 1.147 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002706/2.244, allocations: 0.7662 MB / 1.148 GB, free: 95.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.245, allocations: 92.02 kB / 1.148 GB, free: 95.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002515/2.247, allocations: 2.108 MB / 1.15 GB, free: 94.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/2.247, allocations: 0 / 1.15 GB, free: 94.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006353/2.253, allocations: 2.895 MB / 1.153 GB, free: 91.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005335/2.254, allocations: 225.5 kB / 1.153 GB, free: 91.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03933/2.293, allocations: 17.25 MB / 1.17 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/2.293, allocations: 0 / 1.17 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/2.31, allocations: 6.906 MB / 1.177 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/2.313, allocations: 319.7 kB / 1.177 GB, free: 70.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/2.325, allocations: 9.943 MB / 1.187 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/2.327, allocations: 2.595 MB / 1.19 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001987/2.329, allocations: 364.6 kB / 1.19 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/2.33, allocations: 201.8 kB / 1.19 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/2.33, allocations: 0 / 1.19 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.4024/2.732, allocations: 106.9 MB / 1.294 GB, free: 87.09 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)