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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.474/1.474, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001538/0.001538, allocations: 211.4 kB / 309.2 MB, free: 3.109 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.62/0.62, allocations: 107.3 MB / 473 MB, free: 29.64 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002521/0.002521, allocations: 82.06 kB / 0.6332 GB, free: 29.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.129, allocations: 80.18 MB / 0.7115 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01056/0.1395, allocations: 8.361 MB / 0.7197 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006384/0.1459, allocations: 2.942 MB / 0.7226 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1471, allocations: 19.94 kB / 0.7226 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1482, allocations: 388.6 kB / 0.723 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.1514, allocations: 1.238 MB / 0.7242 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.1537, allocations: 0.9717 MB / 0.7251 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.1576, allocations: 2.877 MB / 0.7279 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.1583, allocations: 413.3 kB / 0.7283 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.1602, allocations: 1.152 MB / 0.7295 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.162, allocations: 1.236 MB / 0.7307 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.1625, allocations: 244 kB / 0.7309 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009828/0.1635, allocations: 455.8 kB / 0.7313 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.164, allocations: 0.5916 MB / 0.7319 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.1651, allocations: 0.9286 MB / 0.7328 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.1689, allocations: 3.004 MB / 0.7358 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1689, allocations: 0 / 0.7358 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1689, allocations: 0 / 0.7358 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.538e-05/0.1689, allocations: 0 / 0.7358 GB, free: 14.63 MB / 0.5137 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.01581/0.1847, allocations: 4.524 MB / 0.7402 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1848, allocations: 12.03 kB / 0.7402 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.1851, allocations: 198 kB / 0.7404 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.1906, allocations: 0.8103 MB / 0.7412 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.1938, allocations: 1.33 MB / 0.7425 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009175/0.1947, allocations: 0.8926 MB / 0.7433 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.1951, allocations: 148 kB / 0.7435 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.1991, allocations: 1.761 MB / 0.7452 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1992, allocations: 0 / 0.7452 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.1993, allocations: 55.94 kB / 0.7452 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.1994, allocations: 28 kB / 0.7453 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.2035, allocations: 1.645 MB / 0.7469 GB, free: 2.91 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.01174/0.2152, allocations: 4.799 MB / 0.7516 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009869/0.2251, allocations: 2.758 MB / 0.7543 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.2279, allocations: 0.9716 MB / 0.7552 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.2282, allocations: 57.27 kB / 0.7553 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002967/0.2312, allocations: 1.278 MB / 0.7565 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=155): time 4.248e-06/0.2312, allocations: 4 kB / 0.7565 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=155): time 0.04921/0.2804, allocations: 10.95 MB / 0.7672 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.2805, allocations: 120.1 kB / 0.7673 GB, free: 13.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.2836, allocations: 1.719 MB / 0.769 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00044/0.2841, allocations: 57.64 kB / 0.7691 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/0.2848, allocations: 0.7511 MB / 0.7698 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/0.2855, allocations: 0.5733 MB / 0.7703 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007898/0.2863, allocations: 400.1 kB / 0.7707 GB, free: 10.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2865, allocations: 301.1 kB / 0.771 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.2893, allocations: 1.144 MB / 0.7721 GB, free: 8.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/0.2925, allocations: 1.378 MB / 0.7735 GB, free: 7.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/0.2985, allocations: 2.416 MB / 0.7758 GB, free: 4.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.2985, allocations: 0 / 0.7758 GB, free: 4.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02082/0.3193, allocations: 5.902 MB / 0.7816 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.3193, allocations: 8 kB / 0.7816 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3193, allocations: 4.406 kB / 0.7816 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.3304, allocations: 2.842 MB / 0.7844 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.3325, allocations: 379.4 kB / 0.7848 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.3432, allocations: 5.042 MB / 0.7897 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/0.3463, allocations: 326.6 kB / 0.79 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.3466, allocations: 87.91 kB / 0.7901 GB, free: 6.043 MB / 0.5606 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.0008492/0.3474, allocations: 361.4 kB / 0.7904 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.3478, allocations: 210.7 kB / 0.7906 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/0.3668, allocations: 5.238 MB / 0.7957 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.3668, allocations: 16 kB / 0.7957 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3668, allocations: 3.938 kB / 0.7958 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/0.3669, allocations: 11.97 kB / 0.7958 GB, free: 184 kB / 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.0227/0.3896, allocations: 6.973 MB / 0.8026 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.3896, allocations: 0 / 0.8026 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.391, allocations: 195.8 kB / 0.8028 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008736/0.3997, allocations: 2.248 MB / 0.805 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/0.4, allocations: 43.92 kB / 0.805 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3114/0.7115, allocations: 11.51 MB / 0.8162 GB, free: 89.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7115, allocations: 7.375 kB / 0.8162 GB, free: 89.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/0.7332, allocations: 6.608 MB / 0.8227 GB, free: 88.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/0.7338, allocations: 251.7 kB / 0.8229 GB, free: 88.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.7341, allocations: 28.75 kB / 0.823 GB, free: 88.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.7361, allocations: 181.1 kB / 0.8231 GB, free: 88.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/0.7371, allocations: 320.2 kB / 0.8234 GB, free: 88.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.7372, allocations: 44.14 kB / 0.8235 GB, free: 88.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002002/0.7392, allocations: 1.146 MB / 0.8246 GB, free: 87.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7392, allocations: 1.188 kB / 0.8246 GB, free: 87.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001791/0.741, allocations: 0.6196 MB / 0.8252 GB, free: 87.56 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.02076/0.7617, allocations: 7.225 MB / 0.8323 GB, free: 85.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009433/0.7712, allocations: 3.222 MB / 0.8354 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7712, allocations: 3 kB / 0.8354 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006331/0.7775, allocations: 2.193 MB / 0.8376 GB, free: 83.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7788, allocations: 180.4 kB / 0.8377 GB, free: 83.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04776/0.8266, allocations: 22.74 MB / 0.8599 GB, free: 62.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.8272, allocations: 0.8022 MB / 0.8607 GB, free: 62.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008505/0.828, allocations: 184.1 kB / 0.8609 GB, free: 61.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008969/0.8289, allocations: 0.7726 MB / 0.8616 GB, free: 61.18 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.8289, allocations: 0 / 0.8616 GB, free: 61.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0862/0.9151, allocations: 54.53 MB / 0.9149 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.3, allocations: 0 / 0.9149 GB, free: 6.84 MB / 0.5762 GB " [Timeout remaining time 644] (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: 20.66519745765254] Failed to read output from testmodel.py, exit status != 0: 16.453538365662098 16.473839078 16.300613718 Calling exit ...