Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07412/0.07412, allocations: 12.36 MB / 28.71 MB, free: 0.6211 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.2 kB / 34.41 MB, free: 1.699 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.6 MB / 247.6 MB, free: 8.844 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 227.8 kB / 302.5 MB, free: 2.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3261/0.3261, allocations: 79.74 MB / 436.9 MB, free: 11.71 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004011/0.004011, allocations: 150.6 kB / 0.5819 GB, free: 7.906 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3263, allocations: 71.91 MB / 0.6522 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009614/0.3359, allocations: 8.129 MB / 0.6601 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3414, allocations: 2.494 MB / 0.6625 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.3426, allocations: 12 kB / 0.6625 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.3435, allocations: 317.4 kB / 0.6628 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.3468, allocations: 1.251 MB / 0.6641 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3484, allocations: 0.6706 MB / 0.6647 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.3513, allocations: 2.287 MB / 0.667 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.3518, allocations: 278 kB / 0.6672 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.3531, allocations: 0.8873 MB / 0.6681 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.3545, allocations: 1.124 MB / 0.6692 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.3548, allocations: 176 kB / 0.6693 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.3556, allocations: 399.8 kB / 0.6697 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.356, allocations: 458.2 kB / 0.6702 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.3568, allocations: 0.8818 MB / 0.671 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.3595, allocations: 2.232 MB / 0.6732 GB, free: 9.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3595, allocations: 0 / 0.6732 GB, free: 9.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3595, allocations: 0 / 0.6732 GB, free: 9.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.519e-05/0.3596, allocations: 0 / 0.6732 GB, free: 9.242 MB / 462.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.01482/0.3744, allocations: 3.776 MB / 0.6769 GB, free: 5.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/0.3745, allocations: 15.98 kB / 0.6769 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.3747, allocations: 155.8 kB / 0.6771 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/0.3794, allocations: 0.7598 MB / 0.6778 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.3816, allocations: 1.109 MB / 0.6789 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.3821, allocations: 420.7 kB / 0.6793 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.3823, allocations: 107.9 kB / 0.6794 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.3853, allocations: 1.389 MB / 0.6807 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3853, allocations: 0 / 0.6807 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3855, allocations: 36 kB / 0.6808 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.3855, allocations: 24 kB / 0.6808 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.3887, allocations: 1.308 MB / 0.6821 GB, free: 15.95 MB / 478.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.009124/0.3979, allocations: 4.814 MB / 0.6868 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008849/0.4067, allocations: 2.756 MB / 0.6895 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.409, allocations: 0.8136 MB / 0.6903 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.4091, allocations: 20.98 kB / 0.6903 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002416/0.4115, allocations: 1.042 MB / 0.6913 GB, free: 6.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 3.075e-06/0.4115, allocations: 0 / 0.6913 GB, free: 6.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04311/0.4547, allocations: 9.633 MB / 0.7007 GB, free: 12.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.4547, allocations: 127.8 kB / 0.7008 GB, free: 12.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.4572, allocations: 1.39 MB / 0.7022 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/0.4576, allocations: 49.7 kB / 0.7022 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.4581, allocations: 0.5813 MB / 0.7028 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006255/0.4587, allocations: 468.1 kB / 0.7033 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000653/0.4594, allocations: 335.5 kB / 0.7036 GB, free: 9.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4595, allocations: 301.1 kB / 0.7039 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.4617, allocations: 0.9604 MB / 0.7048 GB, free: 8.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.4642, allocations: 1.155 MB / 0.7059 GB, free: 7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/0.4689, allocations: 2.058 MB / 0.7079 GB, free: 4.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4689, allocations: 0 / 0.7079 GB, free: 4.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01894/0.4878, allocations: 5.349 MB / 0.7132 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.4879, allocations: 12 kB / 0.7132 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.4879, allocations: 4 kB / 0.7132 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.4986, allocations: 2.88 MB / 0.716 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.5, allocations: 275.6 kB / 0.7162 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.5076, allocations: 2.861 MB / 0.719 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.51, allocations: 258.8 kB / 0.7193 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.5101, allocations: 59.98 kB / 0.7193 GB, free: 9.168 MB / 0.4981 GB 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.0006199/0.5108, allocations: 297.5 kB / 0.7196 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.5111, allocations: 166.9 kB / 0.7198 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.528, allocations: 4.686 MB / 0.7244 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.528, allocations: 12 kB / 0.7244 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.528, allocations: 7.984 kB / 0.7244 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.528, allocations: 3.984 kB / 0.7244 GB, free: 3.969 MB / 0.4981 GB 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.0205/0.5485, allocations: 6.765 MB / 0.731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5485, allocations: 0 / 0.731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.5495, allocations: 135.8 kB / 0.7311 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008131/0.5576, allocations: 2.142 MB / 0.7332 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/0.5579, allocations: 27.98 kB / 0.7332 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02793/0.5858, allocations: 10.08 MB / 0.7431 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5858, allocations: 0 / 0.7431 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/0.6057, allocations: 5.846 MB / 0.7488 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.6065, allocations: 275.6 kB / 0.7491 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.6068, allocations: 28 kB / 0.7491 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.6084, allocations: 135.8 kB / 0.7492 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/0.6092, allocations: 257 kB / 0.7495 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6094, allocations: 35.98 kB / 0.7495 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00157/0.6109, allocations: 0.9418 MB / 0.7504 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6109, allocations: 3.938 kB / 0.7504 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001525/0.6124, allocations: 0.5191 MB / 0.7509 GB, free: 8.449 MB / 0.5294 GB 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.02019/0.6326, allocations: 6.433 MB / 0.7572 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00943/0.6421, allocations: 2.696 MB / 0.7598 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.6421, allocations: 0 / 0.7598 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00668/0.6488, allocations: 1.827 MB / 0.7616 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6501, allocations: 133.1 kB / 0.7618 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04617/0.6962, allocations: 18.59 MB / 0.7799 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009752/0.6972, allocations: 1.211 MB / 0.7811 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007232/0.6979, allocations: 137.8 kB / 0.7812 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008932/0.6988, allocations: 0.5969 MB / 0.7818 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/0.6988, allocations: 0 / 0.7818 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09138/0.7902, allocations: 43.55 MB / 0.8243 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.53, allocations: 3.859 kB / 0.8243 GB, free: 12.89 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.917363988002762] Failed to read output from testmodel.py, exit status != 0: 15.652787872008048 15.6769741 15.312841017 Calling exit ...