Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004617/0.004617, allocations: 170 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.235/1.235, 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.0008626/0.0008627, allocations: 102.3 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4456/0.4456, allocations: 78.58 MB / 419.9 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 499.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 69.37 MB / 0.5558 GB, free: 1.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4908, allocations: 100.5 MB / 0.654 GB, free: 1.668 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.491, allocations: 83.83 kB / 0.654 GB, free: 1.625 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1668/0.6579, allocations: 68.06 MB / 0.7205 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6579, allocations: 3.938 kB / 0.7205 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001791/0.6581, allocations: 63.88 kB / 0.7206 GB, free: 13.89 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01503/0.6731, allocations: 4.683 MB / 0.7251 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.6732, allocations: 8.031 kB / 0.7251 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009677/0.6829, allocations: 1.619 MB / 0.7267 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.6869, allocations: 1.725 MB / 0.7284 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005973/0.6875, allocations: 0.6906 MB / 0.7291 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.6879, allocations: 204 kB / 0.7293 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.6941, allocations: 3.251 MB / 0.7325 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.6942, allocations: 3.906 kB / 0.7325 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.6944, allocations: 80 kB / 0.7325 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.6945, allocations: 48 kB / 0.7326 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005867/0.7003, allocations: 3.038 MB / 0.7355 GB, free: 14.18 MB / 0.5261 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.01826/0.7186, allocations: 10.1 MB / 0.7454 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.7298, allocations: 4.787 MB / 0.7501 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.7301, allocations: 42.03 kB / 0.7501 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.7302, allocations: 64.5 kB / 0.7502 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.598e-06/0.7302, allocations: 0 / 0.7502 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.1183/0.8486, allocations: 33.01 MB / 0.7824 GB, free: 13.51 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.8487, allocations: 243.6 kB / 0.7827 GB, free: 13.22 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/0.8523, allocations: 1.952 MB / 0.7846 GB, free: 11.26 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006976/0.853, allocations: 71.48 kB / 0.7846 GB, free: 11.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/0.854, allocations: 1.216 MB / 0.7858 GB, free: 9.957 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.8553, allocations: 0.8392 MB / 0.7866 GB, free: 9.105 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.8555, allocations: 48 kB / 0.7867 GB, free: 9.059 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8557, allocations: 398.7 kB / 0.7871 GB, free: 8.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/0.8598, allocations: 1.883 MB / 0.7889 GB, free: 6.777 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/0.8642, allocations: 2.202 MB / 0.7911 GB, free: 4.469 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.8685, allocations: 2.108 MB / 0.7931 GB, free: 2.305 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.8685, allocations: 8 kB / 0.7931 GB, free: 2.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.2964/1.165, allocations: 14.43 MB / 0.8072 GB, free: 122.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005779/1.166, allocations: 2.875 MB / 0.81 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.166, allocations: 7.188 kB / 0.81 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/1.185, allocations: 6.392 MB / 0.8163 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/1.187, allocations: 367.8 kB / 0.8166 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06017/1.247, allocations: 27.42 MB / 0.8434 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/1.251, allocations: 0.5129 MB / 0.8439 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/1.252, allocations: 87.25 kB / 0.844 GB, free: 116.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.252, allocations: 3.219 kB / 0.844 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04095/1.293, allocations: 14.1 MB / 0.8578 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/1.293, allocations: 7.875 kB / 0.8578 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/1.311, allocations: 6.381 MB / 0.864 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.313, allocations: 363.4 kB / 0.8643 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05718/1.371, allocations: 27.43 MB / 0.8911 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/1.375, allocations: 0.4955 MB / 0.8916 GB, free: 104.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/1.375, allocations: 83.06 kB / 0.8917 GB, free: 104.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001415/1.377, allocations: 0.5841 MB / 0.8923 GB, free: 104.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/1.377, allocations: 298.2 kB / 0.8925 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03907/1.416, allocations: 14.55 MB / 0.9068 GB, free: 92.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/1.417, allocations: 24 kB / 0.9068 GB, free: 92.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.417, allocations: 19.95 kB / 0.9068 GB, free: 92.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-05/1.417, allocations: 14.5 kB / 0.9068 GB, free: 92.69 MB / 0.573 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.04393/1.461, allocations: 18.33 MB / 0.9247 GB, free: 78.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.461, allocations: 3.953 kB / 0.9247 GB, free: 78.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.462, allocations: 280.2 kB / 0.925 GB, free: 78.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01596/1.478, allocations: 6.029 MB / 0.9309 GB, free: 73.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00059/1.479, allocations: 53.36 kB / 0.9309 GB, free: 73.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04656/1.526, allocations: 22.67 MB / 0.9531 GB, free: 54.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.526, allocations: 0 / 0.9531 GB, free: 54.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04217/1.568, allocations: 17.16 MB / 0.9698 GB, free: 37.77 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009303/1.569, allocations: 412.1 kB / 0.9702 GB, free: 37.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007249/1.57, allocations: 52 kB / 0.9703 GB, free: 37.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.573, allocations: 400.5 kB / 0.9706 GB, free: 36.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/1.574, allocations: 0.549 MB / 0.9712 GB, free: 36.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.575, allocations: 67.94 kB / 0.9712 GB, free: 36.32 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00214/1.577, allocations: 1.511 MB / 0.9727 GB, free: 34.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.152e-06/1.577, allocations: 4 kB / 0.9727 GB, free: 34.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004815/1.582, allocations: 1.792 MB / 0.9745 GB, free: 33.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.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 (165): * Single equations (assignments): 162 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000432/1.582, allocations: 183.9 kB / 0.9747 GB, free: 32.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02962/1.612, allocations: 12.26 MB / 0.9866 GB, free: 20.51 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.612, allocations: 4 kB / 0.9866 GB, free: 20.51 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/1.624, allocations: 4.779 MB / 0.9913 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.626, allocations: 232 kB / 0.9915 GB, free: 15.47 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/1.635, allocations: 6.71 MB / 0.9981 GB, free: 8.758 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.636, allocations: 1.901 MB / 0.9999 GB, free: 6.824 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001548/1.638, allocations: 272.8 kB / 1 GB, free: 6.566 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.638, allocations: 139.4 kB / 1 GB, free: 6.434 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/1.638, allocations: 0 / 1 GB, free: 6.434 MB / 0.573 GB Notification: Performance of Templates: time 0.3168/1.955, allocations: 73.37 MB / 1.072 GB, free: 132.3 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)