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.09097/0.09097, allocations: 12.36 MB / 31.22 MB, free: 6.41 MB / 26.18 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.001285/0.001285, allocations: 113 kB / 37.25 MB, free: 1.102 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.358/1.358, allocations: 207.7 MB / 250.9 MB, free: 7.273 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.001586/0.001586, allocations: 224.3 kB / 306.1 MB, free: 300 kB / 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.3236/0.3236, allocations: 79.73 MB / 441 MB, free: 12.27 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.004281/0.004281, allocations: 147.8 kB / 0.5875 GB, free: 9.332 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1269, allocations: 71.96 MB / 0.6578 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.235/0.3619, allocations: 7.092 MB / 0.6647 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.366, allocations: 2.383 MB / 0.667 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.3665, allocations: 13.25 kB / 0.6671 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.3672, allocations: 310.4 kB / 0.6674 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.3694, allocations: 1.22 MB / 0.6685 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3706, allocations: 0.673 MB / 0.6692 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3725, allocations: 2.3 MB / 0.6715 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.3729, allocations: 258.2 kB / 0.6717 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.3738, allocations: 0.8982 MB / 0.6726 GB, free: 3.199 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.3749, allocations: 1.021 MB / 0.6736 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.3752, allocations: 181.1 kB / 0.6737 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.3757, allocations: 346.1 kB / 0.6741 GB, free: 2.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.376, allocations: 454 kB / 0.6745 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.3766, allocations: 0.7263 MB / 0.6752 GB, free: 2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.3786, allocations: 2.248 MB / 0.6774 GB, free: 1.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3786, allocations: 0 / 0.6774 GB, free: 1.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3786, allocations: 7.875 kB / 0.6774 GB, free: 1.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.3786, allocations: 0.6094 kB / 0.6774 GB, free: 1.016 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.01261/0.3912, allocations: 3.853 MB / 0.6812 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3913, allocations: 10.28 kB / 0.6812 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.3915, allocations: 154.7 kB / 0.6813 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.3959, allocations: 0.7544 MB / 0.6821 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.3979, allocations: 1.043 MB / 0.6831 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/0.3984, allocations: 0.5631 MB / 0.6836 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.3986, allocations: 109 kB / 0.6837 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.4015, allocations: 1.39 MB / 0.6851 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.4015, allocations: 0 / 0.6851 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4016, allocations: 38.09 kB / 0.6851 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.4017, allocations: 27.03 kB / 0.6852 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.405, allocations: 1.296 MB / 0.6864 GB, free: 12.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.008186/0.4132, allocations: 3.724 MB / 0.6901 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/0.4211, allocations: 2.304 MB / 0.6923 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.4229, allocations: 0.8044 MB / 0.6931 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.423, allocations: 21.77 kB / 0.6931 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.4252, allocations: 1.043 MB / 0.6941 GB, free: 8.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/0.4252, allocations: 0 / 0.6941 GB, free: 8.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03988/0.4651, allocations: 9.55 MB / 0.7035 GB, free: 3.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.4652, allocations: 124.6 kB / 0.7036 GB, free: 3.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.4677, allocations: 1.399 MB / 0.705 GB, free: 2.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/0.4679, allocations: 50.33 kB / 0.705 GB, free: 2.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.4685, allocations: 0.5818 MB / 0.7056 GB, free: 1.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.4691, allocations: 469 kB / 0.706 GB, free: 1.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006607/0.4697, allocations: 334.4 kB / 0.7063 GB, free: 1.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4699, allocations: 301.1 kB / 0.7066 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.4721, allocations: 0.9669 MB / 0.7076 GB, free: 292 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.4746, allocations: 1.155 MB / 0.7087 GB, free: 15.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.4791, allocations: 2.054 MB / 0.7107 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4791, allocations: 0 / 0.7107 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01788/0.497, allocations: 5.363 MB / 0.7159 GB, free: 7.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.497, allocations: 4 kB / 0.7159 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.497, allocations: 4 kB / 0.7159 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.5073, allocations: 2.879 MB / 0.7188 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5087, allocations: 275.6 kB / 0.719 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.5161, allocations: 2.876 MB / 0.7218 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.5187, allocations: 254.8 kB / 0.7221 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.5189, allocations: 59.98 kB / 0.7221 GB, free: 1.242 MB / 494.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.0007247/0.5196, allocations: 297.5 kB / 0.7224 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.52, allocations: 166.9 kB / 0.7226 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.5364, allocations: 4.694 MB / 0.7272 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.5364, allocations: 12 kB / 0.7272 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5365, allocations: 0 / 0.7272 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/0.5365, allocations: 13.34 kB / 0.7272 GB, free: 12.04 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.01951/0.556, allocations: 6.076 MB / 0.7331 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.556, allocations: 0 / 0.7331 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.5569, allocations: 133.1 kB / 0.7332 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007718/0.5646, allocations: 2.147 MB / 0.7353 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/0.5649, allocations: 24 kB / 0.7354 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.5923, allocations: 9.72 MB / 0.7449 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.5923, allocations: 4 kB / 0.7449 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/0.6118, allocations: 5.839 MB / 0.7506 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.6125, allocations: 202.6 kB / 0.7508 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.6131, allocations: 35.38 kB / 0.7508 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.615, allocations: 135.8 kB / 0.7509 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009028/0.6159, allocations: 262.3 kB / 0.7512 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.6161, allocations: 35.98 kB / 0.7512 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001947/0.6181, allocations: 0.9457 MB / 0.7521 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6181, allocations: 0 / 0.7521 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001979/0.62, allocations: 0.5191 MB / 0.7526 GB, free: 1.754 MB / 0.5137 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.01969/0.6397, allocations: 6.437 MB / 0.7589 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009559/0.6493, allocations: 2.683 MB / 0.7615 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6493, allocations: 0 / 0.7615 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/0.6559, allocations: 1.834 MB / 0.7633 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.6576, allocations: 136.9 kB / 0.7635 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04828/0.7059, allocations: 18.59 MB / 0.7816 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.7067, allocations: 0.6253 MB / 0.7822 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006873/0.7074, allocations: 137.7 kB / 0.7824 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.7084, allocations: 0.5891 MB / 0.7829 GB, free: 2.328 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.7084, allocations: 4 kB / 0.7829 GB, free: 2.324 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09532/0.8037, allocations: 44.86 MB / 0.8267 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.67, allocations: 15.14 kB / 0.8268 GB, free: 5.445 MB / 0.5919 GB " [Timeout remaining time 645] (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.049181625712663] Failed to read output from testmodel.py, exit status != 0: 14.814408681821078 14.840480059 14.457038344 Calling exit ...