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.001782/0.001782, allocations: 109.2 kB / 16.4 MB, free: 6.508 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.342/1.342, allocations: 222.9 MB / 242.1 MB, free: 15.22 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.001424/0.001424, allocations: 201.9 kB / 294.4 MB, free: 12.66 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.5234/0.5234, allocations: 98.2 MB / 444.8 MB, free: 11.05 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.002355/0.002355, allocations: 83.86 kB / 0.5899 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1423, allocations: 72.78 MB / 0.6609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01074/0.1531, allocations: 9.615 MB / 0.6703 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.1606, allocations: 3.019 MB / 0.6733 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.1624, allocations: 27.88 kB / 0.6733 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1637, allocations: 376.7 kB / 0.6737 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.1677, allocations: 1.203 MB / 0.6748 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.1702, allocations: 0.946 MB / 0.6757 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.1744, allocations: 2.834 MB / 0.6785 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1755, allocations: 0.614 MB / 0.6791 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.1775, allocations: 1.105 MB / 0.6802 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1796, allocations: 1.35 MB / 0.6815 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.1802, allocations: 248 kB / 0.6817 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1813, allocations: 495.7 kB / 0.6822 GB, free: 6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.182, allocations: 0.5838 MB / 0.6828 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.1834, allocations: 1.138 MB / 0.6839 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.1878, allocations: 2.996 MB / 0.6868 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1878, allocations: 0 / 0.6868 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1878, allocations: 0 / 0.6868 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.1879, allocations: 0 / 0.6868 GB, free: 1.262 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.291/0.4789, allocations: 4.157 MB / 0.6909 GB, free: 25.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4789, allocations: 10 kB / 0.6909 GB, free: 25.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.4792, allocations: 195.9 kB / 0.6911 GB, free: 25.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.4838, allocations: 0.8148 MB / 0.6919 GB, free: 25.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.4866, allocations: 1.394 MB / 0.6932 GB, free: 24.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000494/0.4871, allocations: 0.5625 MB / 0.6938 GB, free: 24.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.4874, allocations: 143.9 kB / 0.6939 GB, free: 24.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.4911, allocations: 1.768 MB / 0.6957 GB, free: 24.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.4911, allocations: 1.156 kB / 0.6957 GB, free: 24.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.4913, allocations: 53.83 kB / 0.6957 GB, free: 24.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.4913, allocations: 30.38 kB / 0.6957 GB, free: 24.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.4953, allocations: 1.653 MB / 0.6974 GB, free: 24.02 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.01199/0.5073, allocations: 6.051 MB / 0.7033 GB, free: 22.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009987/0.5174, allocations: 3.34 MB / 0.7065 GB, free: 21.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.5202, allocations: 1.069 MB / 0.7076 GB, free: 21.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/0.5207, allocations: 0.7331 MB / 0.7083 GB, free: 20.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002834/0.5235, allocations: 1.284 MB / 0.7095 GB, free: 20.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=155): time 3.146e-06/0.5235, allocations: 0 / 0.7095 GB, free: 20.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=155): time 0.04613/0.5697, allocations: 11.16 MB / 0.7204 GB, free: 14.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.5698, allocations: 120.2 kB / 0.7205 GB, free: 14.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.5728, allocations: 1.707 MB / 0.7222 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005548/0.5733, allocations: 64.45 kB / 0.7223 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.5738, allocations: 0.7488 MB / 0.723 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/0.5744, allocations: 0.5739 MB / 0.7236 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/0.5751, allocations: 395.5 kB / 0.7239 GB, free: 12.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.5752, allocations: 302.4 kB / 0.7242 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/0.5777, allocations: 1.147 MB / 0.7254 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.5801, allocations: 1.37 MB / 0.7267 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.5847, allocations: 2.417 MB / 0.7291 GB, free: 9.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5848, allocations: 0 / 0.7291 GB, free: 9.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01178/0.5965, allocations: 4.551 MB / 0.7335 GB, free: 5.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5966, allocations: 18.17 kB / 0.7335 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5966, allocations: 8 kB / 0.7335 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/0.606, allocations: 2.855 MB / 0.7363 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.6078, allocations: 372 kB / 0.7367 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.6179, allocations: 5.176 MB / 0.7417 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.6212, allocations: 322.5 kB / 0.742 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/0.6217, allocations: 81.38 kB / 0.7421 GB, free: 12.17 MB / 0.4981 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.001198/0.6229, allocations: 365.4 kB / 0.7425 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007738/0.6237, allocations: 202.7 kB / 0.7426 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/0.643, allocations: 5.293 MB / 0.7478 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.6431, allocations: 16 kB / 0.7478 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6431, allocations: 8 kB / 0.7478 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.877e-05/0.6432, allocations: 7.969 kB / 0.7478 GB, free: 6.262 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 postOpt removeSimpleEquations (simulation): time 0.02551/0.6687, allocations: 7.769 MB / 0.7554 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.6688, allocations: 0 / 0.7554 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.6702, allocations: 199.7 kB / 0.7556 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008838/0.679, allocations: 2.255 MB / 0.7578 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004791/0.6796, allocations: 39.98 kB / 0.7579 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03253/0.7121, allocations: 12 MB / 0.7696 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7121, allocations: 0 / 0.7696 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/0.7351, allocations: 6.674 MB / 0.7761 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/0.736, allocations: 323.5 kB / 0.7764 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/0.7367, allocations: 32 kB / 0.7764 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/0.7391, allocations: 187.7 kB / 0.7766 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/0.7403, allocations: 297.3 kB / 0.7769 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/0.7405, allocations: 51.98 kB / 0.777 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002328/0.7429, allocations: 1.153 MB / 0.7781 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.99e-06/0.7429, allocations: 0 / 0.7781 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002345/0.7452, allocations: 0.6243 MB / 0.7787 GB, free: 6.258 MB / 0.5294 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.02276/0.768, allocations: 7.295 MB / 0.7858 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.7795, allocations: 3.409 MB / 0.7891 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7796, allocations: 0 / 0.7891 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007758/0.7874, allocations: 2.282 MB / 0.7914 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.7894, allocations: 170.2 kB / 0.7915 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0608/0.8503, allocations: 22.61 MB / 0.8136 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.8516, allocations: 1.382 MB / 0.815 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001003/0.8526, allocations: 184.1 kB / 0.8151 GB, free: 452 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.854, allocations: 0.7687 MB / 0.8159 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.854, allocations: 0 / 0.8159 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/0.9647, allocations: 52.69 MB / 0.8673 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.4, allocations: 11.62 kB / 0.8674 GB, free: 11.14 MB / 0.6231 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: 20.92237291391939] Failed to read output from testmodel.py, exit status != 0: 16.515379291959107 16.534888953 16.343478521 Calling exit ...