Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 174.7 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.214/1.214, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008978/0.0008977, allocations: 99 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5354/0.5354, allocations: 78.04 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.002e-05, allocations: 8 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3059, allocations: 69.33 MB / 0.548 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4299, allocations: 100.4 MB / 0.646 GB, free: 24 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4303, allocations: 91.92 kB / 0.6461 GB, free: 15.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07618/0.5064, allocations: 28.64 MB / 0.6741 GB, free: 3.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5065, allocations: 3.938 kB / 0.6741 GB, free: 3.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.803e-05/0.5066, allocations: 24 kB / 0.6741 GB, free: 3.062 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004915/0.5115, allocations: 1.863 MB / 0.6759 GB, free: 1.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5115, allocations: 11.97 kB / 0.6759 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.5148, allocations: 0.5641 MB / 0.6765 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2648/0.7796, allocations: 0.8069 MB / 0.6773 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.78, allocations: 233.8 kB / 0.6775 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.7804, allocations: 88.25 kB / 0.6776 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.7831, allocations: 1.003 MB / 0.6785 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.7831, allocations: 0.8438 kB / 0.6785 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.7833, allocations: 31 kB / 0.6786 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.7833, allocations: 23.5 kB / 0.6786 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.7853, allocations: 0.9062 MB / 0.6795 GB, free: 103 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.008986/0.7943, allocations: 3.799 MB / 0.6832 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.7961, allocations: 1.333 MB / 0.6845 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.7971, allocations: 0.6308 MB / 0.6851 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.7973, allocations: 18.2 kB / 0.6851 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7973, allocations: 42.53 kB / 0.6852 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.436e-06/0.7973, allocations: 3.469 kB / 0.6852 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01237/0.8097, allocations: 4.186 MB / 0.6893 GB, free: 101.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.8098, allocations: 144.4 kB / 0.6894 GB, free: 101.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.811, allocations: 0.8398 MB / 0.6902 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.8112, allocations: 41.58 kB / 0.6903 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.8115, allocations: 0.5161 MB / 0.6908 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.8117, allocations: 353 kB / 0.6911 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.8118, allocations: 19.88 kB / 0.6911 GB, free: 100.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.8119, allocations: 350.6 kB / 0.6914 GB, free: 99.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.8127, allocations: 491.6 kB / 0.6919 GB, free: 99.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/0.8135, allocations: 0.6049 MB / 0.6925 GB, free: 99.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.8143, allocations: 0.5849 MB / 0.6931 GB, free: 99.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8143, allocations: 3.656 kB / 0.6931 GB, free: 99.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01226/0.8265, allocations: 4.407 MB / 0.6974 GB, free: 98.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.8268, allocations: 0.9329 MB / 0.6983 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8268, allocations: 3.188 kB / 0.6983 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005886/0.8327, allocations: 1.799 MB / 0.7001 GB, free: 96.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.8336, allocations: 168.3 kB / 0.7002 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.8482, allocations: 8.625 MB / 0.7086 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.8499, allocations: 205.4 kB / 0.7088 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.85, allocations: 34.19 kB / 0.7089 GB, free: 91.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.85, allocations: 3.781 kB / 0.7089 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/0.862, allocations: 4.277 MB / 0.713 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.8621, allocations: 0 / 0.713 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005626/0.8677, allocations: 1.808 MB / 0.7148 GB, free: 87.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.8686, allocations: 158 kB / 0.715 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.8824, allocations: 8.595 MB / 0.7234 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8839, allocations: 180.6 kB / 0.7235 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.8841, allocations: 31.61 kB / 0.7236 GB, free: 79.05 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.8843, allocations: 194.7 kB / 0.7237 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.8846, allocations: 125.8 kB / 0.7239 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.896, allocations: 4.336 MB / 0.7281 GB, free: 75.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8961, allocations: 8 kB / 0.7281 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8961, allocations: 0 / 0.7281 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.8961, allocations: 14.89 kB / 0.7281 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.9097, allocations: 6.137 MB / 0.7341 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.9098, allocations: 0 / 0.7341 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.9106, allocations: 119.8 kB / 0.7342 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004743/0.9154, allocations: 1.695 MB / 0.7359 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.9156, allocations: 16 kB / 0.7359 GB, free: 68.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.9269, allocations: 6.342 MB / 0.7421 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9269, allocations: 3.5 kB / 0.7421 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.9394, allocations: 5.116 MB / 0.7471 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.9399, allocations: 223.3 kB / 0.7473 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.9401, allocations: 20 kB / 0.7473 GB, free: 56.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.9413, allocations: 143.9 kB / 0.7475 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/0.9418, allocations: 196.6 kB / 0.7476 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.9419, allocations: 24 kB / 0.7477 GB, free: 56.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007451/0.9427, allocations: 0.6572 MB / 0.7483 GB, free: 55.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9427, allocations: 8 kB / 0.7483 GB, free: 55.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001658/0.9443, allocations: 0.7062 MB / 0.749 GB, free: 54.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.9446, allocations: 157.9 kB / 0.7492 GB, free: 54.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009031/0.9536, allocations: 4.186 MB / 0.7532 GB, free: 50.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9537, allocations: 0 / 0.7532 GB, free: 50.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003777/0.9575, allocations: 1.59 MB / 0.7548 GB, free: 48.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.9583, allocations: 101.9 kB / 0.7549 GB, free: 48.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.9615, allocations: 1.872 MB / 0.7567 GB, free: 46.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.9619, allocations: 1.165 MB / 0.7579 GB, free: 45.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007337/0.9627, allocations: 197.8 kB / 0.7581 GB, free: 45.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.9629, allocations: 51.38 kB / 0.7581 GB, free: 45.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9629, allocations: 0 / 0.7581 GB, free: 45.25 MB / 490.7 MB Notification: Performance of Templates: time 0.0363/0.9992, allocations: 30.7 MB / 0.7881 GB, free: 14.82 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)