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.001253/0.001253, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.409/1.409, allocations: 230.6 MB / 253.4 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.001585/0.001585, allocations: 213 kB / 310 MB, free: 3.043 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.582/0.582, allocations: 101.3 MB / 467.7 MB, free: 32.05 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",fmuType="cs",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.002361/0.002361, allocations: 83.14 kB / 0.6251 GB, free: 33.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1367, allocations: 78.6 MB / 0.7019 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01079/0.1474, allocations: 8.355 MB / 0.71 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.1541, allocations: 2.942 MB / 0.7129 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.1555, allocations: 19.94 kB / 0.7129 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1566, allocations: 380.7 kB / 0.7133 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.1596, allocations: 1.239 MB / 0.7145 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1616, allocations: 0.9769 MB / 0.7154 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003125/0.1647, allocations: 2.884 MB / 0.7182 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/0.1654, allocations: 437.4 kB / 0.7187 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1668, allocations: 1.152 MB / 0.7198 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.1685, allocations: 1.369 MB / 0.7211 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.1688, allocations: 244 kB / 0.7214 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.1696, allocations: 471.8 kB / 0.7218 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.1702, allocations: 0.5838 MB / 0.7224 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008745/0.171, allocations: 0.9209 MB / 0.7233 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.1741, allocations: 3.011 MB / 0.7262 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1741, allocations: 0 / 0.7262 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1741, allocations: 0 / 0.7262 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.525e-05/0.1742, allocations: 0 / 0.7262 GB, free: 7.707 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.01395/0.1881, allocations: 4.528 MB / 0.7306 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1882, allocations: 12.03 kB / 0.7307 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.547e-05/0.1882, allocations: 30.38 kB / 0.7307 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002595/0.1885, allocations: 202 kB / 0.7309 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.1931, allocations: 0.8103 MB / 0.7317 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.1958, allocations: 1.326 MB / 0.733 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000865/0.1967, allocations: 0.9004 MB / 0.7338 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.1969, allocations: 136 kB / 0.734 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.2007, allocations: 1.772 MB / 0.7357 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2008, allocations: 4 kB / 0.7357 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.2009, allocations: 48 kB / 0.7358 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.2009, allocations: 32 kB / 0.7358 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/0.2048, allocations: 1.653 MB / 0.7374 GB, free: 11.94 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.01105/0.2159, allocations: 4.799 MB / 0.7421 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008951/0.2248, allocations: 2.766 MB / 0.7448 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.2272, allocations: 0.9746 MB / 0.7457 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.2275, allocations: 57.27 kB / 0.7458 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002803/0.2303, allocations: 1.276 MB / 0.747 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.697e-06/0.2303, allocations: 3.938 kB / 0.747 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.04608/0.2764, allocations: 10.96 MB / 0.7577 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.2765, allocations: 120.1 kB / 0.7579 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.2797, allocations: 1.707 MB / 0.7595 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/0.2802, allocations: 57.7 kB / 0.7596 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.2808, allocations: 0.7512 MB / 0.7603 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008014/0.2816, allocations: 0.5771 MB / 0.7609 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007953/0.2824, allocations: 400.1 kB / 0.7613 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2826, allocations: 301.1 kB / 0.7615 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.2854, allocations: 1.137 MB / 0.7627 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.2883, allocations: 1.382 MB / 0.764 GB, free: 400 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/0.2939, allocations: 2.42 MB / 0.7664 GB, free: 13.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.2939, allocations: 0 / 0.7664 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01939/0.3132, allocations: 5.898 MB / 0.7721 GB, free: 7.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3133, allocations: 4 kB / 0.7721 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3133, allocations: 8 kB / 0.7721 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.3236, allocations: 2.846 MB / 0.7749 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.3256, allocations: 379.4 kB / 0.7753 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.3357, allocations: 5.054 MB / 0.7802 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.3386, allocations: 322.6 kB / 0.7805 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.3388, allocations: 75.97 kB / 0.7806 GB, free: 15.07 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.0008389/0.3396, allocations: 368 kB / 0.7809 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.34, allocations: 202.7 kB / 0.7811 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/0.3574, allocations: 5.249 MB / 0.7863 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.3574, allocations: 19.94 kB / 0.7863 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3574, allocations: 0 / 0.7863 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/0.3574, allocations: 7.969 kB / 0.7863 GB, free: 9.203 MB / 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.0209/0.3783, allocations: 6.966 MB / 0.7931 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.3784, allocations: 4 kB / 0.7931 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.3797, allocations: 187.8 kB / 0.7933 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008235/0.3879, allocations: 2.268 MB / 0.7955 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003518/0.3883, allocations: 43.86 kB / 0.7955 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02925/0.4175, allocations: 11.52 MB / 0.8068 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4175, allocations: 0 / 0.8068 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2987/0.7163, allocations: 6.599 MB / 0.8132 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/0.7169, allocations: 245.6 kB / 0.8135 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.7173, allocations: 31.11 kB / 0.8135 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.7192, allocations: 180.9 kB / 0.8137 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/0.7202, allocations: 317 kB / 0.814 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.7203, allocations: 43.91 kB / 0.814 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002014/0.7223, allocations: 1.151 MB / 0.8151 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7223, allocations: 0 / 0.8151 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001751/0.7241, allocations: 0.6273 MB / 0.8157 GB, free: 99.11 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.02017/0.7443, allocations: 7.226 MB / 0.8228 GB, free: 97.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009481/0.7538, allocations: 3.222 MB / 0.8259 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7538, allocations: 1.312 kB / 0.8259 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006152/0.7599, allocations: 2.187 MB / 0.8281 GB, free: 95.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7613, allocations: 182.8 kB / 0.8283 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04379/0.8051, allocations: 22.39 MB / 0.8501 GB, free: 80.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.8057, allocations: 0.8022 MB / 0.8509 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.8064, allocations: 180.1 kB / 0.8511 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008496/0.8072, allocations: 0.7755 MB / 0.8518 GB, free: 78.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.8072, allocations: 0 / 0.8518 GB, free: 78.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07977/0.887, allocations: 53.8 MB / 0.9044 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.32, allocations: 11.88 kB / 0.9044 GB, free: 24.77 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.771365929045714] Failed to read output from testmodel.py, exit status != 0: 17.518167057074606 17.52851642 17.352060008 Calling exit ...