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.001713/0.001713, allocations: 175.1 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.499/1.499, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.001007/0.001007, allocations: 92.36 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4858/0.4858, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.756e-05, allocations: 3.984 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3739, allocations: 69.34 MB / 0.5481 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5105, allocations: 100.4 MB / 0.6461 GB, free: 116 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.5109, allocations: 83.95 kB / 0.6462 GB, free: 32 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07977/0.5907, allocations: 28.65 MB / 0.6742 GB, free: 3.184 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5908, allocations: 0 / 0.6742 GB, free: 3.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.522e-05/0.5909, allocations: 24 kB / 0.6742 GB, free: 3.16 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.005104/0.596, allocations: 1.864 MB / 0.676 GB, free: 1.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.596, allocations: 11.97 kB / 0.676 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002631/0.5963, allocations: 138.9 kB / 0.6762 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.5997, allocations: 0.5602 MB / 0.6767 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3498/0.9495, allocations: 0.8132 MB / 0.6775 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.9499, allocations: 237.2 kB / 0.6777 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.9502, allocations: 82.89 kB / 0.6778 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.9525, allocations: 1.007 MB / 0.6788 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.9525, allocations: 0.9688 kB / 0.6788 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.9526, allocations: 29.77 kB / 0.6788 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.9526, allocations: 18.69 kB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.9547, allocations: 0.9053 MB / 0.6797 GB, free: 103.2 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.008489/0.9632, allocations: 3.806 MB / 0.6835 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.965, allocations: 1.332 MB / 0.6848 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.9661, allocations: 0.6261 MB / 0.6854 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.9662, allocations: 18.28 kB / 0.6854 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.9663, allocations: 52.56 kB / 0.6854 GB, free: 101.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.858e-06/0.9663, allocations: 0 / 0.6854 GB, free: 101.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01285/0.9791, allocations: 4.186 MB / 0.6895 GB, free: 101.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.9792, allocations: 140.9 kB / 0.6897 GB, free: 101.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.9806, allocations: 0.8427 MB / 0.6905 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000294/0.9809, allocations: 41.55 kB / 0.6905 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.9812, allocations: 0.5142 MB / 0.691 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.9815, allocations: 353.1 kB / 0.6914 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.9816, allocations: 15.91 kB / 0.6914 GB, free: 100.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.9817, allocations: 350.6 kB / 0.6917 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.9824, allocations: 491.1 kB / 0.6922 GB, free: 99.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/0.9832, allocations: 0.6057 MB / 0.6928 GB, free: 99.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.9841, allocations: 0.5865 MB / 0.6933 GB, free: 99.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9841, allocations: 3.938 kB / 0.6933 GB, free: 99.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01259/0.9967, allocations: 4.403 MB / 0.6976 GB, free: 98.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.997, allocations: 0.9356 MB / 0.6986 GB, free: 97.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.997, allocations: 7.75 kB / 0.6986 GB, free: 97.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006034/1.003, allocations: 1.797 MB / 0.7003 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/1.004, allocations: 167 kB / 0.7005 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.021, allocations: 8.627 MB / 0.7089 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.023, allocations: 205.6 kB / 0.7091 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.023, allocations: 31.56 kB / 0.7091 GB, free: 91.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.023, allocations: 3.875 kB / 0.7091 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/1.035, allocations: 4.276 MB / 0.7133 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/1.035, allocations: 0 / 0.7133 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/1.041, allocations: 1.811 MB / 0.7151 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/1.042, allocations: 158.2 kB / 0.7152 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.057, allocations: 8.591 MB / 0.7236 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.059, allocations: 191.4 kB / 0.7238 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.059, allocations: 32 kB / 0.7238 GB, free: 79.02 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.0003491/1.059, allocations: 182 kB / 0.724 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.059, allocations: 126.4 kB / 0.7241 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.072, allocations: 4.341 MB / 0.7284 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.072, allocations: 8 kB / 0.7284 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.072, allocations: 0 / 0.7284 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/1.072, allocations: 11.64 kB / 0.7284 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.086, allocations: 6.141 MB / 0.7344 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.086, allocations: 0 / 0.7344 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/1.087, allocations: 127.8 kB / 0.7345 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/1.092, allocations: 1.686 MB / 0.7362 GB, free: 68.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/1.093, allocations: 23.98 kB / 0.7362 GB, free: 68.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/1.105, allocations: 6.331 MB / 0.7424 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.105, allocations: 0 / 0.7424 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.119, allocations: 5.116 MB / 0.7474 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.119, allocations: 223.3 kB / 0.7476 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/1.12, allocations: 20 kB / 0.7476 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.121, allocations: 139.9 kB / 0.7477 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/1.121, allocations: 204.6 kB / 0.7479 GB, free: 56.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.122, allocations: 23.98 kB / 0.7479 GB, free: 56.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008586/1.122, allocations: 0.6533 MB / 0.7486 GB, free: 55.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 4 kB / 0.7486 GB, free: 55.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002096/1.124, allocations: 0.7153 MB / 0.7493 GB, free: 54.64 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.0139/1.138, allocations: 5.793 MB / 0.7549 GB, free: 48.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/1.149, allocations: 4.184 MB / 0.759 GB, free: 44.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.149, allocations: 0 / 0.759 GB, free: 44.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/1.153, allocations: 1.594 MB / 0.7606 GB, free: 42.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.155, allocations: 103.1 kB / 0.7607 GB, free: 42.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/1.158, allocations: 2.078 MB / 0.7627 GB, free: 40.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/1.159, allocations: 1.165 MB / 0.7638 GB, free: 39.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007504/1.16, allocations: 192.1 kB / 0.764 GB, free: 39.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/1.16, allocations: 447.3 kB / 0.7645 GB, free: 38.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.16, allocations: 0 / 0.7645 GB, free: 38.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/1.223, allocations: 40.78 MB / 0.8043 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.223, allocations: 184.3 kB / 0.8044 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.501, allocations: 4 kB / 0.8045 GB, free: 14.34 MB / 0.4948 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)