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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 246.2 MB, free: 13.6 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 203.5 kB / 301.4 MB, free: 9.113 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5395/0.5395, allocations: 98.72 MB / 455.3 MB, free: 5.305 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 88.05 kB / 0.6087 GB, free: 9.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 76.69 MB / 0.6836 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01163/0.167, allocations: 9.691 MB / 0.6931 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3443/0.5113, allocations: 3.023 MB / 0.696 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.5136, allocations: 20.22 kB / 0.6961 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.515, allocations: 384.7 kB / 0.6964 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.5193, allocations: 1.271 MB / 0.6977 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.5217, allocations: 0.9557 MB / 0.6986 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.5259, allocations: 2.832 MB / 0.7014 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.5267, allocations: 441.7 kB / 0.7018 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.5286, allocations: 1.111 MB / 0.7029 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.5304, allocations: 1.366 MB / 0.7042 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.5309, allocations: 247.1 kB / 0.7044 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5319, allocations: 0.4964 MB / 0.7049 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.5324, allocations: 0.5822 MB / 0.7055 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.5335, allocations: 1.131 MB / 0.7066 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.5371, allocations: 3 MB / 0.7095 GB, free: 5.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5371, allocations: 0 / 0.7095 GB, free: 5.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5371, allocations: 0.5156 kB / 0.7095 GB, free: 5.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.118e-05/0.5372, allocations: 0 / 0.7095 GB, free: 5.41 MB / 494.1 MB 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.0144/0.5516, allocations: 4.15 MB / 0.7136 GB, free: 3.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5517, allocations: 11.12 kB / 0.7136 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002992/0.552, allocations: 198.3 kB / 0.7138 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.5571, allocations: 0.8122 MB / 0.7146 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.5605, allocations: 1.398 MB / 0.7159 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005837/0.5611, allocations: 0.559 MB / 0.7165 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.5615, allocations: 149.4 kB / 0.7166 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.5656, allocations: 1.772 MB / 0.7184 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5656, allocations: 0 / 0.7184 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.5658, allocations: 51.28 kB / 0.7184 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.5658, allocations: 31.72 kB / 0.7184 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.5703, allocations: 1.659 MB / 0.7201 GB, free: 0.5938 MB / 494.1 MB 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.5833, allocations: 6.047 MB / 0.726 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.5929, allocations: 3.232 MB / 0.7291 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.5957, allocations: 0.9828 MB / 0.7301 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.5965, allocations: 0.7298 MB / 0.7308 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003013/0.5995, allocations: 1.282 MB / 0.732 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=155): time 3.837e-06/0.5995, allocations: 0 / 0.732 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155): time 0.04694/0.6464, allocations: 11.11 MB / 0.7429 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.6465, allocations: 128.1 kB / 0.743 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.6498, allocations: 1.71 MB / 0.7447 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000502/0.6503, allocations: 56.86 kB / 0.7447 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/0.651, allocations: 0.7558 MB / 0.7455 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008419/0.6519, allocations: 0.5693 MB / 0.746 GB, free: 404 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008829/0.6527, allocations: 402.1 kB / 0.7464 GB, free: 52 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6529, allocations: 309 kB / 0.7467 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.6558, allocations: 1.137 MB / 0.7478 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/0.6589, allocations: 1.373 MB / 0.7492 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.665, allocations: 2.413 MB / 0.7515 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.665, allocations: 0 / 0.7515 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01403/0.6791, allocations: 4.505 MB / 0.7559 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.6791, allocations: 4 kB / 0.7559 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6791, allocations: 4 kB / 0.7559 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.6897, allocations: 2.866 MB / 0.7587 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.6917, allocations: 383.1 kB / 0.7591 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.7025, allocations: 5.181 MB / 0.7642 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.706, allocations: 318.6 kB / 0.7645 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/0.7064, allocations: 75.98 kB / 0.7645 GB, free: 13.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (215): * Single equations (assignments): 212 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001017/0.7074, allocations: 376 kB / 0.7649 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.708, allocations: 198.7 kB / 0.7651 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/0.7263, allocations: 5.253 MB / 0.7702 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.7263, allocations: 19.94 kB / 0.7702 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7263, allocations: 0 / 0.7702 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-05/0.7263, allocations: 7.969 kB / 0.7702 GB, free: 7.234 MB / 0.5294 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.02315/0.7495, allocations: 7.733 MB / 0.7778 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.7495, allocations: 0 / 0.7778 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.7509, allocations: 203.7 kB / 0.778 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008494/0.7594, allocations: 2.254 MB / 0.7802 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/0.7599, allocations: 47.86 kB / 0.7802 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03081/0.7907, allocations: 11.99 MB / 0.7919 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7907, allocations: 0 / 0.7919 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02289/0.8136, allocations: 6.628 MB / 0.7984 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.8146, allocations: 327.5 kB / 0.7987 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/0.8151, allocations: 28 kB / 0.7987 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.8172, allocations: 183.8 kB / 0.7989 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/0.8182, allocations: 309.2 kB / 0.7992 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.8184, allocations: 47.92 kB / 0.7993 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002323/0.8207, allocations: 1.157 MB / 0.8004 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8207, allocations: 0 / 0.8004 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002703/0.8234, allocations: 0.6243 MB / 0.801 GB, free: 7.297 MB / 0.5606 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.02282/0.8462, allocations: 7.242 MB / 0.8081 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01136/0.8576, allocations: 3.228 MB / 0.8112 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.8576, allocations: 0 / 0.8112 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007848/0.8654, allocations: 2.2 MB / 0.8134 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8675, allocations: 182.3 kB / 0.8135 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06115/0.9286, allocations: 22.5 MB / 0.8355 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.9298, allocations: 1.382 MB / 0.8369 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9308, allocations: 188.1 kB / 0.8371 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.9321, allocations: 0.7726 MB / 0.8378 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.9321, allocations: 0 / 0.8378 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.042, allocations: 53.77 MB / 0.8903 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.51, allocations: 14.17 kB / 0.8903 GB, free: 11.48 MB / 0.6544 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 os._exit(0), Time elapsed: 19.641214590985328] Failed to read output from testmodel.py, exit status != 0: 16.628013325011125 16.642460694 16.10214941 Calling exit ...