Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.001637/0.001637, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.479/1.479, allocations: 230.6 MB / 252.7 MB, free: 8.059 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.001604/0.001604, allocations: 218.4 kB / 309.2 MB, free: 2.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5796/0.5796, allocations: 107.3 MB / 473 MB, free: 4.41 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.002612/0.002612, allocations: 87.86 kB / 0.6333 GB, free: 4.926 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3822, allocations: 80.17 MB / 0.7115 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007714/0.3899, allocations: 7.691 MB / 0.7191 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00585/0.3958, allocations: 2.696 MB / 0.7217 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008079/0.3966, allocations: 19.22 kB / 0.7217 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009231/0.3975, allocations: 339.1 kB / 0.722 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.4002, allocations: 1.073 MB / 0.7231 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.4023, allocations: 0.8817 MB / 0.7239 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.4053, allocations: 2.4 MB / 0.7263 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.4058, allocations: 307.2 kB / 0.7266 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.4072, allocations: 0.9803 MB / 0.7275 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.4087, allocations: 1.085 MB / 0.7286 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.409, allocations: 199.3 kB / 0.7288 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008753/0.4099, allocations: 415.9 kB / 0.7292 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000544/0.4105, allocations: 497.2 kB / 0.7297 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.4115, allocations: 0.7979 MB / 0.7304 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00312/0.4146, allocations: 2.559 MB / 0.7329 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4146, allocations: 7.938 kB / 0.7329 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4146, allocations: 0 / 0.7329 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.62e-05/0.4146, allocations: 1.469 kB / 0.7329 GB, free: 7.316 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.01334/0.428, allocations: 3.9 MB / 0.7367 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.428, allocations: 9.719 kB / 0.7368 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.4283, allocations: 164 kB / 0.7369 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.4331, allocations: 0.7813 MB / 0.7377 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.4354, allocations: 1.143 MB / 0.7388 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006476/0.4361, allocations: 0.6318 MB / 0.7394 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.4363, allocations: 120.6 kB / 0.7395 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.4396, allocations: 1.5 MB / 0.741 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.4396, allocations: 1.281 kB / 0.741 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4397, allocations: 44.94 kB / 0.741 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4398, allocations: 28.31 kB / 0.7411 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.4431, allocations: 1.404 MB / 0.7424 GB, free: 1.32 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 preOpt removeSimpleEquations (simulation): time 0.009584/0.4527, allocations: 4.163 MB / 0.7465 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008441/0.4611, allocations: 2.432 MB / 0.7489 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.4632, allocations: 0.8576 MB / 0.7497 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.4635, allocations: 59.02 kB / 0.7498 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002334/0.4658, allocations: 1.095 MB / 0.7508 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=132): time 3.166e-06/0.4658, allocations: 1.125 kB / 0.7508 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=132): time 0.04254/0.5083, allocations: 9.663 MB / 0.7603 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.5084, allocations: 116.1 kB / 0.7604 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.5115, allocations: 1.539 MB / 0.7619 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.5118, allocations: 49.7 kB / 0.7619 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.5126, allocations: 0.6601 MB / 0.7626 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008241/0.5134, allocations: 0.5035 MB / 0.7631 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.5144, allocations: 379.6 kB / 0.7634 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5146, allocations: 301.1 kB / 0.7637 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.5172, allocations: 1.039 MB / 0.7647 GB, free: 300 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.5201, allocations: 1.271 MB / 0.766 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005289/0.5254, allocations: 2.213 MB / 0.7681 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.5254, allocations: 7.938 kB / 0.7681 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01986/0.5452, allocations: 5.555 MB / 0.7736 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5453, allocations: 8 kB / 0.7736 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.5453, allocations: 4 kB / 0.7736 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.5562, allocations: 2.727 MB / 0.7762 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.558, allocations: 355.5 kB / 0.7766 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/0.5652, allocations: 2.713 MB / 0.7792 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.568, allocations: 274.6 kB / 0.7795 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.5682, allocations: 67.98 kB / 0.7796 GB, free: 0.9336 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.0008818/0.5691, allocations: 325.4 kB / 0.7799 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/0.5697, allocations: 182.8 kB / 0.78 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/0.5874, allocations: 4.848 MB / 0.7848 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.5874, allocations: 16 kB / 0.7848 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5874, allocations: 4 kB / 0.7848 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.5875, allocations: 3.984 kB / 0.7848 GB, free: 11.53 MB / 0.545 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.02109/0.6086, allocations: 6.349 MB / 0.791 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6086, allocations: 0 / 0.791 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6096, allocations: 155.7 kB / 0.7911 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008397/0.618, allocations: 2.196 MB / 0.7933 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.6183, allocations: 28 kB / 0.7933 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02876/0.647, allocations: 9.887 MB / 0.803 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.647, allocations: 3.984 kB / 0.803 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/0.6677, allocations: 6.027 MB / 0.8089 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007768/0.6685, allocations: 222.4 kB / 0.8091 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/0.669, allocations: 32 kB / 0.8091 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.671, allocations: 139.8 kB / 0.8092 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008635/0.6719, allocations: 273.2 kB / 0.8095 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.672, allocations: 35.98 kB / 0.8095 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001995/0.674, allocations: 1.024 MB / 0.8105 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.674, allocations: 3.938 kB / 0.8105 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001838/0.6758, allocations: 0.5698 MB / 0.8111 GB, free: 396 kB / 0.5606 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * 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 (89): * Single equations (assignments): 88 * 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.02088/0.6967, allocations: 6.657 MB / 0.8176 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009955/0.7067, allocations: 2.861 MB / 0.8204 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7067, allocations: 0 / 0.8204 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006835/0.7135, allocations: 1.915 MB / 0.8223 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.715, allocations: 165.5 kB / 0.8224 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05566/0.7707, allocations: 21.01 MB / 0.8429 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.7716, allocations: 0.688 MB / 0.8436 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007896/0.7724, allocations: 158.8 kB / 0.8438 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.7736, allocations: 0.6632 MB / 0.8444 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.7736, allocations: 0 / 0.8444 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/0.8733, allocations: 48.11 MB / 0.8914 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.52, allocations: 4.062 kB / 0.8914 GB, free: 13.87 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.21153847919777] Failed to read output from testmodel.py, exit status != 0: 15.681070113088936 15.709636916 15.290127966 Calling exit ...