Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004407/0.004407, allocations: 169.5 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.168/1.168, allocations: 223.2 MB / 239.1 MB, free: 1.781 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.000851/0.0008511, allocations: 99.91 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4164/0.4164, allocations: 78.52 MB / 419.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 499.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3286, allocations: 69.35 MB / 0.5557 GB, free: 38.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4438, allocations: 98.88 MB / 0.6523 GB, free: 7.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4441, allocations: 79.95 kB / 0.6524 GB, free: 7.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09309/0.5372, allocations: 36.53 MB / 0.688 GB, free: 2.691 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5373, allocations: 0 / 0.688 GB, free: 2.691 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.5373, allocations: 28 kB / 0.6881 GB, free: 2.664 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004639/0.542, allocations: 1.99 MB / 0.69 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.542, allocations: 8.031 kB / 0.69 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/0.5452, allocations: 0.568 MB / 0.6906 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5466, allocations: 0.8228 MB / 0.6914 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.5468, allocations: 260.2 kB / 0.6916 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.547, allocations: 79.91 kB / 0.6917 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.549, allocations: 1.141 MB / 0.6928 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.549, allocations: 0 / 0.6928 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.5491, allocations: 28 kB / 0.6928 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.5491, allocations: 20 kB / 0.6928 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.551, allocations: 1.05 MB / 0.6939 GB, free: 12.53 MB / 0.4948 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.005915/0.5569, allocations: 3.786 MB / 0.6976 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.5644, allocations: 2.901 MB / 0.7004 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.5646, allocations: 20.97 kB / 0.7004 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.5661, allocations: 0.8685 MB / 0.7013 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.835e-06/0.5661, allocations: 0 / 0.7013 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02896/0.5951, allocations: 8.708 MB / 0.7098 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.5952, allocations: 119.8 kB / 0.7099 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5966, allocations: 0.921 MB / 0.7108 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.5967, allocations: 41.7 kB / 0.7108 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.5971, allocations: 0.5051 MB / 0.7113 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.5974, allocations: 335.1 kB / 0.7116 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.5975, allocations: 24 kB / 0.7117 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5976, allocations: 341.9 kB / 0.712 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.5988, allocations: 0.6426 MB / 0.7126 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.6001, allocations: 0.7809 MB / 0.7134 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6015, allocations: 0.7433 MB / 0.7141 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6015, allocations: 8 kB / 0.7141 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01293/0.6144, allocations: 4.673 MB / 0.7187 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.6145, allocations: 59.41 kB / 0.7187 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6145, allocations: 4 kB / 0.7187 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005946/0.6204, allocations: 1.901 MB / 0.7206 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.6214, allocations: 187.7 kB / 0.7208 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.6406, allocations: 9.438 MB / 0.73 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.6421, allocations: 203 kB / 0.7302 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.6422, allocations: 39.98 kB / 0.7302 GB, free: 6.656 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005347/0.6428, allocations: 293.1 kB / 0.7305 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6429, allocations: 126.5 kB / 0.7306 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.6556, allocations: 4.721 MB / 0.7352 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6557, allocations: 8 kB / 0.7352 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6557, allocations: 8 kB / 0.7352 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.6557, allocations: 7.984 kB / 0.7353 GB, free: 1.457 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 postOpt removeSimpleEquations (simulation): time 0.01445/0.6702, allocations: 6.277 MB / 0.7414 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6702, allocations: 4 kB / 0.7414 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.6709, allocations: 103.8 kB / 0.7415 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005553/0.6765, allocations: 1.864 MB / 0.7433 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.6766, allocations: 24 kB / 0.7433 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.6956, allocations: 10.14 MB / 0.7532 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6956, allocations: 0 / 0.7532 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.7098, allocations: 5.65 MB / 0.7588 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.7103, allocations: 227.2 kB / 0.759 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.7105, allocations: 27.98 kB / 0.759 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7116, allocations: 139.9 kB / 0.7591 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/0.7122, allocations: 196.7 kB / 0.7593 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.7123, allocations: 28.23 kB / 0.7593 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001014/0.7133, allocations: 0.7235 MB / 0.7601 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7133, allocations: 3.938 kB / 0.7601 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001176/0.7145, allocations: 431.5 kB / 0.7605 GB, free: 7.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002596/0.7147, allocations: 162.3 kB / 0.7606 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005421/0.7202, allocations: 2.468 MB / 0.763 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7202, allocations: 0.75 kB / 0.763 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.7242, allocations: 1.793 MB / 0.7648 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.7249, allocations: 109.1 kB / 0.7649 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.194/0.9189, allocations: 2.64 MB / 0.7675 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.9197, allocations: 1.146 MB / 0.7686 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005239/0.9202, allocations: 96.84 kB / 0.7687 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.9205, allocations: 65.14 kB / 0.7687 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/0.9205, allocations: 2.938 kB / 0.7687 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.02724/0.9477, allocations: 20.5 MB / 0.7888 GB, free: 145.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)