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.001154/0.001154, allocations: 174.9 kB / 12.73 MB, free: 2.59 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.216/1.216, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.000856, allocations: 84.05 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4355/0.4355, allocations: 78.01 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.83e-05, allocations: 8 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2858, allocations: 69.35 MB / 0.548 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3994, allocations: 102.8 MB / 0.6483 GB, free: 13.64 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3997, allocations: 79.95 kB / 0.6484 GB, free: 13.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4899/0.8896, allocations: 101.4 MB / 0.7474 GB, free: 60.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.8896, allocations: 8 kB / 0.7474 GB, free: 60.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002432/0.8899, allocations: 87.94 kB / 0.7475 GB, free: 60.12 MB / 490.7 MB 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.0164/0.9063, allocations: 5.805 MB / 0.7532 GB, free: 54.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9063, allocations: 15.97 kB / 0.7532 GB, free: 54.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.9229, allocations: 2.787 MB / 0.7559 GB, free: 51.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/0.9278, allocations: 2.261 MB / 0.7581 GB, free: 49.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007906/0.9287, allocations: 0.9847 MB / 0.7591 GB, free: 47.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.9297, allocations: 347.9 kB / 0.7594 GB, free: 47.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007321/0.937, allocations: 4.104 MB / 0.7634 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/0.9371, allocations: 0 / 0.7634 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/0.9376, allocations: 144 kB / 0.7636 GB, free: 43.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.9376, allocations: 84 kB / 0.7636 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/0.9442, allocations: 3.628 MB / 0.7672 GB, free: 39.64 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03191/0.9761, allocations: 18.68 MB / 0.7854 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009984/0.9861, allocations: 4.826 MB / 0.7901 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/0.9899, allocations: 2.238 MB / 0.7923 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/0.9904, allocations: 78.86 kB / 0.7924 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004032/0.9944, allocations: 2.62 MB / 0.795 GB, free: 9.875 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 7.384e-06/0.9944, allocations: 0 / 0.795 GB, free: 9.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05177/1.046, allocations: 17.61 MB / 0.8122 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.046, allocations: 145.8 kB / 0.8123 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/1.051, allocations: 2.694 MB / 0.8149 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008664/1.051, allocations: 85.7 kB / 0.815 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.053, allocations: 2.002 MB / 0.817 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.055, allocations: 1.321 MB / 0.8183 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/1.055, allocations: 72 kB / 0.8183 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.055, allocations: 449.9 kB / 0.8188 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/1.058, allocations: 1.851 MB / 0.8206 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/1.062, allocations: 2.43 MB / 0.8229 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.066, allocations: 2.124 MB / 0.825 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/1.066, allocations: 4 kB / 0.825 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05328/1.119, allocations: 17.84 MB / 0.8424 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/1.119, allocations: 63.41 kB / 0.8425 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/1.119, allocations: 23.98 kB / 0.8425 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02429/1.144, allocations: 7.056 MB / 0.8494 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.147, allocations: 0.5538 MB / 0.85 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06036/1.207, allocations: 27.13 MB / 0.8764 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005772/1.213, allocations: 0.7074 MB / 0.8771 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006294/1.213, allocations: 139.9 kB / 0.8773 GB, free: 4.832 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "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 () * 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.000854/1.214, allocations: 334.9 kB / 0.8776 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009814/1.215, allocations: 454.4 kB / 0.878 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05298/1.268, allocations: 18.17 MB / 0.8958 GB, free: 1.801 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/1.268, allocations: 39.98 kB / 0.8958 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.194e-05/1.268, allocations: 28 kB / 0.8958 GB, free: 1.734 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.314e-05/1.268, allocations: 23.88 kB / 0.8959 GB, free: 1.711 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.354/1.622, allocations: 23.17 MB / 0.9185 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.622, allocations: 0 / 0.9185 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.625, allocations: 398 kB / 0.9189 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02147/1.646, allocations: 7.019 MB / 0.9257 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009609/1.647, allocations: 75.58 kB / 0.9258 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05046/1.698, allocations: 24.51 MB / 0.9497 GB, free: 129 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.698, allocations: 3.906 kB / 0.9497 GB, free: 129 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05397/1.752, allocations: 21.02 MB / 0.9703 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.753, allocations: 0.5618 MB / 0.9708 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.754, allocations: 71.94 kB / 0.9709 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004493/1.759, allocations: 499.1 kB / 0.9713 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002821/1.762, allocations: 0.7753 MB / 0.9721 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/1.762, allocations: 99.7 kB / 0.9722 GB, free: 117.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002535/1.765, allocations: 2.049 MB / 0.9742 GB, free: 115.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.765, allocations: 0 / 0.9742 GB, free: 115.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004477/1.769, allocations: 1.771 MB / 0.9759 GB, free: 113.7 MB / 0.573 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 () * 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.000514/1.77, allocations: 221.2 kB / 0.9761 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01969/1.789, allocations: 8.399 MB / 0.9843 GB, free: 105.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.789, allocations: 0 / 0.9843 GB, free: 105.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.017/1.806, allocations: 6.143 MB / 0.9903 GB, free: 100.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.809, allocations: 314.4 kB / 0.9906 GB, free: 100.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.82, allocations: 6.082 MB / 0.9966 GB, free: 94.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.821, allocations: 2.545 MB / 0.9991 GB, free: 92.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001451/1.823, allocations: 291.6 kB / 0.9993 GB, free: 92.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/1.823, allocations: 205.9 kB / 0.9995 GB, free: 92.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/1.823, allocations: 0 / 0.9995 GB, free: 92.32 MB / 0.573 GB Notification: Performance of Templates: time 0.09832/1.922, allocations: 78.9 MB / 1.077 GB, free: 26.64 MB / 0.573 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)