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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.488/1.488, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.00162/0.00162, allocations: 212.1 kB / 309.2 MB, free: 3.145 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.545/0.545, allocations: 101.3 MB / 467 MB, free: 10.31 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.002546/0.002546, allocations: 86.06 kB / 0.6245 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4033, allocations: 78.61 MB / 0.7012 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.00775/0.4111, allocations: 8.956 MB / 0.71 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.4161, allocations: 2.907 MB / 0.7128 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009214/0.417, allocations: 21.22 kB / 0.7128 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008105/0.4179, allocations: 352.7 kB / 0.7132 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.4203, allocations: 1.101 MB / 0.7142 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.4224, allocations: 0.9704 MB / 0.7152 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002891/0.4253, allocations: 2.47 MB / 0.7176 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.4259, allocations: 353.5 kB / 0.7179 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.4273, allocations: 1.003 MB / 0.7189 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.4288, allocations: 1.215 MB / 0.7201 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.4291, allocations: 203.8 kB / 0.7203 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/0.4299, allocations: 484 kB / 0.7208 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.4304, allocations: 0.4993 MB / 0.7212 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009423/0.4313, allocations: 0.9877 MB / 0.7222 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.4344, allocations: 2.599 MB / 0.7247 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4344, allocations: 0.9375 kB / 0.7247 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4344, allocations: 0 / 0.7247 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.708e-05/0.4344, allocations: 2.938 kB / 0.7248 GB, free: 10.45 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.01434/0.4488, allocations: 3.866 MB / 0.7285 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4488, allocations: 9.219 kB / 0.7285 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.4491, allocations: 168.2 kB / 0.7287 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.4541, allocations: 0.7805 MB / 0.7295 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4567, allocations: 1.165 MB / 0.7306 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006504/0.4574, allocations: 0.6375 MB / 0.7312 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.4576, allocations: 132.3 kB / 0.7313 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/0.461, allocations: 1.552 MB / 0.7329 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.461, allocations: 0 / 0.7329 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.4612, allocations: 46.34 kB / 0.7329 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4612, allocations: 25.56 kB / 0.7329 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.4646, allocations: 1.457 MB / 0.7343 GB, free: 5.449 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.0107/0.4753, allocations: 5.39 MB / 0.7396 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008659/0.484, allocations: 2.507 MB / 0.7421 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.4863, allocations: 0.885 MB / 0.7429 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.4866, allocations: 63.95 kB / 0.743 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.4891, allocations: 1.132 MB / 0.7441 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=134): time 3.066e-06/0.4891, allocations: 1.219 kB / 0.7441 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=134): time 0.04484/0.5339, allocations: 10.33 MB / 0.7542 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.534, allocations: 121.3 kB / 0.7543 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.5368, allocations: 1.538 MB / 0.7558 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004465/0.5373, allocations: 53.7 kB / 0.7559 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.5379, allocations: 0.664 MB / 0.7565 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006677/0.5386, allocations: 0.5035 MB / 0.757 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/0.5393, allocations: 383.6 kB / 0.7574 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5395, allocations: 301.1 kB / 0.7576 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.542, allocations: 1.054 MB / 0.7587 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.5447, allocations: 1.284 MB / 0.7599 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005088/0.5498, allocations: 2.257 MB / 0.7621 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.5498, allocations: 3.938 kB / 0.7621 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.0108/0.5606, allocations: 3.832 MB / 0.7659 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5607, allocations: 11.94 kB / 0.7659 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.5607, allocations: 7.984 kB / 0.7659 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.5712, allocations: 2.735 MB / 0.7686 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.5732, allocations: 359.5 kB / 0.7689 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00706/0.5802, allocations: 2.729 MB / 0.7716 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.5833, allocations: 282.6 kB / 0.7718 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.5835, allocations: 67.98 kB / 0.7719 GB, free: 7.391 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.0008517/0.5844, allocations: 321.5 kB / 0.7722 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.5848, allocations: 190.8 kB / 0.7724 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/0.611, allocations: 4.989 MB / 0.7773 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.611, allocations: 16 kB / 0.7773 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6111, allocations: 0 / 0.7773 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.6111, allocations: 7.969 kB / 0.7773 GB, free: 1.848 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.02542/0.6365, allocations: 7.134 MB / 0.7843 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.6365, allocations: 0 / 0.7843 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6376, allocations: 167.8 kB / 0.7844 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008296/0.6459, allocations: 2.196 MB / 0.7866 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/0.6462, allocations: 39.92 kB / 0.7866 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/0.6744, allocations: 10.11 MB / 0.7965 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6744, allocations: 0 / 0.7965 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/0.6945, allocations: 6.136 MB / 0.8025 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.6952, allocations: 218.4 kB / 0.8027 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/0.6955, allocations: 28 kB / 0.8027 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.6972, allocations: 143.8 kB / 0.8028 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008793/0.6981, allocations: 289.2 kB / 0.8031 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6982, allocations: 40 kB / 0.8032 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001811/0.7, allocations: 1.024 MB / 0.8042 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7, allocations: 4 kB / 0.8042 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001747/0.7018, allocations: 0.5697 MB / 0.8047 GB, free: 5.473 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,eSDC2A.simpleLagLimVar.state,eSDC2A.TransducerDelay.state,eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.imDerivativeLag.x,gENROE.PSIkq,gENROE.PSIkd,gENROE.Epq,gENROE.Epd,gENROE.delta,gENROE.w,gENCLS.eq,gENCLS.delta) * 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.02006/0.7218, allocations: 6.762 MB / 0.8113 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009995/0.7318, allocations: 2.904 MB / 0.8142 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7318, allocations: 1 kB / 0.8142 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007095/0.7389, allocations: 1.957 MB / 0.8161 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.7405, allocations: 165.7 kB / 0.8162 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04771/0.7882, allocations: 19.92 MB / 0.8357 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.7892, allocations: 1.282 MB / 0.8369 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008213/0.79, allocations: 162.9 kB / 0.8371 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.7911, allocations: 0.6828 MB / 0.8378 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.7911, allocations: 0 / 0.8378 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.8991, allocations: 48.6 MB / 0.8852 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/17.05, allocations: 6.125 kB / 0.8852 GB, free: 2.711 MB / 0.6387 GB " [Timeout remaining time 643] (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: 20.65695316500205] Failed to read output from testmodel.py, exit status != 0: 17.19694421099848 17.213051367 16.775496287 Calling exit ...