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.001347/0.001347, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.457/1.457, 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.001759/0.001759, allocations: 213.2 kB / 306 MB, free: 4.332 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.5852/0.5852, allocations: 107.2 MB / 469.2 MB, free: 6.352 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.002608/0.002608, allocations: 87.86 kB / 0.628 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4147, allocations: 80.1 MB / 0.7062 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01042/0.4252, allocations: 9.673 MB / 0.7157 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007129/0.4323, allocations: 3.063 MB / 0.7187 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.4338, allocations: 21.53 kB / 0.7187 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4349, allocations: 384.3 kB / 0.7191 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.4385, allocations: 1.28 MB / 0.7203 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.4409, allocations: 0.9543 MB / 0.7213 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.4448, allocations: 2.832 MB / 0.724 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008151/0.4456, allocations: 434.3 kB / 0.7244 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.4474, allocations: 1.146 MB / 0.7256 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.4495, allocations: 1.363 MB / 0.7269 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005214/0.45, allocations: 245.8 kB / 0.7271 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.4511, allocations: 0.4956 MB / 0.7276 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.4518, allocations: 0.5899 MB / 0.7282 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.4536, allocations: 1.124 MB / 0.7293 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.4581, allocations: 3.006 MB / 0.7322 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4581, allocations: 3.938 kB / 0.7322 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4581, allocations: 0 / 0.7322 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.796e-05/0.4582, allocations: 1.312 kB / 0.7322 GB, free: 4.258 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.01602/0.4742, allocations: 4.141 MB / 0.7363 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4742, allocations: 10.25 kB / 0.7363 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003197/0.4745, allocations: 192.9 kB / 0.7365 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/0.4799, allocations: 0.8107 MB / 0.7372 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.4839, allocations: 1.405 MB / 0.7386 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008461/0.4847, allocations: 0.5676 MB / 0.7392 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/0.4853, allocations: 144.1 kB / 0.7393 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.4902, allocations: 1.764 MB / 0.741 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.4902, allocations: 1.25 kB / 0.741 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.4904, allocations: 49.81 kB / 0.7411 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.4904, allocations: 31.12 kB / 0.7411 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004425/0.4948, allocations: 1.656 MB / 0.7427 GB, free: 13.66 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.01302/0.5079, allocations: 6.048 MB / 0.7486 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5183, allocations: 3.226 MB / 0.7518 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.5212, allocations: 0.9776 MB / 0.7527 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007538/0.5219, allocations: 0.7292 MB / 0.7535 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00349/0.5254, allocations: 1.276 MB / 0.7547 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 4.177e-06/0.5254, allocations: 0 / 0.7547 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.05198/0.5774, allocations: 11.1 MB / 0.7655 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.5775, allocations: 128.1 kB / 0.7657 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.581, allocations: 1.704 MB / 0.7673 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004711/0.5815, allocations: 61.69 kB / 0.7674 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.5822, allocations: 0.7472 MB / 0.7681 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/0.5832, allocations: 0.581 MB / 0.7687 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009123/0.5841, allocations: 400.1 kB / 0.7691 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5842, allocations: 301.1 kB / 0.7694 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.5873, allocations: 1.137 MB / 0.7705 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.5906, allocations: 1.378 MB / 0.7718 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/0.5974, allocations: 2.416 MB / 0.7742 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.5974, allocations: 4 kB / 0.7742 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02194/0.6193, allocations: 5.899 MB / 0.7799 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6194, allocations: 12.06 kB / 0.7799 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.6194, allocations: 4 kB / 0.7799 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.6308, allocations: 2.856 MB / 0.7827 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.6328, allocations: 371.5 kB / 0.7831 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.6441, allocations: 5.182 MB / 0.7882 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.6476, allocations: 322.5 kB / 0.7885 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.648, allocations: 75.97 kB / 0.7885 GB, free: 3.258 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.001064/0.6491, allocations: 365.4 kB / 0.7889 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/0.6497, allocations: 198.7 kB / 0.7891 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02011/0.6698, allocations: 5.25 MB / 0.7942 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.6699, allocations: 23.94 kB / 0.7942 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6699, allocations: 0 / 0.7942 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/0.6699, allocations: 16.05 kB / 0.7942 GB, free: 13.38 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.02513/0.695, allocations: 7.724 MB / 0.8018 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.6951, allocations: 4 kB / 0.8018 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.6964, allocations: 195.7 kB / 0.802 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009313/0.7058, allocations: 2.256 MB / 0.8042 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/0.7062, allocations: 39.92 kB / 0.8042 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03353/0.7397, allocations: 11.99 MB / 0.8159 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7397, allocations: 0 / 0.8159 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/0.7635, allocations: 6.602 MB / 0.8224 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009456/0.7645, allocations: 315.5 kB / 0.8227 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/0.765, allocations: 32 kB / 0.8227 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.7672, allocations: 179.8 kB / 0.8229 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/0.7684, allocations: 313.2 kB / 0.8232 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.7685, allocations: 39.98 kB / 0.8232 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002274/0.7708, allocations: 1.153 MB / 0.8243 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7708, allocations: 0 / 0.8243 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00225/0.773, allocations: 0.6243 MB / 0.8249 GB, free: 13.45 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.02362/0.7966, allocations: 7.219 MB / 0.832 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01165/0.8083, allocations: 3.23 MB / 0.8351 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8083, allocations: 96 / 0.8351 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007893/0.8162, allocations: 2.206 MB / 0.8373 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.8177, allocations: 173.2 kB / 0.8375 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05917/0.8769, allocations: 22.38 MB / 0.8593 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.8782, allocations: 1.386 MB / 0.8607 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001042/0.8792, allocations: 196 kB / 0.8609 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.8805, allocations: 0.7687 MB / 0.8616 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.8805, allocations: 0 / 0.8616 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/0.9964, allocations: 53.1 MB / 0.9135 GB, free: 2.391 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.94, allocations: 12.05 kB / 0.9135 GB, free: 2.379 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.89984789886512] Failed to read output from testmodel.py, exit status != 0: 17.067606213036925 17.092911386 16.630077842 Calling exit ...