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.001321/0.001321, allocations: 78.42 kB / 19 MB, free: 2.867 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.395/1.395, allocations: 177.2 MB / 199.3 MB, free: 9.461 MB / 190.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.001714/0.001714, allocations: 161.4 kB / 255.8 MB, free: 0.9062 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.4311/0.4311, allocations: 80.32 MB / 392.5 MB, free: 8.391 MB / 318.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.00276/0.00276, allocations: 86.72 kB / 0.5546 GB, free: 4.566 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4251, allocations: 80.12 MB / 0.6329 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.009124/0.4342, allocations: 8.357 MB / 0.641 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.4417, allocations: 2.939 MB / 0.6439 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.4439, allocations: 22.62 kB / 0.6439 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.4452, allocations: 384.6 kB / 0.6443 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.4496, allocations: 1.243 MB / 0.6455 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.4523, allocations: 0.9735 MB / 0.6464 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004891/0.4572, allocations: 2.876 MB / 0.6493 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009575/0.4581, allocations: 406.1 kB / 0.6496 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.4618, allocations: 1.661 MB / 0.6513 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.4642, allocations: 1.237 MB / 0.6525 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.4647, allocations: 248.8 kB / 0.6527 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.4657, allocations: 447.5 kB / 0.6531 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005542/0.4663, allocations: 0.5908 MB / 0.6537 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.4673, allocations: 0.9145 MB / 0.6546 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.4711, allocations: 3.02 MB / 0.6576 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4711, allocations: 0 / 0.6576 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4711, allocations: 0 / 0.6576 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.4711, allocations: 1.125 kB / 0.6576 GB, free: 4.883 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.01526/0.4864, allocations: 4.522 MB / 0.662 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4864, allocations: 9.906 kB / 0.662 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/0.4867, allocations: 201.6 kB / 0.6622 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.4916, allocations: 0.8108 MB / 0.663 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.4945, allocations: 1.33 MB / 0.6643 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009687/0.4955, allocations: 0.8956 MB / 0.6651 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/0.4959, allocations: 140.4 kB / 0.6653 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.4999, allocations: 1.769 MB / 0.667 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5, allocations: 1.469 kB / 0.667 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.5001, allocations: 50.78 kB / 0.667 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.5002, allocations: 34.41 kB / 0.6671 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.5041, allocations: 1.637 MB / 0.6687 GB, free: 13.73 MB / 0.5138 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.01205/0.5162, allocations: 4.805 MB / 0.6734 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009579/0.5258, allocations: 2.764 MB / 0.6761 GB, free: 9.102 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.5284, allocations: 0.9702 MB / 0.677 GB, free: 8.602 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.5288, allocations: 64.8 kB / 0.6771 GB, free: 8.574 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002891/0.5317, allocations: 1.264 MB / 0.6783 GB, free: 7.828 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=155): time 3.848e-06/0.5317, allocations: 0 / 0.6783 GB, free: 7.828 MB / 0.5138 GB Notification: Performance of matching and sorting (n=155): time 0.04848/0.5801, allocations: 10.95 MB / 0.689 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.5802, allocations: 120.1 kB / 0.6891 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.5845, allocations: 1.715 MB / 0.6908 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006074/0.5851, allocations: 61.7 kB / 0.6909 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000855/0.5859, allocations: 0.7433 MB / 0.6916 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.587, allocations: 0.5849 MB / 0.6922 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/0.5878, allocations: 400.1 kB / 0.6925 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.588, allocations: 301.1 kB / 0.6928 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.5907, allocations: 1.14 MB / 0.6939 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/0.5938, allocations: 1.378 MB / 0.6953 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.5999, allocations: 2.416 MB / 0.6976 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.5999, allocations: 0 / 0.6976 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02091/0.6208, allocations: 5.898 MB / 0.7034 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.6208, allocations: 4.406 kB / 0.7034 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.6208, allocations: 11.94 kB / 0.7034 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.6313, allocations: 2.854 MB / 0.7062 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.6333, allocations: 367.5 kB / 0.7066 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.6436, allocations: 5.062 MB / 0.7115 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.6467, allocations: 318.6 kB / 0.7118 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.6469, allocations: 79.98 kB / 0.7119 GB, free: 6.07 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.0008817/0.6478, allocations: 367.8 kB / 0.7122 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.6483, allocations: 202.7 kB / 0.7124 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/0.6661, allocations: 5.257 MB / 0.7176 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.6661, allocations: 16 kB / 0.7176 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6662, allocations: 3.938 kB / 0.7176 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-05/0.6662, allocations: 7.969 kB / 0.7176 GB, free: 192 kB / 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.02218/0.6884, allocations: 6.966 MB / 0.7244 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.6884, allocations: 4 kB / 0.7244 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.6898, allocations: 199.7 kB / 0.7246 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008274/0.698, allocations: 2.258 MB / 0.7268 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/0.6983, allocations: 31.98 kB / 0.7268 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/0.7278, allocations: 11.53 MB / 0.7381 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7278, allocations: 0 / 0.7381 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/0.7492, allocations: 6.595 MB / 0.7445 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.75, allocations: 254.4 kB / 0.7448 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.7504, allocations: 28 kB / 0.7448 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.7524, allocations: 183.8 kB / 0.745 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009956/0.7534, allocations: 313.2 kB / 0.7453 GB, free: 3.504 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.7535, allocations: 43.98 kB / 0.7453 GB, free: 3.461 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00203/0.7555, allocations: 1.153 MB / 0.7464 GB, free: 2.316 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.7555, allocations: 0 / 0.7464 GB, free: 2.316 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001958/0.7575, allocations: 0.6243 MB / 0.747 GB, free: 1.691 MB / 0.5763 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.02147/0.7789, allocations: 7.223 MB / 0.7541 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.7893, allocations: 3.227 MB / 0.7572 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7893, allocations: 4 kB / 0.7572 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006987/0.7963, allocations: 2.187 MB / 0.7594 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.7978, allocations: 183.7 kB / 0.7596 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05718/0.855, allocations: 22.72 MB / 0.7817 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/0.8559, allocations: 0.7983 MB / 0.7825 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001015/0.8569, allocations: 188 kB / 0.7827 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.8581, allocations: 0.7737 MB / 0.7834 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of SimCode: time 1.212e-06/0.8581, allocations: 0 / 0.7834 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.9669, allocations: 54.84 MB / 0.837 GB, free: 5.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.79, allocations: 6.75 kB / 0.837 GB, free: 5.188 MB / 0.67 GB " [Timeout remaining time 643] (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: 20.964175056200475] Failed to read output from testmodel.py, exit status != 0: 16.9575391439721 16.980903755 16.506484075 Calling exit ...