Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004152/0.004152, allocations: 172.4 kB / 15.12 MB, free: 5.973 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.161/1.161, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008471/0.0008471, allocations: 107.1 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4008/0.4008, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 11.94 kB / 499.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3133, allocations: 69.36 MB / 0.5557 GB, free: 38.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4238, allocations: 102.8 MB / 0.6561 GB, free: 3.508 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4241, allocations: 82.11 kB / 0.6562 GB, free: 3.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2364/0.6605, allocations: 101.7 MB / 0.7556 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6605, allocations: 0 / 0.7556 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000217/0.6608, allocations: 91.94 kB / 0.7556 GB, free: 12.98 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01806/0.6788, allocations: 6.636 MB / 0.7621 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6789, allocations: 8.031 kB / 0.7621 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.6957, allocations: 2.814 MB / 0.7649 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.7013, allocations: 2.307 MB / 0.7671 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2452/0.9465, allocations: 0.9823 MB / 0.7681 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.9482, allocations: 350.5 kB / 0.7684 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.9607, allocations: 4.953 MB / 0.7733 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.9608, allocations: 1 kB / 0.7733 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/0.9612, allocations: 141 kB / 0.7734 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/0.9613, allocations: 86.38 kB / 0.7735 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008086/0.9694, allocations: 4.503 MB / 0.7779 GB, free: 89.66 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.0256/0.995, allocations: 18.68 MB / 0.7961 GB, free: 83.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.006, allocations: 5.699 MB / 0.8017 GB, free: 82.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/1.006, allocations: 68.22 kB / 0.8018 GB, free: 82.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005735/1.012, allocations: 3.442 MB / 0.8051 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 5.229e-06/1.012, allocations: 0 / 0.8051 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.269/1.281, allocations: 78.05 MB / 0.8813 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.281, allocations: 141.8 kB / 0.8815 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/1.285, allocations: 2.759 MB / 0.8842 GB, free: 73.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007098/1.285, allocations: 89.7 kB / 0.8843 GB, free: 73.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.286, allocations: 2.003 MB / 0.8862 GB, free: 72.02 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.288, allocations: 1.315 MB / 0.8875 GB, free: 71.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.288, allocations: 72 kB / 0.8876 GB, free: 70.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.288, allocations: 447.2 kB / 0.888 GB, free: 70.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.292, allocations: 2.679 MB / 0.8906 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/1.297, allocations: 3.252 MB / 0.8938 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.301, allocations: 2.928 MB / 0.8966 GB, free: 61.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.301, allocations: 4 kB / 0.8966 GB, free: 61.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.04883/1.35, allocations: 20.28 MB / 0.9165 GB, free: 41.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/1.35, allocations: 68.34 kB / 0.9165 GB, free: 41.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.35, allocations: 12 kB / 0.9165 GB, free: 41.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.024/1.374, allocations: 8.642 MB / 0.925 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/1.377, allocations: 0.5538 MB / 0.9255 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08198/1.459, allocations: 38.46 MB / 0.9631 GB, free: 9.914 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005554/1.465, allocations: 0.6996 MB / 0.9637 GB, free: 9.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007793/1.466, allocations: 136 kB / 0.9639 GB, free: 9.078 MB / 0.573 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002518/1.468, allocations: 0.6572 MB / 0.9645 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.469, allocations: 462.3 kB / 0.965 GB, free: 7.988 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05382/1.523, allocations: 20.59 MB / 0.9851 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/1.523, allocations: 36 kB / 0.9851 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.523, allocations: 28 kB / 0.9851 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.374e-05/1.523, allocations: 23.92 kB / 0.9852 GB, free: 3.242 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.2974/1.821, allocations: 25.6 MB / 1.01 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.821, allocations: 2.375 kB / 1.01 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.823, allocations: 386.8 kB / 1.011 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02443/1.848, allocations: 8.613 MB / 1.019 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000765/1.848, allocations: 72.33 kB / 1.019 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06976/1.918, allocations: 34.35 MB / 1.053 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.918, allocations: 0 / 1.053 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05619/1.974, allocations: 24.28 MB / 1.076 GB, free: 96.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.976, allocations: 0.5628 MB / 1.077 GB, free: 95.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/1.977, allocations: 67.59 kB / 1.077 GB, free: 95.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/1.981, allocations: 0.4901 MB / 1.077 GB, free: 95.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002897/1.983, allocations: 0.7759 MB / 1.078 GB, free: 95.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/1.984, allocations: 97.17 kB / 1.078 GB, free: 95.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002638/1.986, allocations: 2.105 MB / 1.08 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/1.986, allocations: 6.156 kB / 1.08 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00444/1.991, allocations: 1.77 MB / 1.082 GB, free: 94.48 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005119/1.991, allocations: 217.8 kB / 1.082 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02208/2.014, allocations: 10.12 MB / 1.092 GB, free: 91.17 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/2.014, allocations: 4.062 kB / 1.092 GB, free: 91.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.017/2.031, allocations: 7.064 MB / 1.099 GB, free: 88.99 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/2.033, allocations: 312.8 kB / 1.099 GB, free: 88.78 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/2.045, allocations: 9.879 MB / 1.109 GB, free: 79.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/2.046, allocations: 2.549 MB / 1.111 GB, free: 77.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001292/2.047, allocations: 297 kB / 1.112 GB, free: 77.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/2.048, allocations: 201.2 kB / 1.112 GB, free: 77.4 MB / 0.5886 GB Notification: Performance of SimCode: time 9.31e-07/2.048, allocations: 0 / 1.112 GB, free: 77.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.09162/2.14, allocations: 79.14 MB / 1.189 GB, free: 17.61 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)