Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004148/0.004148, 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 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.2 MB / 239 MB, free: 1.82 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.0008231/0.000823, allocations: 93.7 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3932/0.3932, allocations: 78.51 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 12 kB / 499.7 MB, free: 2.801 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 69.36 MB / 0.5557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4296, allocations: 101.5 MB / 0.6548 GB, free: 4.949 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4299, allocations: 87.95 kB / 0.6549 GB, free: 4.863 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.232/0.6619, allocations: 100.2 MB / 0.7527 GB, free: 32 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6619, allocations: 4 kB / 0.7527 GB, free: 28 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003834/0.6623, allocations: 87.98 kB / 0.7528 GB, free: 15.94 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.01926/0.6816, allocations: 6.554 MB / 0.7592 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6817, allocations: 8.031 kB / 0.7592 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.6983, allocations: 2.803 MB / 0.762 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005784/0.7041, allocations: 2.276 MB / 0.7642 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000958/0.7051, allocations: 0.9846 MB / 0.7652 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.7064, allocations: 339.9 kB / 0.7655 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2375/0.944, allocations: 4.929 MB / 0.7703 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.67e-05/0.9441, allocations: 2.469 kB / 0.7703 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/0.9446, allocations: 139 kB / 0.7704 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.9447, allocations: 84.97 kB / 0.7705 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00909/0.9538, allocations: 4.491 MB / 0.7749 GB, free: 91.13 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.02704/0.9809, allocations: 18.57 MB / 0.793 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.9917, allocations: 5.67 MB / 0.7986 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.9921, allocations: 74.52 kB / 0.7986 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005438/0.9976, allocations: 3.415 MB / 0.802 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.711e-06/0.9976, allocations: 0 / 0.802 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.2739/1.271, allocations: 78.4 MB / 0.8785 GB, free: 79.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.272, allocations: 151.3 kB / 0.8787 GB, free: 78.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/1.275, allocations: 2.71 MB / 0.8813 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000757/1.276, allocations: 85.08 kB / 0.8814 GB, free: 77.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.277, allocations: 2.005 MB / 0.8834 GB, free: 76.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.278, allocations: 1.297 MB / 0.8846 GB, free: 75.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/1.279, allocations: 68 kB / 0.8847 GB, free: 75.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.279, allocations: 448 kB / 0.8851 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.283, allocations: 2.661 MB / 0.8877 GB, free: 72.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/1.288, allocations: 3.233 MB / 0.8909 GB, free: 69.14 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/1.292, allocations: 2.904 MB / 0.8937 GB, free: 66.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.292, allocations: 4 kB / 0.8937 GB, free: 66.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.04907/1.341, allocations: 20.17 MB / 0.9134 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/1.341, allocations: 68.97 kB / 0.9135 GB, free: 46.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/1.341, allocations: 12 kB / 0.9135 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02291/1.364, allocations: 8.56 MB / 0.9219 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/1.367, allocations: 0.5583 MB / 0.9224 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07138/1.438, allocations: 37.1 MB / 0.9586 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.444, allocations: 0.6996 MB / 0.9593 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.444, allocations: 136 kB / 0.9594 GB, free: 14.99 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis 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 (329): * Single equations (assignments): 326 * 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: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001717/1.446, allocations: 0.6501 MB / 0.9601 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007011/1.446, allocations: 458.3 kB / 0.9605 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05364/1.5, allocations: 20.55 MB / 0.9806 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/1.5, allocations: 36 kB / 0.9806 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.5, allocations: 31.94 kB / 0.9806 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-05/1.5, allocations: 23.92 kB / 0.9807 GB, free: 9.215 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.2785/1.779, allocations: 25.49 MB / 1.006 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.779, allocations: 2.625 kB / 1.006 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/1.781, allocations: 390.9 kB / 1.006 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02391/1.805, allocations: 8.612 MB / 1.014 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007234/1.806, allocations: 76.3 kB / 1.014 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0761/1.882, allocations: 34.33 MB / 1.048 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.882, allocations: 0 / 1.048 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05699/1.939, allocations: 24.19 MB / 1.072 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.94, allocations: 0.5546 MB / 1.072 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006336/1.941, allocations: 61.19 kB / 1.072 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/1.945, allocations: 499.2 kB / 1.073 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002846/1.947, allocations: 0.7817 MB / 1.073 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/1.948, allocations: 94.8 kB / 1.074 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002485/1.95, allocations: 2.069 MB / 1.076 GB, free: 99.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/1.95, allocations: 2.438 kB / 1.076 GB, free: 99.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004115/1.954, allocations: 1.76 MB / 1.077 GB, free: 99.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.0004825/1.955, allocations: 218.6 kB / 1.077 GB, free: 99.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02156/1.976, allocations: 9.938 MB / 1.087 GB, free: 96.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.976, allocations: 2.156 kB / 1.087 GB, free: 96.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01752/1.994, allocations: 7.023 MB / 1.094 GB, free: 93.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.997, allocations: 306.6 kB / 1.094 GB, free: 93.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/2.01, allocations: 9.576 MB / 1.104 GB, free: 87.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/2.011, allocations: 2.531 MB / 1.106 GB, free: 85.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001405/2.013, allocations: 297.5 kB / 1.106 GB, free: 85.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/2.013, allocations: 202.6 kB / 1.107 GB, free: 85.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/2.013, allocations: 0 / 1.107 GB, free: 85.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.09507/2.108, allocations: 78.27 MB / 1.183 GB, free: 26.44 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)