Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.000928, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 238.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001131, allocations: 181 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4759/0.4759, allocations: 79.46 MB / 420.7 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 12 kB / 0.4891 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3926, allocations: 69.5 MB / 0.557 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS): time 0.00649/0.3992, allocations: 7.226 MB / 0.564 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.4043, allocations: 2.621 MB / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4056, allocations: 17.72 kB / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.4064, allocations: 230 kB / 0.5668 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.4087, allocations: 0.9965 MB / 0.5678 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4101, allocations: 0.6094 MB / 0.5684 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.4119, allocations: 1.389 MB / 0.5697 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.4124, allocations: 340.9 kB / 0.5701 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.4133, allocations: 0.783 MB / 0.5708 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.4142, allocations: 0.9916 MB / 0.5718 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4144, allocations: 90.53 kB / 0.5719 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.4152, allocations: 289.5 kB / 0.5722 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.4156, allocations: 359 kB / 0.5725 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004006/0.416, allocations: 291.8 kB / 0.5728 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.4175, allocations: 1.687 MB / 0.5744 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4175, allocations: 0 / 0.5744 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4175, allocations: 0.7188 kB / 0.5744 GB, free: 33.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.4175, allocations: 0 / 0.5744 GB, free: 33.11 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.01146/0.429, allocations: 3.427 MB / 0.5778 GB, free: 31.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4291, allocations: 12.3 kB / 0.5778 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000458/0.4295, allocations: 155.9 kB / 0.5779 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.4343, allocations: 0.7588 MB / 0.5787 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.4368, allocations: 1.117 MB / 0.5798 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/0.4372, allocations: 445.1 kB / 0.5802 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.4375, allocations: 111.5 kB / 0.5803 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.4404, allocations: 1.517 MB / 0.5818 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4404, allocations: 4 kB / 0.5818 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4405, allocations: 36.91 kB / 0.5818 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4406, allocations: 23.12 kB / 0.5818 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.4433, allocations: 1.465 MB / 0.5833 GB, free: 29.4 MB / 430.1 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.009451/0.4528, allocations: 5.194 MB / 0.5883 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009004/0.4618, allocations: 3.537 MB / 0.5918 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.4621, allocations: 26.77 kB / 0.5918 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/0.4646, allocations: 1.162 MB / 0.593 GB, free: 24.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.685e-06/0.4646, allocations: 0 / 0.593 GB, free: 24.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04337/0.508, allocations: 11.37 MB / 0.6041 GB, free: 22.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.5081, allocations: 142 kB / 0.6042 GB, free: 22.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.5114, allocations: 1.479 MB / 0.6056 GB, free: 22.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004954/0.5119, allocations: 50.77 kB / 0.6057 GB, free: 22.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.5124, allocations: 0.6118 MB / 0.6063 GB, free: 21.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/0.5131, allocations: 454.9 kB / 0.6067 GB, free: 21.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5132, allocations: 34.78 kB / 0.6068 GB, free: 21.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5134, allocations: 380.6 kB / 0.6071 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.5158, allocations: 1.057 MB / 0.6082 GB, free: 20.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.5184, allocations: 1.265 MB / 0.6094 GB, free: 19.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.5211, allocations: 1.138 MB / 0.6105 GB, free: 19.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5211, allocations: 0.9375 kB / 0.6105 GB, free: 19.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01776/0.5388, allocations: 6.423 MB / 0.6168 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.5392, allocations: 1.346 MB / 0.6181 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5392, allocations: 4 kB / 0.6181 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008969/0.5482, allocations: 3.032 MB / 0.6211 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.5498, allocations: 315.5 kB / 0.6214 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.5557, allocations: 3.007 MB / 0.6243 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.5584, allocations: 322.9 kB / 0.6246 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.5586, allocations: 59.98 kB / 0.6247 GB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5586, allocations: 7.938 kB / 0.6247 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01583/0.5745, allocations: 6.219 MB / 0.6307 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.5746, allocations: 4 kB / 0.6307 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009338/0.5839, allocations: 3.02 MB / 0.6337 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.5857, allocations: 304.7 kB / 0.634 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.5922, allocations: 2.997 MB / 0.6369 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.5949, allocations: 286.6 kB / 0.6372 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/0.5952, allocations: 71.97 kB / 0.6372 GB, free: 10.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008727/0.5961, allocations: 382.8 kB / 0.6376 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/0.5965, allocations: 173.9 kB / 0.6378 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.6134, allocations: 5.86 MB / 0.6435 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.6135, allocations: 16.84 kB / 0.6435 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6135, allocations: 4 kB / 0.6435 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/0.6136, allocations: 11.92 kB / 0.6435 GB, free: 3.691 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.0201/0.6337, allocations: 8.074 MB / 0.6514 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.6337, allocations: 3.984 kB / 0.6514 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6347, allocations: 147.8 kB / 0.6516 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007969/0.6427, allocations: 2.51 MB / 0.654 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/0.6431, allocations: 31.92 kB / 0.654 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.6694, allocations: 10.89 MB / 0.6647 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6695, allocations: 4 kB / 0.6647 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/0.6903, allocations: 7.16 MB / 0.6717 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009693/0.6913, allocations: 282.7 kB / 0.6719 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.6916, allocations: 20 kB / 0.672 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6934, allocations: 208.9 kB / 0.6722 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/0.6942, allocations: 253.2 kB / 0.6724 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6943, allocations: 39.98 kB / 0.6724 GB, free: 5.727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001728/0.6961, allocations: 1.002 MB / 0.6734 GB, free: 4.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6961, allocations: 0 / 0.6734 GB, free: 4.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002601/0.6987, allocations: 0.8583 MB / 0.6743 GB, free: 3.867 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.x_scaled[1]) * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02033/0.719, allocations: 7.904 MB / 0.682 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0161/0.7352, allocations: 5.46 MB / 0.6873 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7352, allocations: 0 / 0.6873 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006501/0.7417, allocations: 2.181 MB / 0.6894 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7431, allocations: 127.1 kB / 0.6896 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/0.7512, allocations: 6.48 MB / 0.6959 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.752, allocations: 1.272 MB / 0.6971 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008638/0.7529, allocations: 189.1 kB / 0.6973 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.7537, allocations: 0.6203 MB / 0.6979 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.7537, allocations: 5.031 kB / 0.6979 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0746/0.8283, allocations: 44.09 MB / 0.741 GB, free: 15.76 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.8285, allocations: 205 kB / 0.7412 GB, free: 15.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/3.919, allocations: 0 / 0.7412 GB, free: 15.51 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1) Environment - environmentSimulation: