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.001704/0.001704, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.52/1.52, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.001598/0.001598, allocations: 208.8 kB / 309.2 MB, free: 3.137 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.5563/0.5563, allocations: 101.3 MB / 467 MB, free: 10.33 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.002486/0.002486, allocations: 83.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.431, allocations: 78.61 MB / 0.7012 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.008542/0.4395, allocations: 9.71 MB / 0.7107 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.4455, allocations: 3.075 MB / 0.7137 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.4475, allocations: 20.56 kB / 0.7137 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.449, allocations: 381.8 kB / 0.7141 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.4532, allocations: 1.276 MB / 0.7153 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.4557, allocations: 0.9762 MB / 0.7163 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.46, allocations: 2.888 MB / 0.7191 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.4608, allocations: 434.1 kB / 0.7195 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.4629, allocations: 1.16 MB / 0.7206 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.465, allocations: 1.359 MB / 0.722 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.4654, allocations: 249.1 kB / 0.7222 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.4663, allocations: 0.4999 MB / 0.7227 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005729/0.4669, allocations: 0.5848 MB / 0.7233 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.4681, allocations: 1.128 MB / 0.7244 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.4725, allocations: 3.001 MB / 0.7273 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4725, allocations: 0.75 kB / 0.7273 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4725, allocations: 0 / 0.7273 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.922e-05/0.4726, allocations: 0 / 0.7273 GB, free: 8.875 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.01682/0.4894, allocations: 4.523 MB / 0.7317 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4895, allocations: 16.53 kB / 0.7317 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/0.4898, allocations: 197.8 kB / 0.7319 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.4947, allocations: 0.8105 MB / 0.7327 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.4981, allocations: 1.326 MB / 0.734 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008951/0.499, allocations: 0.9031 MB / 0.7349 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.4993, allocations: 140.4 kB / 0.735 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.5034, allocations: 1.764 MB / 0.7368 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.5034, allocations: 1.406 kB / 0.7368 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.5036, allocations: 54.31 kB / 0.7368 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.5037, allocations: 30.75 kB / 0.7368 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.5078, allocations: 1.652 MB / 0.7384 GB, free: 2.34 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.01259/0.5204, allocations: 5.981 MB / 0.7443 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009511/0.5299, allocations: 2.779 MB / 0.747 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.5325, allocations: 0.9781 MB / 0.748 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.5329, allocations: 52.45 kB / 0.748 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002939/0.5358, allocations: 1.274 MB / 0.7493 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.276e-06/0.5358, allocations: 7.938 kB / 0.7493 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.04838/0.5842, allocations: 10.95 MB / 0.76 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.5843, allocations: 124.1 kB / 0.7601 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.5876, allocations: 1.7 MB / 0.7617 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/0.5881, allocations: 53.7 kB / 0.7618 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007346/0.5888, allocations: 0.7589 MB / 0.7625 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008955/0.5897, allocations: 0.5771 MB / 0.7631 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/0.5905, allocations: 396.1 kB / 0.7635 GB, free: 188 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5907, allocations: 301.1 kB / 0.7638 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.5936, allocations: 1.14 MB / 0.7649 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.5967, allocations: 1.378 MB / 0.7662 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.6024, allocations: 2.416 MB / 0.7686 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.6024, allocations: 4 kB / 0.7686 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02076/0.6232, allocations: 5.898 MB / 0.7743 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.6232, allocations: 11.98 kB / 0.7744 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6232, allocations: 4 kB / 0.7744 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.6344, allocations: 2.846 MB / 0.7771 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.6367, allocations: 375.5 kB / 0.7775 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.6478, allocations: 5.07 MB / 0.7824 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.6517, allocations: 322.5 kB / 0.7828 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/0.6521, allocations: 75.97 kB / 0.7828 GB, free: 11.96 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.001054/0.6532, allocations: 375.8 kB / 0.7832 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.6538, allocations: 198.7 kB / 0.7834 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/0.6726, allocations: 5.246 MB / 0.7885 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.6726, allocations: 23.88 kB / 0.7885 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6726, allocations: 0 / 0.7885 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/0.6726, allocations: 11.97 kB / 0.7885 GB, free: 6.09 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.02295/0.6956, allocations: 7.68 MB / 0.796 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6956, allocations: 0 / 0.796 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.6969, allocations: 199.7 kB / 0.7962 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008361/0.7053, allocations: 2.264 MB / 0.7984 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/0.7056, allocations: 47.86 kB / 0.7985 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03597/0.7416, allocations: 11.78 MB / 0.81 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7416, allocations: 0 / 0.81 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03702/0.7786, allocations: 6.602 MB / 0.8164 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009343/0.7795, allocations: 250.4 kB / 0.8167 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/0.78, allocations: 28 kB / 0.8167 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.7822, allocations: 183.8 kB / 0.8169 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/0.7832, allocations: 317.1 kB / 0.8172 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.7833, allocations: 39.98 kB / 0.8172 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002167/0.7855, allocations: 1.157 MB / 0.8183 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7855, allocations: 0 / 0.8183 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002136/0.7876, allocations: 0.6244 MB / 0.8189 GB, free: 6.531 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.0227/0.8103, allocations: 7.223 MB / 0.826 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.8215, allocations: 3.215 MB / 0.8291 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.8215, allocations: 0 / 0.8291 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007473/0.8289, allocations: 2.198 MB / 0.8313 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8306, allocations: 174.8 kB / 0.8315 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05802/0.8887, allocations: 22.4 MB / 0.8533 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.8898, allocations: 1.378 MB / 0.8547 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009229/0.8907, allocations: 192.1 kB / 0.8549 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.892, allocations: 0.7648 MB / 0.8556 GB, free: 460 kB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.892, allocations: 0 / 0.8556 GB, free: 460 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.009, allocations: 54.62 MB / 0.9089 GB, free: 9.988 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.57, allocations: 4 kB / 0.9089 GB, free: 9.984 MB / 0.67 GB " [Timeout remaining time 642] (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: 22.38546696499907] Failed to read output from testmodel.py, exit status != 0: 17.72418526599722 17.740237727 17.264452396 Calling exit ...