Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005739/0.005739, allocations: 172 kB / 15.11 MB, free: 5.969 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.285/1.285, allocations: 223.2 MB / 239 MB, free: 1.801 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.0009423/0.0009417, allocations: 96.33 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 69.36 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5125, allocations: 102.4 MB / 0.6558 GB, free: 4.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5128, allocations: 80.8 kB / 0.6559 GB, free: 4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.759, allocations: 100.4 MB / 0.7539 GB, free: 15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7591, allocations: 0 / 0.7539 GB, free: 15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003243/0.7594, allocations: 95.92 kB / 0.754 GB, free: 14.9 MB / 0.5573 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.02226/0.7817, allocations: 6.624 MB / 0.7605 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7818, allocations: 8.031 kB / 0.7605 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/0.8006, allocations: 2.803 MB / 0.7632 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/0.8074, allocations: 2.337 MB / 0.7655 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.8085, allocations: 0.9634 MB / 0.7664 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.8101, allocations: 343.9 kB / 0.7668 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.338/1.148, allocations: 4.962 MB / 0.7716 GB, free: 90.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.442e-05/1.148, allocations: 0 / 0.7716 GB, free: 90.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004193/1.149, allocations: 142.4 kB / 0.7717 GB, free: 90.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.181e-05/1.149, allocations: 83.84 kB / 0.7718 GB, free: 90.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/1.16, allocations: 4.53 MB / 0.7762 GB, free: 90.26 MB / 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.03521/1.195, allocations: 18.73 MB / 0.7945 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.208, allocations: 5.679 MB / 0.8001 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/1.209, allocations: 69.09 kB / 0.8001 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.209, allocations: 76.16 kB / 0.8002 GB, free: 83.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.472e-06/1.209, allocations: 3.281 kB / 0.8002 GB, free: 83.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.2908/1.5, allocations: 79 MB / 0.8774 GB, free: 79.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/1.5, allocations: 171.5 kB / 0.8775 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.504, allocations: 2.74 MB / 0.8802 GB, free: 77.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/1.505, allocations: 90.39 kB / 0.8803 GB, free: 77.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.507, allocations: 2.009 MB / 0.8823 GB, free: 76.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.509, allocations: 1.298 MB / 0.8835 GB, free: 75.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/1.509, allocations: 71.94 kB / 0.8836 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.51, allocations: 442.2 kB / 0.884 GB, free: 75.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005188/1.515, allocations: 2.67 MB / 0.8866 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005524/1.52, allocations: 3.253 MB / 0.8898 GB, free: 70.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/1.526, allocations: 2.924 MB / 0.8927 GB, free: 67.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/1.526, allocations: 4 kB / 0.8927 GB, free: 67.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05469/1.581, allocations: 20.21 MB / 0.9124 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/1.582, allocations: 6.697 MB / 0.9189 GB, free: 40.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.582, allocations: 20 kB / 0.919 GB, free: 40.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0257/1.608, allocations: 8.575 MB / 0.9273 GB, free: 31.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/1.611, allocations: 0.5332 MB / 0.9278 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08507/1.696, allocations: 38.25 MB / 0.9652 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/1.702, allocations: 0.6918 MB / 0.9659 GB, free: 7.906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007369/1.703, allocations: 132 kB / 0.966 GB, free: 7.777 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.703, allocations: 7.281 kB / 0.966 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05911/1.762, allocations: 19.77 MB / 0.9853 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/1.762, allocations: 12 kB / 0.9853 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3191/2.081, allocations: 8.582 MB / 0.9937 GB, free: 97.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/2.084, allocations: 0.5238 MB / 0.9942 GB, free: 97.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08722/2.171, allocations: 38.23 MB / 1.032 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/2.177, allocations: 0.6584 MB / 1.032 GB, free: 94.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007999/2.178, allocations: 132.2 kB / 1.032 GB, free: 94.47 MB / 0.5886 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.002425/2.18, allocations: 0.7221 MB / 1.033 GB, free: 94.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.182, allocations: 461.2 kB / 1.033 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05657/2.238, allocations: 20.48 MB / 1.053 GB, free: 93.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/2.239, allocations: 35.59 kB / 1.054 GB, free: 93.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.897e-05/2.239, allocations: 31.75 kB / 1.054 GB, free: 93.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001286/2.239, allocations: 22.27 kB / 1.054 GB, free: 93.66 MB / 0.5886 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.06091/2.3, allocations: 25.76 MB / 1.079 GB, free: 88.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/2.3, allocations: 0 / 1.079 GB, free: 88.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/2.302, allocations: 404.1 kB / 1.079 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02469/2.327, allocations: 8.529 MB / 1.087 GB, free: 86.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009129/2.328, allocations: 73.34 kB / 1.088 GB, free: 86.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06903/2.397, allocations: 32.28 MB / 1.119 GB, free: 70.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.397, allocations: 0 / 1.119 GB, free: 70.76 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05955/2.456, allocations: 24.14 MB / 1.143 GB, free: 51.31 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/2.458, allocations: 0.5579 MB / 1.143 GB, free: 50.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/2.459, allocations: 67.8 kB / 1.143 GB, free: 50.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004304/2.464, allocations: 492.8 kB / 1.144 GB, free: 50.38 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00273/2.466, allocations: 0.7766 MB / 1.144 GB, free: 49.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/2.467, allocations: 91.84 kB / 1.145 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002838/2.47, allocations: 2.102 MB / 1.147 GB, free: 48.11 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/2.47, allocations: 0 / 1.147 GB, free: 48.11 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007188/2.477, allocations: 2.894 MB / 1.149 GB, free: 45.34 MB / 0.5886 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.0005435/2.477, allocations: 223 kB / 1.15 GB, free: 45.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04401/2.521, allocations: 17.24 MB / 1.166 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/2.521, allocations: 0 / 1.166 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/2.54, allocations: 6.922 MB / 1.173 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/2.543, allocations: 308.8 kB / 1.174 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/2.556, allocations: 9.937 MB / 1.183 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/2.557, allocations: 2.599 MB / 1.186 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002098/2.559, allocations: 355.7 kB / 1.186 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/2.56, allocations: 205.5 kB / 1.186 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/2.56, allocations: 0 / 1.186 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.3923/2.952, allocations: 106.7 MB / 1.291 GB, free: 113 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)