Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004958/0.004958, allocations: 170.2 kB / 15.11 MB, free: 5.969 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.248/1.248, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008514/0.0008515, allocations: 89.8 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4613/0.4613, allocations: 78.59 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 12 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 69.35 MB / 0.5558 GB, free: 39.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.4187, allocations: 99.49 MB / 0.6529 GB, free: 7.035 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.4189, allocations: 83.95 kB / 0.653 GB, free: 6.953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08557/0.5045, allocations: 32.65 MB / 0.6849 GB, free: 6.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5045, allocations: 0 / 0.6849 GB, free: 6.141 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.671e-05/0.5046, allocations: 27.94 kB / 0.6849 GB, free: 6.113 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006146/0.5108, allocations: 2.088 MB / 0.687 GB, free: 3.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5108, allocations: 8.031 kB / 0.687 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.5146, allocations: 0.568 MB / 0.6875 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.5167, allocations: 0.8253 MB / 0.6883 GB, free: 2.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.5171, allocations: 272.1 kB / 0.6886 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.5173, allocations: 79.98 kB / 0.6887 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5198, allocations: 1.165 MB / 0.6898 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5199, allocations: 4 kB / 0.6898 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.52, allocations: 32 kB / 0.6898 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.52, allocations: 20 kB / 0.6899 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.5222, allocations: 1.062 MB / 0.6909 GB, free: 15.82 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.007001/0.5293, allocations: 3.897 MB / 0.6947 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008228/0.5375, allocations: 2.927 MB / 0.6976 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.5376, allocations: 20.98 kB / 0.6976 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.5394, allocations: 0.8881 MB / 0.6984 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.5394, allocations: 0 / 0.6984 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02906/0.5685, allocations: 8.154 MB / 0.7064 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.5686, allocations: 119.8 kB / 0.7065 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.5703, allocations: 0.9655 MB / 0.7075 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.5705, allocations: 45.7 kB / 0.7075 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.5709, allocations: 0.5132 MB / 0.708 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.5713, allocations: 350.9 kB / 0.7083 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.5714, allocations: 20 kB / 0.7084 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5715, allocations: 341.9 kB / 0.7087 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.573, allocations: 0.6702 MB / 0.7093 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5745, allocations: 0.8016 MB / 0.7101 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.576, allocations: 0.7619 MB / 0.7109 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.576, allocations: 0 / 0.7109 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01482/0.5908, allocations: 4.779 MB / 0.7155 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.5909, allocations: 61.27 kB / 0.7156 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5909, allocations: 4 kB / 0.7156 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007258/0.5982, allocations: 1.999 MB / 0.7175 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5992, allocations: 187.8 kB / 0.7177 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.6221, allocations: 10.82 MB / 0.7283 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.6239, allocations: 203.1 kB / 0.7285 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6241, allocations: 39.98 kB / 0.7285 GB, free: 8.492 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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: 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 (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000599/0.6247, allocations: 289.4 kB / 0.7288 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.6249, allocations: 130.5 kB / 0.7289 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.6391, allocations: 4.768 MB / 0.7336 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.6392, allocations: 12 kB / 0.7336 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.6392, allocations: 8 kB / 0.7336 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/0.6393, allocations: 7.984 kB / 0.7336 GB, free: 3.25 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.0168/0.6561, allocations: 6.375 MB / 0.7398 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6561, allocations: 3.938 kB / 0.7398 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.6569, allocations: 107.8 kB / 0.7399 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005752/0.6626, allocations: 1.88 MB / 0.7418 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.6628, allocations: 24 kB / 0.7418 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/0.6834, allocations: 10.11 MB / 0.7517 GB, free: 356 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6834, allocations: 3.938 kB / 0.7517 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.6987, allocations: 5.735 MB / 0.7573 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.6993, allocations: 239.1 kB / 0.7575 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6994, allocations: 20 kB / 0.7575 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.7007, allocations: 143.9 kB / 0.7577 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/0.7013, allocations: 196.6 kB / 0.7579 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/0.7014, allocations: 28 kB / 0.7579 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001255/0.7026, allocations: 0.7556 MB / 0.7586 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7027, allocations: 0 / 0.7586 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001358/0.704, allocations: 459.5 kB / 0.7591 GB, free: 8.727 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.7043, allocations: 155 kB / 0.7592 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.7108, allocations: 2.649 MB / 0.7618 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7108, allocations: 0 / 0.7618 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004463/0.7153, allocations: 1.846 MB / 0.7636 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.7162, allocations: 116.5 kB / 0.7637 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.7205, allocations: 2.879 MB / 0.7665 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2097/0.9302, allocations: 1.148 MB / 0.7676 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007111/0.931, allocations: 99.17 kB / 0.7677 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.9313, allocations: 67.12 kB / 0.7678 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.9313, allocations: 0 / 0.7678 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.03203/0.9634, allocations: 21.4 MB / 0.7887 GB, free: 145.2 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)