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.001439/0.001439, allocations: 108.4 kB / 16.45 MB, free: 6.453 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.494/1.494, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001578/0.001578, allocations: 212.1 kB / 306 MB, free: 4.293 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.5847/0.5847, allocations: 107.2 MB / 469.2 MB, free: 6.328 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.002788/0.002788, allocations: 83.88 kB / 0.628 GB, free: 7.797 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.415, allocations: 80.11 MB / 0.7063 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.009053/0.424, allocations: 9.68 MB / 0.7157 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006757/0.4308, allocations: 3.058 MB / 0.7187 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.4323, allocations: 20 kB / 0.7187 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.4335, allocations: 385.1 kB / 0.7191 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.4375, allocations: 1.273 MB / 0.7203 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.4398, allocations: 0.9562 MB / 0.7213 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003835/0.4436, allocations: 2.838 MB / 0.724 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000771/0.4444, allocations: 433.8 kB / 0.7244 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.4462, allocations: 1.144 MB / 0.7256 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.4485, allocations: 1.371 MB / 0.7269 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.4498, allocations: 245.3 kB / 0.7271 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.4517, allocations: 0.4919 MB / 0.7276 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.4526, allocations: 0.5823 MB / 0.7282 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.4544, allocations: 1.132 MB / 0.7293 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.4588, allocations: 3.003 MB / 0.7322 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4588, allocations: 0 / 0.7322 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4588, allocations: 1.281 kB / 0.7322 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.235e-05/0.4589, allocations: 0 / 0.7322 GB, free: 4.199 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.01587/0.4748, allocations: 4.145 MB / 0.7363 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4748, allocations: 9.094 kB / 0.7363 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003013/0.4751, allocations: 196.9 kB / 0.7365 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.4805, allocations: 0.8146 MB / 0.7373 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.4836, allocations: 1.402 MB / 0.7386 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/0.4843, allocations: 0.5624 MB / 0.7392 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/0.4847, allocations: 144.6 kB / 0.7393 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.4888, allocations: 1.766 MB / 0.741 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4889, allocations: 0 / 0.741 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.489, allocations: 50.91 kB / 0.7411 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.489, allocations: 30.09 kB / 0.7411 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.4933, allocations: 1.653 MB / 0.7427 GB, free: 13.6 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.01293/0.5062, allocations: 6.056 MB / 0.7486 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.5166, allocations: 3.215 MB / 0.7518 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/0.5194, allocations: 0.9783 MB / 0.7527 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.5201, allocations: 0.7339 MB / 0.7535 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00312/0.5232, allocations: 1.274 MB / 0.7547 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.316e-06/0.5232, allocations: 0 / 0.7547 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.0509/0.5741, allocations: 11.11 MB / 0.7655 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.5742, allocations: 124.1 kB / 0.7657 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.578, allocations: 1.704 MB / 0.7673 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005086/0.5785, allocations: 57.77 kB / 0.7674 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/0.5793, allocations: 0.755 MB / 0.7681 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/0.5802, allocations: 0.5732 MB / 0.7687 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008653/0.5811, allocations: 400.1 kB / 0.7691 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5812, allocations: 301.1 kB / 0.7694 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.5843, allocations: 1.144 MB / 0.7705 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.5877, allocations: 1.378 MB / 0.7718 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006362/0.5941, allocations: 2.424 MB / 0.7742 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5941, allocations: 0 / 0.7742 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02136/0.6154, allocations: 5.902 MB / 0.7799 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.6155, allocations: 4 kB / 0.7799 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.6155, allocations: 4 kB / 0.78 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.627, allocations: 2.856 MB / 0.7827 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.6291, allocations: 379.5 kB / 0.7831 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.6405, allocations: 5.175 MB / 0.7882 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/0.6437, allocations: 318.5 kB / 0.7885 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.644, allocations: 79.97 kB / 0.7885 GB, free: 3.168 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.0009231/0.6449, allocations: 361.5 kB / 0.7889 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/0.6454, allocations: 206.7 kB / 0.7891 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/0.6653, allocations: 5.253 MB / 0.7942 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.6653, allocations: 19.94 kB / 0.7942 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6653, allocations: 0 / 0.7942 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.6653, allocations: 11.97 kB / 0.7942 GB, free: 13.3 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.0248/0.6901, allocations: 7.724 MB / 0.8018 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/0.6902, allocations: 4 kB / 0.8018 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.6917, allocations: 195.7 kB / 0.802 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009117/0.7008, allocations: 2.26 MB / 0.8042 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/0.7012, allocations: 39.92 kB / 0.8042 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03252/0.7338, allocations: 11.98 MB / 0.8159 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7338, allocations: 4.031 kB / 0.8159 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02344/0.7572, allocations: 6.602 MB / 0.8224 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/0.7581, allocations: 323.5 kB / 0.8227 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/0.7588, allocations: 28 kB / 0.8227 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/0.7613, allocations: 183.8 kB / 0.8229 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/0.7625, allocations: 301.3 kB / 0.8232 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/0.7627, allocations: 48.12 kB / 0.8232 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002587/0.7653, allocations: 1.153 MB / 0.8243 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7653, allocations: 7.938 kB / 0.8243 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002451/0.7677, allocations: 0.6205 MB / 0.825 GB, free: 13.36 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.02364/0.7914, allocations: 7.227 MB / 0.832 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.8032, allocations: 3.218 MB / 0.8352 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8032, allocations: 0 / 0.8352 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008259/0.8115, allocations: 2.194 MB / 0.8373 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.8141, allocations: 176.7 kB / 0.8375 GB, free: 464 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0647/0.8788, allocations: 22.38 MB / 0.8593 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.8802, allocations: 1.386 MB / 0.8607 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009857/0.8812, allocations: 188.1 kB / 0.8609 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.8826, allocations: 0.7765 MB / 0.8616 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/0.8826, allocations: 0 / 0.8616 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.9945, allocations: 53.11 MB / 0.9135 GB, free: 2.293 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.88, allocations: 6.281 kB / 0.9135 GB, free: 2.293 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: 21.506396853132173] Failed to read output from testmodel.py, exit status != 0: 17.00708691799082 17.032811254 16.56915076 Calling exit ...