Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json 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.001756/0.001756, allocations: 108.9 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 249.8 MB, free: 9.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001599/0.001599, allocations: 218.8 kB / 306 MB, free: 4.301 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4551/0.4551, allocations: 79.72 MB / 441.8 MB, free: 140 kB / 302.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002417/0.002417, allocations: 95.84 kB / 0.5878 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1514, allocations: 73.25 MB / 0.6594 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.01052/0.162, allocations: 8.853 MB / 0.668 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.1685, allocations: 2.895 MB / 0.6708 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.17, allocations: 19.94 kB / 0.6709 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.1713, allocations: 349 kB / 0.6712 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.1752, allocations: 1.305 MB / 0.6725 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.1775, allocations: 0.8591 MB / 0.6733 GB, free: 9.898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.1814, allocations: 2.588 MB / 0.6758 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.1821, allocations: 358.2 kB / 0.6762 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1839, allocations: 1.004 MB / 0.6772 GB, free: 5.906 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.1857, allocations: 1.245 MB / 0.6784 GB, free: 4.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.1862, allocations: 208 kB / 0.6786 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1872, allocations: 479.7 kB / 0.679 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.1877, allocations: 0.5058 MB / 0.6795 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.1888, allocations: 0.9945 MB / 0.6805 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.1923, allocations: 2.615 MB / 0.683 GB, free: 15.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1923, allocations: 0 / 0.683 GB, free: 15.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1923, allocations: 0 / 0.683 GB, free: 15.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.753e-05/0.1924, allocations: 4 kB / 0.6831 GB, free: 15.85 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01631/0.2087, allocations: 4.134 MB / 0.6871 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2088, allocations: 8.031 kB / 0.6871 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.209, allocations: 168.7 kB / 0.6873 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.2143, allocations: 0.7832 MB / 0.688 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.2171, allocations: 1.232 MB / 0.6892 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005565/0.2177, allocations: 466.4 kB / 0.6897 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.218, allocations: 124 kB / 0.6898 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/0.2216, allocations: 1.544 MB / 0.6913 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2216, allocations: 0 / 0.6913 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.2218, allocations: 48 kB / 0.6913 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.2218, allocations: 28 kB / 0.6914 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/0.2256, allocations: 1.441 MB / 0.6928 GB, free: 5.633 MB / 494.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.0113/0.2369, allocations: 5.385 MB / 0.698 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2783/0.5151, allocations: 2.949 MB / 0.7009 GB, free: 35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.5176, allocations: 0.89 MB / 0.7018 GB, free: 34.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.5181, allocations: 0.7294 MB / 0.7025 GB, free: 34.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002837/0.5209, allocations: 1.138 MB / 0.7036 GB, free: 34.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.136e-06/0.5209, allocations: 0 / 0.7036 GB, free: 34.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.04586/0.5668, allocations: 10 MB / 0.7134 GB, free: 33.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.5668, allocations: 126.6 kB / 0.7135 GB, free: 33.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.5695, allocations: 1.544 MB / 0.715 GB, free: 32.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.57, allocations: 55.39 kB / 0.7151 GB, free: 32.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.5704, allocations: 0.6627 MB / 0.7157 GB, free: 32.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/0.571, allocations: 0.4981 MB / 0.7162 GB, free: 31.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/0.5717, allocations: 381.8 kB / 0.7166 GB, free: 31.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.5718, allocations: 305.1 kB / 0.7168 GB, free: 31.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.5743, allocations: 1.046 MB / 0.7179 GB, free: 30.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.5769, allocations: 1.271 MB / 0.7191 GB, free: 29.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004906/0.5818, allocations: 2.237 MB / 0.7213 GB, free: 28.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.5818, allocations: 5.156 kB / 0.7213 GB, free: 28.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01101/0.5928, allocations: 3.959 MB / 0.7252 GB, free: 26.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.5928, allocations: 7.219 kB / 0.7252 GB, free: 26.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.5928, allocations: 4.188 kB / 0.7252 GB, free: 26.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009441/0.6023, allocations: 2.679 MB / 0.7278 GB, free: 25.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.6041, allocations: 371 kB / 0.7281 GB, free: 25.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/0.6103, allocations: 2.687 MB / 0.7308 GB, free: 23.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.6129, allocations: 278.6 kB / 0.731 GB, free: 23.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.6132, allocations: 77.78 kB / 0.7311 GB, free: 23.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006699/0.6138, allocations: 327.5 kB / 0.7314 GB, free: 23.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.6142, allocations: 180.5 kB / 0.7316 GB, free: 23.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/0.6297, allocations: 4.872 MB / 0.7363 GB, free: 19.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.6297, allocations: 20.73 kB / 0.7364 GB, free: 19.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6297, allocations: 4 kB / 0.7364 GB, free: 19.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/0.6297, allocations: 3.984 kB / 0.7364 GB, free: 19.16 MB / 494.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.01885/0.6486, allocations: 7.12 MB / 0.7433 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.6486, allocations: 0 / 0.7433 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6497, allocations: 171.7 kB / 0.7435 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007542/0.6572, allocations: 2.141 MB / 0.7456 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/0.6576, allocations: 31.98 kB / 0.7456 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/0.6823, allocations: 10.07 MB / 0.7554 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6823, allocations: 0 / 0.7554 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02138/0.7036, allocations: 6.139 MB / 0.7614 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/0.7044, allocations: 303.5 kB / 0.7617 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.7048, allocations: 27.75 kB / 0.7618 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.7066, allocations: 150.2 kB / 0.7619 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009739/0.7076, allocations: 273.3 kB / 0.7622 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7077, allocations: 39.98 kB / 0.7622 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001843/0.7096, allocations: 1.032 MB / 0.7632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7096, allocations: 0 / 0.7632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001911/0.7115, allocations: 0.5736 MB / 0.7638 GB, free: 6.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.02147/0.733, allocations: 6.757 MB / 0.7704 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.7438, allocations: 2.875 MB / 0.7732 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.7438, allocations: 4 kB / 0.7732 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007368/0.7512, allocations: 1.912 MB / 0.775 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7527, allocations: 166.9 kB / 0.7752 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05224/0.8049, allocations: 20.2 MB / 0.7949 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009611/0.8059, allocations: 1.274 MB / 0.7962 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008165/0.8067, allocations: 170.8 kB / 0.7963 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.8078, allocations: 0.6711 MB / 0.797 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.8078, allocations: 0 / 0.797 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.9143, allocations: 47.33 MB / 0.8432 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.34, allocations: 23.66 kB / 0.8432 GB, free: 5.172 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.07647198700579] Failed to read output from testmodel.py, exit status != 0: 16.46898703101033 16.493959067 16.297464753 Calling exit ...