Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_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.008884/0.008884, allocations: 169.4 kB / 15.11 MB, free: 5.582 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.618/1.618, allocations: 223.2 MB / 239 MB, free: 1.793 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.001059/0.001059, allocations: 97.67 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4417/0.4417, allocations: 78.59 MB / 419.9 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 69.34 MB / 0.5559 GB, free: 38.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4749, allocations: 100.5 MB / 0.654 GB, free: 6.027 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4753, allocations: 99.92 kB / 0.6541 GB, free: 5.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08083/0.5561, allocations: 28.73 MB / 0.6821 GB, free: 9.055 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5562, allocations: 0 / 0.6821 GB, free: 9.055 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.863e-05/0.5563, allocations: 24 kB / 0.6821 GB, free: 9.031 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.006772/0.563, allocations: 2.146 MB / 0.6842 GB, free: 6.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5631, allocations: 8.031 kB / 0.6842 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003843/0.5635, allocations: 134.9 kB / 0.6844 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/0.567, allocations: 0.5681 MB / 0.6849 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.569, allocations: 0.8575 MB / 0.6858 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.5693, allocations: 238.4 kB / 0.686 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.5695, allocations: 76 kB / 0.6861 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.5719, allocations: 1.24 MB / 0.6873 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.572, allocations: 0 / 0.6873 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5721, allocations: 32 kB / 0.6873 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5721, allocations: 20 kB / 0.6873 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.5745, allocations: 1.163 MB / 0.6885 GB, free: 2.379 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.00701/0.5816, allocations: 3.797 MB / 0.6922 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.584, allocations: 1.575 MB / 0.6937 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.5841, allocations: 16.98 kB / 0.6937 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5841, allocations: 47.56 kB / 0.6938 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 2.855e-06/0.5841, allocations: 0 / 0.6938 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.02788/0.612, allocations: 8.148 MB / 0.7017 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.6122, allocations: 141.5 kB / 0.7019 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.6137, allocations: 0.8765 MB / 0.7027 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.614, allocations: 41.7 kB / 0.7028 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.6144, allocations: 0.5167 MB / 0.7033 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.6148, allocations: 350.8 kB / 0.7036 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.6149, allocations: 20 kB / 0.7036 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.615, allocations: 345.9 kB / 0.7039 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.6166, allocations: 0.7125 MB / 0.7046 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.6181, allocations: 0.8281 MB / 0.7054 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.6198, allocations: 0.8078 MB / 0.7062 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6198, allocations: 4 kB / 0.7062 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0149/0.6347, allocations: 5.043 MB / 0.7112 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.6352, allocations: 0.9342 MB / 0.7121 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6352, allocations: 4 kB / 0.7121 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009075/0.6443, allocations: 2.178 MB / 0.7142 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6455, allocations: 163.7 kB / 0.7144 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/0.6698, allocations: 11.36 MB / 0.7255 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.6717, allocations: 199.1 kB / 0.7256 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.6719, allocations: 35.98 kB / 0.7257 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.672, allocations: 4 kB / 0.7257 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.6863, allocations: 4.879 MB / 0.7304 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6864, allocations: 0 / 0.7304 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006933/0.6933, allocations: 2.188 MB / 0.7326 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.6941, allocations: 155.8 kB / 0.7327 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.7171, allocations: 11.32 MB / 0.7438 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.7189, allocations: 195.1 kB / 0.744 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.7191, allocations: 35.98 kB / 0.744 GB, free: 8.391 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.0007612/0.7199, allocations: 356 kB / 0.7443 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/0.7202, allocations: 126.4 kB / 0.7445 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.7343, allocations: 4.969 MB / 0.7493 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7343, allocations: 8 kB / 0.7493 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.7344, allocations: 7.953 kB / 0.7493 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.7344, allocations: 3.984 kB / 0.7493 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.7505, allocations: 6.776 MB / 0.756 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.7505, allocations: 0 / 0.756 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.7512, allocations: 123.9 kB / 0.7561 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/0.7572, allocations: 2.061 MB / 0.7581 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.7573, allocations: 23.95 kB / 0.7581 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.7768, allocations: 8.663 MB / 0.7666 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7768, allocations: 7.938 kB / 0.7666 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2554/1.032, allocations: 5.961 MB / 0.7724 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/1.033, allocations: 221.3 kB / 0.7726 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003814/1.033, allocations: 27.92 kB / 0.7726 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.035, allocations: 143.6 kB / 0.7728 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006312/1.035, allocations: 201.9 kB / 0.773 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.035, allocations: 21.09 kB / 0.773 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001289/1.037, allocations: 0.6967 MB / 0.7737 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 0 / 0.7737 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002544/1.039, allocations: 0.7137 MB / 0.7744 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.0153/1.055, allocations: 6.644 MB / 0.7809 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.067, allocations: 4.851 MB / 0.7856 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.067, allocations: 0 / 0.7856 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/1.071, allocations: 1.837 MB / 0.7874 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.0009677/1.072, allocations: 102.7 kB / 0.7875 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/1.078, allocations: 4.817 MB / 0.7922 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/1.079, allocations: 1.164 MB / 0.7933 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005641/1.08, allocations: 114.2 kB / 0.7934 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/1.08, allocations: 453.4 kB / 0.7939 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/1.08, allocations: 0 / 0.7939 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/1.151, allocations: 38.57 MB / 0.8315 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.151, allocations: 207.5 kB / 0.8317 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/4.03, allocations: 0 / 0.8317 GB, free: 135.6 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)