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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005693/0.005693, allocations: 171.2 kB / 15.11 MB, free: 5.977 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.419/1.419, allocations: 223.2 MB / 239 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.0008925/0.0008925, allocations: 93.39 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.4818/0.4818, allocations: 78.52 MB / 419.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 12 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3872, allocations: 69.35 MB / 0.5558 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.5407, allocations: 100.5 MB / 0.6539 GB, free: 5.898 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.5411, allocations: 91.94 kB / 0.654 GB, free: 5.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0779/0.619, allocations: 28.74 MB / 0.6821 GB, free: 8.926 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.619, allocations: 0 / 0.6821 GB, free: 8.926 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.234e-05/0.6191, allocations: 20 kB / 0.6821 GB, free: 8.906 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.005845/0.625, allocations: 2.15 MB / 0.6842 GB, free: 6.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.625, allocations: 12.03 kB / 0.6842 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.6252, allocations: 134.9 kB / 0.6843 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.6285, allocations: 0.5603 MB / 0.6849 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.6304, allocations: 0.8575 MB / 0.6857 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.6306, allocations: 238.4 kB / 0.6859 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.6308, allocations: 88 kB / 0.686 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.6332, allocations: 1.228 MB / 0.6872 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.6332, allocations: 0 / 0.6872 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6334, allocations: 32 kB / 0.6872 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.6334, allocations: 20 kB / 0.6873 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.6358, allocations: 1.167 MB / 0.6884 GB, free: 2.25 MB / 490.7 MB 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.007315/0.6431, allocations: 3.793 MB / 0.6921 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.6457, allocations: 1.573 MB / 0.6936 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.6458, allocations: 24.97 kB / 0.6937 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.6459, allocations: 43.56 kB / 0.6937 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/0.6459, allocations: 4 kB / 0.6937 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.02762/0.6735, allocations: 8.144 MB / 0.7017 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.6737, allocations: 141.5 kB / 0.7018 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6754, allocations: 0.8765 MB / 0.7027 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.6757, allocations: 45.7 kB / 0.7027 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.6761, allocations: 0.5167 MB / 0.7032 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.6765, allocations: 342.8 kB / 0.7035 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.6766, allocations: 20 kB / 0.7036 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6768, allocations: 345.9 kB / 0.7039 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.6783, allocations: 0.7086 MB / 0.7046 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.68, allocations: 0.8321 MB / 0.7054 GB, free: 452 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.6816, allocations: 0.8116 MB / 0.7062 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6817, allocations: 0 / 0.7062 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01527/0.6969, allocations: 5.043 MB / 0.7111 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006059/0.6976, allocations: 0.9411 MB / 0.712 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6976, allocations: 0 / 0.712 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007558/0.7052, allocations: 2.186 MB / 0.7142 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7063, allocations: 159.8 kB / 0.7143 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.7313, allocations: 11.36 MB / 0.7254 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.7332, allocations: 199.1 kB / 0.7256 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7333, allocations: 32 kB / 0.7256 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7333, allocations: 5.719 kB / 0.7256 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01476/0.7481, allocations: 4.879 MB / 0.7304 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.7482, allocations: 7.938 kB / 0.7304 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007622/0.7558, allocations: 2.173 MB / 0.7325 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.7569, allocations: 155.8 kB / 0.7327 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/0.7817, allocations: 11.33 MB / 0.7437 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.7837, allocations: 187.1 kB / 0.7439 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.7838, allocations: 36 kB / 0.744 GB, free: 8.266 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.000837/0.7846, allocations: 355.2 kB / 0.7443 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.7849, allocations: 130.4 kB / 0.7444 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7995, allocations: 4.965 MB / 0.7493 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.7996, allocations: 12 kB / 0.7493 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7996, allocations: 3.953 kB / 0.7493 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/0.7996, allocations: 3.984 kB / 0.7493 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.8174, allocations: 6.78 MB / 0.7559 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.8174, allocations: 0 / 0.7559 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/0.8184, allocations: 123.8 kB / 0.756 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006173/0.8245, allocations: 2.054 MB / 0.758 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/0.8248, allocations: 31.94 kB / 0.7581 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/0.8438, allocations: 8.667 MB / 0.7665 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8439, allocations: 3.984 kB / 0.7665 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3858/1.23, allocations: 5.965 MB / 0.7724 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/1.231, allocations: 221.5 kB / 0.7726 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.231, allocations: 20.19 kB / 0.7726 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.232, allocations: 148 kB / 0.7727 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00071/1.233, allocations: 198 kB / 0.7729 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/1.233, allocations: 25.22 kB / 0.7729 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001314/1.234, allocations: 0.6917 MB / 0.7736 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/1.234, allocations: 0 / 0.7736 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002322/1.237, allocations: 0.7179 MB / 0.7743 GB, free: 144.5 MB / 0.5573 GB 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 () * Number of clocked 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.0162/1.253, allocations: 6.647 MB / 0.7808 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.265, allocations: 4.843 MB / 0.7855 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.266, allocations: 2.625 kB / 0.7855 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004984/1.271, allocations: 1.84 MB / 0.7873 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.272, allocations: 108.2 kB / 0.7874 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/1.277, allocations: 4.804 MB / 0.7921 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.278, allocations: 1.163 MB / 0.7933 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006169/1.279, allocations: 115.6 kB / 0.7934 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/1.279, allocations: 453.5 kB / 0.7938 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.024e-06/1.279, allocations: 0 / 0.7938 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07687/1.356, allocations: 38.56 MB / 0.8315 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.357, allocations: 209 kB / 0.8317 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/4.789, allocations: 7.375 kB / 0.8317 GB, free: 135.5 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)