Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.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 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.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.0006948/0.0006949, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.16/1.16, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.0008394/0.0008397, allocations: 183.6 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4032/0.4032, allocations: 78.55 MB / 420.3 MB, free: 4.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 12 kB / 0.4888 GB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 69.36 MB / 0.5565 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.1852/0.2875, allocations: 7.876 MB / 0.5642 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.2913, allocations: 2.534 MB / 0.5667 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2924, allocations: 18.19 kB / 0.5667 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.2931, allocations: 244.9 kB / 0.5669 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.2951, allocations: 1.059 MB / 0.5679 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2961, allocations: 0.6139 MB / 0.5685 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.2975, allocations: 2.165 MB / 0.5707 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.298, allocations: 351.2 kB / 0.571 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.2985, allocations: 0.7403 MB / 0.5717 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.2993, allocations: 1.013 MB / 0.5727 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.2995, allocations: 89.09 kB / 0.5728 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.2999, allocations: 307.3 kB / 0.5731 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3001, allocations: 357.9 kB / 0.5734 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.3006, allocations: 0.8085 MB / 0.5742 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3017, allocations: 2.082 MB / 0.5762 GB, free: 31.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3017, allocations: 0.625 kB / 0.5762 GB, free: 31.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3017, allocations: 0.5625 kB / 0.5762 GB, free: 31.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3018, allocations: 0 / 0.5762 GB, free: 31.54 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01068/0.3125, allocations: 3.51 MB / 0.5797 GB, free: 30.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3125, allocations: 7.875 kB / 0.5797 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.3127, allocations: 155.9 kB / 0.5798 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/0.3166, allocations: 0.7478 MB / 0.5806 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3179, allocations: 1.099 MB / 0.5816 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.3182, allocations: 435.9 kB / 0.5821 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.3184, allocations: 114.3 kB / 0.5822 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.3208, allocations: 1.472 MB / 0.5836 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3208, allocations: 0 / 0.5836 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3209, allocations: 34 kB / 0.5836 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3209, allocations: 26.69 kB / 0.5837 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.3233, allocations: 1.404 MB / 0.585 GB, free: 28.7 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.006728/0.3301, allocations: 4.914 MB / 0.5898 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.3381, allocations: 3.409 MB / 0.5932 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.3405, allocations: 0.9814 MB / 0.5941 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.3406, allocations: 22.45 kB / 0.5941 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002051/0.3427, allocations: 1.118 MB / 0.5952 GB, free: 23.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.565e-06/0.3427, allocations: 0 / 0.5952 GB, free: 23.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.0409/0.3836, allocations: 11.77 MB / 0.6067 GB, free: 21.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3837, allocations: 117.1 kB / 0.6068 GB, free: 21.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.3857, allocations: 1.393 MB / 0.6082 GB, free: 21.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.3859, allocations: 51.3 kB / 0.6082 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.3862, allocations: 0.576 MB / 0.6088 GB, free: 20.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.3866, allocations: 444.2 kB / 0.6092 GB, free: 20.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3868, allocations: 173.6 kB / 0.6094 GB, free: 20.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.3869, allocations: 301.7 kB / 0.6097 GB, free: 20.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.3889, allocations: 1.041 MB / 0.6107 GB, free: 19.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.391, allocations: 1.241 MB / 0.6119 GB, free: 19.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.3947, allocations: 2.216 MB / 0.6141 GB, free: 17.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3947, allocations: 0 / 0.6141 GB, free: 17.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01578/0.4105, allocations: 6.447 MB / 0.6204 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4106, allocations: 11.94 kB / 0.6204 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4106, allocations: 0.8125 kB / 0.6204 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008604/0.4192, allocations: 3.261 MB / 0.6236 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4204, allocations: 275.6 kB / 0.6238 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/0.4264, allocations: 3.181 MB / 0.6269 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4284, allocations: 298.3 kB / 0.6272 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.4286, allocations: 65.75 kB / 0.6273 GB, free: 4.895 MB / 430.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005415/0.4292, allocations: 294 kB / 0.6276 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4295, allocations: 154 kB / 0.6277 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.4447, allocations: 5.781 MB / 0.6334 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4447, allocations: 12 kB / 0.6334 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4447, allocations: 0 / 0.6334 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4448, allocations: 15.97 kB / 0.6334 GB, free: 14.62 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.0191/0.4639, allocations: 7.839 MB / 0.641 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4639, allocations: 2.094 kB / 0.641 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.4646, allocations: 143.8 kB / 0.6412 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007528/0.4722, allocations: 2.51 MB / 0.6436 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.4723, allocations: 28 kB / 0.6437 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.496, allocations: 10.33 MB / 0.6537 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.496, allocations: 0 / 0.6537 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/0.5148, allocations: 7.001 MB / 0.6606 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.5153, allocations: 278.7 kB / 0.6608 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.5157, allocations: 24 kB / 0.6609 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.5174, allocations: 179.8 kB / 0.661 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007399/0.5181, allocations: 249 kB / 0.6613 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5182, allocations: 42.62 kB / 0.6613 GB, free: 1.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001406/0.5197, allocations: 0.9417 MB / 0.6622 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5197, allocations: 0 / 0.6622 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001394/0.5211, allocations: 0.5152 MB / 0.6627 GB, free: 232 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01894/0.54, allocations: 7.593 MB / 0.6702 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008672/0.5487, allocations: 3.177 MB / 0.6733 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5487, allocations: 4.312 kB / 0.6733 GB, free: 5.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006036/0.5548, allocations: 2.148 MB / 0.6754 GB, free: 3.258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5561, allocations: 130.2 kB / 0.6755 GB, free: 3.129 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04453/0.6006, allocations: 21.95 MB / 0.6969 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6014, allocations: 1.215 MB / 0.6981 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.6019, allocations: 141.8 kB / 0.6982 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/0.6027, allocations: 0.5852 MB / 0.6988 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.6027, allocations: 0 / 0.6988 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05426/0.657, allocations: 38.78 MB / 0.7367 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6572, allocations: 202.5 kB / 0.7369 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.143, allocations: 0 / 0.7369 GB, free: 3.773 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)