Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001711/0.001711, allocations: 103 kB / 16.45 MB, free: 6.5 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.5/1.5, allocations: 230.6 MB / 249.8 MB, free: 9.242 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.001579/0.001579, allocations: 217.1 kB / 306 MB, free: 4.316 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.571/0.571, allocations: 101.3 MB / 463.4 MB, free: 11.95 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.UEL.MNLEX2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2,fileNamePrefix="OpenIPSL_dev_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.002613/0.002613, allocations: 89.73 kB / 0.6193 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1446, allocations: 78.57 MB / 0.6961 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.2818/0.4264, allocations: 9.672 MB / 0.7055 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.432, allocations: 3.056 MB / 0.7085 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.4334, allocations: 22.41 kB / 0.7085 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.4344, allocations: 388.4 kB / 0.7089 GB, free: 420 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.4376, allocations: 1.278 MB / 0.7101 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.4397, allocations: 0.9441 MB / 0.7111 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.4433, allocations: 2.829 MB / 0.7138 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007111/0.444, allocations: 441.8 kB / 0.7142 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.4456, allocations: 1.151 MB / 0.7154 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.4475, allocations: 1.366 MB / 0.7167 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003469/0.4479, allocations: 245.9 kB / 0.7169 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.4488, allocations: 0.495 MB / 0.7174 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005678/0.4494, allocations: 0.58 MB / 0.718 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.4505, allocations: 1.131 MB / 0.7191 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.4545, allocations: 2.999 MB / 0.722 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4545, allocations: 0.75 kB / 0.722 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4545, allocations: 0 / 0.722 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.485e-05/0.4545, allocations: 5.406 kB / 0.722 GB, free: 9.629 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.01585/0.4704, allocations: 4.138 MB / 0.7261 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4704, allocations: 9.312 kB / 0.7261 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.4708, allocations: 200.6 kB / 0.7263 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.476, allocations: 0.8127 MB / 0.7271 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.4789, allocations: 1.398 MB / 0.7284 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006873/0.4796, allocations: 0.5677 MB / 0.729 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.4799, allocations: 144.1 kB / 0.7291 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.4839, allocations: 1.768 MB / 0.7308 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.4839, allocations: 1.094 kB / 0.7308 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.484, allocations: 54.41 kB / 0.7309 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.4841, allocations: 30.41 kB / 0.7309 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.4881, allocations: 1.648 MB / 0.7325 GB, free: 4.066 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.0117/0.4998, allocations: 6.054 MB / 0.7384 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5107, allocations: 3.219 MB / 0.7416 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/0.5138, allocations: 0.9794 MB / 0.7425 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.5145, allocations: 0.7318 MB / 0.7433 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002895/0.5174, allocations: 1.273 MB / 0.7445 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.016e-06/0.5174, allocations: 0 / 0.7445 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.05151/0.5689, allocations: 11.12 MB / 0.7554 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.569, allocations: 124.1 kB / 0.7555 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.5728, allocations: 1.707 MB / 0.7571 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003706/0.5731, allocations: 57.7 kB / 0.7572 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.5739, allocations: 0.7433 MB / 0.7579 GB, free: 2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007915/0.5747, allocations: 0.5809 MB / 0.7585 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008779/0.5755, allocations: 396.1 kB / 0.7589 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5757, allocations: 301.1 kB / 0.7592 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.5786, allocations: 1.144 MB / 0.7603 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/0.5818, allocations: 1.378 MB / 0.7616 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/0.5877, allocations: 2.416 MB / 0.764 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5877, allocations: 0 / 0.764 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02099/0.6087, allocations: 5.898 MB / 0.7697 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6087, allocations: 8 kB / 0.7697 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6087, allocations: 4 kB / 0.7698 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/0.62, allocations: 2.858 MB / 0.7725 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.622, allocations: 375.5 kB / 0.7729 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.6332, allocations: 5.171 MB / 0.7779 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.6364, allocations: 318.7 kB / 0.7783 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/0.6367, allocations: 83.92 kB / 0.7783 GB, free: 12.66 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.0009719/0.6377, allocations: 361.4 kB / 0.7787 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.6383, allocations: 206.7 kB / 0.7789 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/0.658, allocations: 5.246 MB / 0.784 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.658, allocations: 19.94 kB / 0.784 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.658, allocations: 4 kB / 0.784 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/0.658, allocations: 11.91 kB / 0.784 GB, free: 6.793 MB / 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.02478/0.6828, allocations: 7.72 MB / 0.7916 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.6828, allocations: 0 / 0.7916 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.6843, allocations: 203.7 kB / 0.7918 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009048/0.6933, allocations: 2.26 MB / 0.794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/0.6936, allocations: 39.92 kB / 0.794 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03259/0.7262, allocations: 11.99 MB / 0.8057 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7262, allocations: 0.875 kB / 0.8057 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/0.7501, allocations: 6.606 MB / 0.8122 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.751, allocations: 319.5 kB / 0.8125 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006961/0.7517, allocations: 32 kB / 0.8125 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/0.7544, allocations: 183.8 kB / 0.8127 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/0.7555, allocations: 297.3 kB / 0.813 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.7558, allocations: 47.98 kB / 0.813 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002494/0.7582, allocations: 1.157 MB / 0.8141 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7582, allocations: 0 / 0.8141 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002391/0.7606, allocations: 0.6204 MB / 0.8147 GB, free: 6.855 MB / 0.5762 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.02437/0.785, allocations: 7.224 MB / 0.8218 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.7971, allocations: 3.215 MB / 0.8249 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7971, allocations: 0 / 0.8249 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008146/0.8052, allocations: 2.198 MB / 0.8271 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8071, allocations: 195.1 kB / 0.8273 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06453/0.8717, allocations: 22.37 MB / 0.8491 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.873, allocations: 1.394 MB / 0.8505 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001009/0.874, allocations: 176.1 kB / 0.8506 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.8755, allocations: 0.7726 MB / 0.8514 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.8755, allocations: 0 / 0.8514 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/0.988, allocations: 53.12 MB / 0.9033 GB, free: 11.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.75, allocations: 5.969 kB / 0.9033 GB, free: 11.79 MB / 0.67 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.42401072802022] Failed to read output from testmodel.py, exit status != 0: 16.88048992608674 16.895021896 16.437533947 Calling exit ...