Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.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.001662/0.001662, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.568/1.568, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001994/0.001994, allocations: 217.6 kB / 309.2 MB, free: 3.156 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5952/0.5952, allocations: 107.2 MB / 472.8 MB, free: 4.781 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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.UEL.MNLEX2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",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.002653/0.002653, allocations: 79.88 kB / 0.6331 GB, free: 5.242 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4741, allocations: 80.15 MB / 0.7114 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.009301/0.4834, allocations: 9.7 MB / 0.7209 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007183/0.4906, allocations: 3.069 MB / 0.7239 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.4923, allocations: 21.62 kB / 0.7239 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.4936, allocations: 387.8 kB / 0.7243 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.4974, allocations: 1.277 MB / 0.7255 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.4999, allocations: 0.9725 MB / 0.7265 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004261/0.5041, allocations: 2.888 MB / 0.7293 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008263/0.5049, allocations: 442 kB / 0.7297 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.5069, allocations: 1.145 MB / 0.7308 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.5092, allocations: 1.367 MB / 0.7322 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005976/0.5098, allocations: 248.2 kB / 0.7324 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5109, allocations: 0.4953 MB / 0.7329 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.5116, allocations: 0.5835 MB / 0.7335 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.513, allocations: 1.134 MB / 0.7346 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.5172, allocations: 3 MB / 0.7375 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5172, allocations: 0 / 0.7375 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5172, allocations: 1.062 kB / 0.7375 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.487e-05/0.5173, allocations: 0 / 0.7375 GB, free: 3.469 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.01569/0.5329, allocations: 4.527 MB / 0.7419 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.533, allocations: 12.66 kB / 0.7419 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002828/0.5333, allocations: 197.5 kB / 0.7421 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.5382, allocations: 0.8113 MB / 0.7429 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.5414, allocations: 1.321 MB / 0.7442 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008955/0.5423, allocations: 0.899 MB / 0.7451 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.5427, allocations: 140.5 kB / 0.7452 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.5466, allocations: 1.765 MB / 0.7469 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.5466, allocations: 3.938 kB / 0.7469 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.5468, allocations: 51.53 kB / 0.747 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5468, allocations: 29.84 kB / 0.747 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.5508, allocations: 1.66 MB / 0.7486 GB, free: 12.32 MB / 0.5137 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.01367/0.5645, allocations: 5.981 MB / 0.7545 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5748, allocations: 2.771 MB / 0.7572 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/0.5775, allocations: 0.9763 MB / 0.7581 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.5779, allocations: 56.22 kB / 0.7582 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002964/0.5808, allocations: 1.281 MB / 0.7595 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.587e-06/0.5808, allocations: 4 kB / 0.7595 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.04711/0.6279, allocations: 10.94 MB / 0.7701 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.628, allocations: 120.1 kB / 0.7703 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.6312, allocations: 1.7 MB / 0.7719 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003764/0.6316, allocations: 65.69 kB / 0.772 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.6323, allocations: 0.755 MB / 0.7727 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/0.6331, allocations: 0.5694 MB / 0.7733 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007969/0.6339, allocations: 404.1 kB / 0.7737 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.634, allocations: 301.1 kB / 0.7739 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.6368, allocations: 1.137 MB / 0.7751 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.6399, allocations: 1.378 MB / 0.7764 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/0.6457, allocations: 2.42 MB / 0.7788 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.6457, allocations: 0 / 0.7788 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01951/0.6652, allocations: 5.91 MB / 0.7845 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.6653, allocations: 4 kB / 0.7845 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6653, allocations: 4 kB / 0.7845 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.6758, allocations: 2.846 MB / 0.7873 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.6779, allocations: 379.5 kB / 0.7877 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.6885, allocations: 5.066 MB / 0.7926 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.6916, allocations: 322.5 kB / 0.7929 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.6919, allocations: 79.97 kB / 0.793 GB, free: 3.004 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,eXAC1_1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (30,26), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008784/0.6927, allocations: 371.9 kB / 0.7934 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.6932, allocations: 202.7 kB / 0.7936 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/0.7115, allocations: 5.242 MB / 0.7987 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.7116, allocations: 19.94 kB / 0.7987 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7116, allocations: 3.984 kB / 0.7987 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.7116, allocations: 3.984 kB / 0.7987 GB, free: 13.14 MB / 0.5606 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.02213/0.7337, allocations: 7.7 MB / 0.8062 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.7338, allocations: 4 kB / 0.8062 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.7351, allocations: 187.8 kB / 0.8064 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008475/0.7436, allocations: 2.267 MB / 0.8086 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/0.744, allocations: 47.92 kB / 0.8087 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0304/0.7744, allocations: 11.77 MB / 0.8202 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7744, allocations: 0 / 0.8202 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02186/0.7962, allocations: 6.602 MB / 0.8266 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.7971, allocations: 250.4 kB / 0.8269 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.7975, allocations: 28 kB / 0.8269 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.7995, allocations: 183.8 kB / 0.8271 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009441/0.8004, allocations: 317.1 kB / 0.8274 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.8006, allocations: 47.98 kB / 0.8274 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002168/0.8027, allocations: 1.149 MB / 0.8285 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8027, allocations: 0 / 0.8285 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002086/0.8048, allocations: 0.6283 MB / 0.8291 GB, free: 13.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eXAC1_1.imLimitedSimpleLag.state,eXAC1_1.imDerivativeLag.x,eXAC1_1.leadLag.TF.x_scaled[1],eXAC1_1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1_1.TransducerDelay.state,mNLEX2.simpleLagLim.state,mNLEX2.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02209/0.8269, allocations: 7.211 MB / 0.8362 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.8375, allocations: 3.227 MB / 0.8393 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8375, allocations: 0 / 0.8393 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007376/0.8449, allocations: 2.202 MB / 0.8415 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.8469, allocations: 180.1 kB / 0.8417 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05836/0.9052, allocations: 22.39 MB / 0.8635 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.9064, allocations: 1.382 MB / 0.8649 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009682/0.9074, allocations: 188.1 kB / 0.8651 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.9087, allocations: 0.7726 MB / 0.8658 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.272e-06/0.9087, allocations: 0 / 0.8658 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/1.03, allocations: 54.61 MB / 0.9191 GB, free: 1.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.98, allocations: 8.922 kB / 0.9191 GB, free: 1.016 MB / 0.67 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.740641912911087] Failed to read output from testmodel.py, exit status != 0: 18.132541364058852 18.158412285 17.636272859 Calling exit ...