Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005785/0.005785, allocations: 170.8 kB / 15.11 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.265/1.265, allocations: 223.2 MB / 239 MB, free: 84 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.0008693/0.0008692, allocations: 97.55 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4723/0.4723, allocations: 78.58 MB / 419.9 MB, free: 36.31 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 12 kB / 499.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 69.36 MB / 0.5558 GB, free: 1.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5701, allocations: 102.8 MB / 0.6562 GB, free: 15.44 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5703, allocations: 91.38 kB / 0.6563 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2608/0.8311, allocations: 101.7 MB / 0.7556 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8311, allocations: 7.875 kB / 0.7556 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004661/0.8316, allocations: 84 kB / 0.7557 GB, free: 9.707 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0231/0.8547, allocations: 6.64 MB / 0.7622 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8548, allocations: 12.03 kB / 0.7622 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.8728, allocations: 2.81 MB / 0.7649 GB, free: 148 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007258/0.8801, allocations: 2.296 MB / 0.7672 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.8813, allocations: 0.9963 MB / 0.7681 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.8829, allocations: 349.1 kB / 0.7685 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.8937, allocations: 4.954 MB / 0.7733 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.8938, allocations: 3.984 kB / 0.7733 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.8942, allocations: 144 kB / 0.7735 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.8943, allocations: 84 kB / 0.7735 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.9054, allocations: 4.502 MB / 0.7779 GB, free: 2.582 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.3206/1.226, allocations: 18.68 MB / 0.7962 GB, free: 94.33 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/1.24, allocations: 5.702 MB / 0.8017 GB, free: 93.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007199/1.24, allocations: 70.2 kB / 0.8018 GB, free: 93.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007472/1.248, allocations: 3.446 MB / 0.8052 GB, free: 93.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=385): time 7.324e-06/1.248, allocations: 0 / 0.8052 GB, free: 93.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=385): time 0.2947/1.543, allocations: 78.04 MB / 0.8814 GB, free: 90.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.543, allocations: 152.4 kB / 0.8815 GB, free: 89.97 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/1.547, allocations: 2.759 MB / 0.8842 GB, free: 89.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009412/1.548, allocations: 86.08 kB / 0.8843 GB, free: 89.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.549, allocations: 2.005 MB / 0.8863 GB, free: 89.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.551, allocations: 1.306 MB / 0.8875 GB, free: 88.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.551, allocations: 71.16 kB / 0.8876 GB, free: 88.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.551, allocations: 452.7 kB / 0.888 GB, free: 88.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/1.556, allocations: 2.673 MB / 0.8907 GB, free: 88.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005252/1.561, allocations: 3.259 MB / 0.8938 GB, free: 87.63 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005271/1.567, allocations: 2.929 MB / 0.8967 GB, free: 87.45 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.567, allocations: 1.812 kB / 0.8967 GB, free: 87.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05289/1.62, allocations: 20.28 MB / 0.9165 GB, free: 80.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/1.62, allocations: 63.41 kB / 0.9166 GB, free: 80.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.62, allocations: 12 kB / 0.9166 GB, free: 80.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0261/1.646, allocations: 8.636 MB / 0.925 GB, free: 74.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.649, allocations: 0.5547 MB / 0.9256 GB, free: 73.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07883/1.728, allocations: 38.46 MB / 0.9631 GB, free: 36.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/1.734, allocations: 0.7045 MB / 0.9638 GB, free: 36.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007474/1.734, allocations: 136 kB / 0.9639 GB, free: 36.01 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.002066/1.736, allocations: 0.659 MB / 0.9646 GB, free: 35.38 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.738, allocations: 456.8 kB / 0.965 GB, free: 34.93 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05365/1.791, allocations: 20.6 MB / 0.9851 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.791, allocations: 36 kB / 0.9852 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.709e-05/1.791, allocations: 28 kB / 0.9852 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.792, allocations: 23.92 kB / 0.9852 GB, free: 14.3 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.06395/1.855, allocations: 25.6 MB / 1.01 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.856, allocations: 0 / 1.01 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/1.858, allocations: 391.5 kB / 1.011 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2639/2.122, allocations: 8.602 MB / 1.019 GB, free: 97.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008673/2.123, allocations: 79.86 kB / 1.019 GB, free: 97.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07753/2.2, allocations: 34.35 MB / 1.053 GB, free: 94.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.2, allocations: 1.094 kB / 1.053 GB, free: 94.28 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06556/2.266, allocations: 24.27 MB / 1.076 GB, free: 93.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/2.268, allocations: 0.5642 MB / 1.077 GB, free: 93.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001698/2.269, allocations: 69.5 kB / 1.077 GB, free: 93.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00483/2.274, allocations: 498.7 kB / 1.077 GB, free: 93.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003322/2.278, allocations: 0.7828 MB / 1.078 GB, free: 93.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/2.278, allocations: 99.03 kB / 1.078 GB, free: 93.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003174/2.281, allocations: 2.109 MB / 1.08 GB, free: 92.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/2.281, allocations: 0 / 1.08 GB, free: 92.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00524/2.286, allocations: 1.772 MB / 1.082 GB, free: 92.88 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.0005829/2.287, allocations: 223.5 kB / 1.082 GB, free: 92.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02392/2.311, allocations: 10.12 MB / 1.092 GB, free: 91.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.311, allocations: 1.812 kB / 1.092 GB, free: 91.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01828/2.329, allocations: 7.064 MB / 1.099 GB, free: 88.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/2.332, allocations: 300.8 kB / 1.099 GB, free: 88.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/2.346, allocations: 9.887 MB / 1.109 GB, free: 82.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/2.348, allocations: 2.555 MB / 1.111 GB, free: 81.97 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001709/2.349, allocations: 296.6 kB / 1.112 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008349/2.35, allocations: 194.7 kB / 1.112 GB, free: 81.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.613e-06/2.35, allocations: 0 / 1.112 GB, free: 81.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.1063/2.457, allocations: 79.15 MB / 1.189 GB, free: 42.48 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)