Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001295/0.001295, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.448/1.448, 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.001551/0.001551, allocations: 208 kB / 306 MB, free: 4.324 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.5583/0.5583, allocations: 101.3 MB / 463.4 MB, free: 11.93 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.002534/0.002534, allocations: 79.88 kB / 0.6193 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1424, allocations: 78.59 MB / 0.6961 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2809/0.4233, allocations: 8.903 MB / 0.7048 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.4287, allocations: 2.904 MB / 0.7076 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.4299, allocations: 19.41 kB / 0.7076 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.4308, allocations: 347.1 kB / 0.708 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.4331, allocations: 1.103 MB / 0.709 GB, free: 400 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.4353, allocations: 0.9666 MB / 0.71 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.4385, allocations: 2.44 MB / 0.7124 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.4391, allocations: 347.8 kB / 0.7127 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.4406, allocations: 0.9964 MB / 0.7137 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.4422, allocations: 1.212 MB / 0.7149 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.4425, allocations: 204 kB / 0.715 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.4434, allocations: 495.2 kB / 0.7155 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.4439, allocations: 0.4895 MB / 0.716 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009995/0.4449, allocations: 0.989 MB / 0.717 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.4481, allocations: 2.603 MB / 0.7195 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4481, allocations: 0 / 0.7195 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4481, allocations: 0 / 0.7195 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.887e-05/0.4482, allocations: 0 / 0.7195 GB, free: 11.17 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.0146/0.4628, allocations: 3.838 MB / 0.7233 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4628, allocations: 9.531 kB / 0.7233 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.4631, allocations: 171.8 kB / 0.7234 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.4682, allocations: 0.7769 MB / 0.7242 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.471, allocations: 1.237 MB / 0.7254 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/0.4717, allocations: 474 kB / 0.7258 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.472, allocations: 128.3 kB / 0.726 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.4758, allocations: 1.553 MB / 0.7275 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.4758, allocations: 1.188 kB / 0.7275 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4759, allocations: 45.41 kB / 0.7275 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.476, allocations: 27.94 kB / 0.7276 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.4798, allocations: 1.457 MB / 0.729 GB, free: 6.715 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.011/0.4908, allocations: 5.447 MB / 0.7343 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.5001, allocations: 2.972 MB / 0.7372 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.5026, allocations: 0.8888 MB / 0.7381 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.5033, allocations: 0.7314 MB / 0.7388 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/0.506, allocations: 1.13 MB / 0.7399 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=134): time 3.537e-06/0.506, allocations: 0 / 0.7399 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=134): time 0.05086/0.5569, allocations: 11.05 MB / 0.7507 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.557, allocations: 122.4 kB / 0.7508 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.5597, allocations: 1.543 MB / 0.7523 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003533/0.5601, allocations: 57.7 kB / 0.7524 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006397/0.5607, allocations: 0.664 MB / 0.753 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/0.5613, allocations: 0.5074 MB / 0.7535 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007806/0.5621, allocations: 375.6 kB / 0.7539 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5623, allocations: 301.1 kB / 0.7541 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.5649, allocations: 1.058 MB / 0.7552 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/0.5678, allocations: 1.284 MB / 0.7564 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.573, allocations: 2.257 MB / 0.7586 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.573, allocations: 0 / 0.7586 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.0151/0.5881, allocations: 4.706 MB / 0.7632 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5881, allocations: 8 kB / 0.7632 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.5882, allocations: 4 kB / 0.7632 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.5992, allocations: 2.734 MB / 0.7659 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.601, allocations: 359.5 kB / 0.7663 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007237/0.6083, allocations: 2.726 MB / 0.7689 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.6111, allocations: 274.6 kB / 0.7692 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.6113, allocations: 79.41 kB / 0.7693 GB, free: 6.227 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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.0007696/0.6121, allocations: 325.5 kB / 0.7696 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.6124, allocations: 178.8 kB / 0.7697 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01816/0.6306, allocations: 4.915 MB / 0.7745 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6306, allocations: 16 kB / 0.7745 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6306, allocations: 3.984 kB / 0.7746 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.6307, allocations: 3.984 kB / 0.7746 GB, free: 0.7656 MB / 0.5294 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.02152/0.6522, allocations: 7.12 MB / 0.7815 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.6522, allocations: 4 kB / 0.7815 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6532, allocations: 171.7 kB / 0.7817 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008611/0.6618, allocations: 2.196 MB / 0.7838 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/0.662, allocations: 27.98 kB / 0.7838 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0292/0.6912, allocations: 10.24 MB / 0.7938 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.6912, allocations: 3.938 kB / 0.7939 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/0.7125, allocations: 6.191 MB / 0.7999 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.7133, allocations: 299.5 kB / 0.8002 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.7135, allocations: 23.98 kB / 0.8002 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.7153, allocations: 143.8 kB / 0.8003 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000918/0.7162, allocations: 269.4 kB / 0.8006 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.7163, allocations: 39.98 kB / 0.8006 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001741/0.7181, allocations: 1.032 MB / 0.8016 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7181, allocations: 0 / 0.8016 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001763/0.7198, allocations: 0.5698 MB / 0.8022 GB, free: 4.117 MB / 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,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 (92): * Single equations (assignments): 91 * 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.02217/0.742, allocations: 6.814 MB / 0.8089 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.7523, allocations: 2.898 MB / 0.8117 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7524, allocations: 0 / 0.8117 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007167/0.7595, allocations: 1.958 MB / 0.8136 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.761, allocations: 159.3 kB / 0.8138 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05621/0.8172, allocations: 20.95 MB / 0.8342 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009619/0.8181, allocations: 1.282 MB / 0.8355 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008011/0.8189, allocations: 162.9 kB / 0.8356 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.8202, allocations: 0.6789 MB / 0.8363 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.8202, allocations: 0 / 0.8363 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09596/0.9161, allocations: 47.24 MB / 0.8824 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.17, allocations: 21.67 kB / 0.8824 GB, free: 1.625 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.684395991032943] Failed to read output from testmodel.py, exit status != 0: 16.293388615129516 16.31413302 15.861882041 Calling exit ...