Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004776/0.004776, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.213/1.213, allocations: 223.2 MB / 239 MB, free: 56 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.0008008/0.0008009, allocations: 97.39 kB / 290.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4427/0.4427, allocations: 79.45 MB / 420.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 8 kB / 0.489 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 69.52 MB / 0.5569 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4825, allocations: 103.5 MB / 0.658 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4828, allocations: 79.95 kB / 0.6581 GB, free: 13.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2434/0.7262, allocations: 103.6 MB / 0.7593 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7262, allocations: 0 / 0.7593 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002032/0.7265, allocations: 95.94 kB / 0.7594 GB, free: 5.492 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.0191/0.7456, allocations: 6.683 MB / 0.7659 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7456, allocations: 8.031 kB / 0.7659 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.7627, allocations: 2.814 MB / 0.7687 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.7683, allocations: 2.304 MB / 0.7709 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000876/0.7692, allocations: 0.9886 MB / 0.7719 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006994/0.7699, allocations: 351.9 kB / 0.7722 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009379/0.7793, allocations: 4.954 MB / 0.7771 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/0.7794, allocations: 0 / 0.7771 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.7798, allocations: 140 kB / 0.7772 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.7798, allocations: 84 kB / 0.7773 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008384/0.7882, allocations: 4.502 MB / 0.7817 GB, free: 14.32 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 preOpt removeSimpleEquations (simulation): time 0.3008/1.089, allocations: 18.68 MB / 0.7999 GB, free: 91.03 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/1.103, allocations: 5.704 MB / 0.8055 GB, free: 90.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/1.104, allocations: 69.83 kB / 0.8055 GB, free: 90.58 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008164/1.112, allocations: 3.445 MB / 0.8089 GB, free: 90.44 MB / 0.573 GB Notification: Performance of pre-optimization done (n=385): time 1.17e-05/1.112, allocations: 5.469 kB / 0.8089 GB, free: 90.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=385): time 0.2928/1.405, allocations: 78.04 MB / 0.8851 GB, free: 86.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/1.405, allocations: 146.9 kB / 0.8853 GB, free: 86.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.409, allocations: 2.767 MB / 0.888 GB, free: 86.35 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008556/1.41, allocations: 86.2 kB / 0.888 GB, free: 86.32 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.411, allocations: 2.004 MB / 0.89 GB, free: 85.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.412, allocations: 1.307 MB / 0.8913 GB, free: 85.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/1.412, allocations: 72.62 kB / 0.8913 GB, free: 85.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.412, allocations: 445.2 kB / 0.8918 GB, free: 84.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004634/1.417, allocations: 2.676 MB / 0.8944 GB, free: 84.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/1.422, allocations: 3.258 MB / 0.8976 GB, free: 84.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/1.427, allocations: 2.932 MB / 0.9004 GB, free: 84.07 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.427, allocations: 6.266 kB / 0.9004 GB, free: 84.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05529/1.482, allocations: 20.28 MB / 0.9202 GB, free: 77.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/1.482, allocations: 64.16 kB / 0.9203 GB, free: 77.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/1.482, allocations: 12 kB / 0.9203 GB, free: 77.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02563/1.508, allocations: 8.642 MB / 0.9288 GB, free: 71.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/1.511, allocations: 0.5536 MB / 0.9293 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07588/1.586, allocations: 38.45 MB / 0.9668 GB, free: 32.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/1.592, allocations: 0.7224 MB / 0.9675 GB, free: 32.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007403/1.593, allocations: 140.9 kB / 0.9677 GB, free: 31.89 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.00194/1.595, allocations: 0.6616 MB / 0.9683 GB, free: 31.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.596, allocations: 458.3 kB / 0.9688 GB, free: 30.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05293/1.649, allocations: 20.6 MB / 0.9889 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.649, allocations: 36 kB / 0.9889 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/1.649, allocations: 31.98 kB / 0.9889 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-05/1.649, allocations: 19.94 kB / 0.989 GB, free: 10.18 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.06281/1.712, allocations: 25.6 MB / 1.014 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.712, allocations: 1.312 kB / 1.014 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2553/1.967, allocations: 392.1 kB / 1.014 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02554/1.993, allocations: 8.613 MB / 1.023 GB, free: 97.26 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009668/1.994, allocations: 72.22 kB / 1.023 GB, free: 97.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07499/2.069, allocations: 34.35 MB / 1.056 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.069, allocations: 1.859 kB / 1.056 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06594/2.135, allocations: 24.27 MB / 1.08 GB, free: 93.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/2.137, allocations: 0.5696 MB / 1.081 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/2.139, allocations: 65.5 kB / 1.081 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005593/2.145, allocations: 0.5054 MB / 1.081 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003779/2.148, allocations: 0.7785 MB / 1.082 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006/2.149, allocations: 95.86 kB / 1.082 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003333/2.152, allocations: 2.12 MB / 1.084 GB, free: 92.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.233e-06/2.152, allocations: 0 / 1.084 GB, free: 92.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006769/2.159, allocations: 1.773 MB / 1.086 GB, free: 92.82 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.000827/2.16, allocations: 214.3 kB / 1.086 GB, free: 92.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02473/2.185, allocations: 10.12 MB / 1.096 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.185, allocations: 0 / 1.096 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02052/2.205, allocations: 7.06 MB / 1.103 GB, free: 88.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/2.209, allocations: 309.3 kB / 1.103 GB, free: 88.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/2.229, allocations: 9.891 MB / 1.113 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/2.23, allocations: 2.552 MB / 1.115 GB, free: 81.61 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001732/2.232, allocations: 304 kB / 1.116 GB, free: 81.56 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/2.233, allocations: 200.7 kB / 1.116 GB, free: 81.55 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/2.233, allocations: 0 / 1.116 GB, free: 81.55 MB / 0.5886 GB Notification: Performance of Templates: time 0.1102/2.343, allocations: 79.24 MB / 1.193 GB, free: 39.54 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)