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.0017/0.0017, allocations: 109.2 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.523/1.523, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001639/0.001639, allocations: 202.4 kB / 309.2 MB, free: 3.156 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.6208/0.6208, allocations: 101.3 MB / 467 MB, free: 10.34 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.002661/0.002661, allocations: 79.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.467, allocations: 78.61 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.009166/0.4762, allocations: 9.719 MB / 0.7107 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008102/0.4843, allocations: 3.066 MB / 0.7137 GB, free: 0 / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.4873, allocations: 21.42 kB / 0.7137 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.4891, allocations: 387.5 kB / 0.7141 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.4947, allocations: 1.277 MB / 0.7153 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.4981, allocations: 0.9715 MB / 0.7163 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006679/0.5048, allocations: 2.887 MB / 0.7191 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5059, allocations: 442.8 kB / 0.7195 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.5083, allocations: 1.15 MB / 0.7207 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.511, allocations: 1.366 MB / 0.722 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.5121, allocations: 245.2 kB / 0.7222 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5138, allocations: 0.4953 MB / 0.7227 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.5151, allocations: 0.5882 MB / 0.7233 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.5177, allocations: 1.127 MB / 0.7244 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007011/0.5247, allocations: 3.004 MB / 0.7273 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5247, allocations: 4.812 kB / 0.7273 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5247, allocations: 0 / 0.7273 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001795/0.5249, allocations: 0 / 0.7273 GB, free: 8.902 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.02149/0.5464, allocations: 4.525 MB / 0.7317 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5464, allocations: 9.312 kB / 0.7317 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000848/0.5473, allocations: 194.8 kB / 0.7319 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/0.5533, allocations: 0.81 MB / 0.7327 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.5584, allocations: 1.329 MB / 0.734 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/0.5595, allocations: 0.8955 MB / 0.7349 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008613/0.5604, allocations: 139.8 kB / 0.735 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00624/0.5666, allocations: 1.765 MB / 0.7368 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.403e-05/0.5667, allocations: 4 kB / 0.7368 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/0.5671, allocations: 51 kB / 0.7368 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.5671, allocations: 30.25 kB / 0.7368 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.5724, allocations: 1.656 MB / 0.7384 GB, free: 2.355 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.01578/0.5882, allocations: 5.973 MB / 0.7443 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.5984, allocations: 2.782 MB / 0.747 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.6013, allocations: 0.9708 MB / 0.7479 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.6018, allocations: 62.02 kB / 0.748 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003438/0.6052, allocations: 1.269 MB / 0.7492 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 5.27e-06/0.6052, allocations: 3.938 kB / 0.7492 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.04863/0.6538, allocations: 10.95 MB / 0.7599 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.6539, allocations: 128.1 kB / 0.7601 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.6575, allocations: 1.7 MB / 0.7617 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004808/0.658, allocations: 65.69 kB / 0.7618 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007913/0.6588, allocations: 0.7511 MB / 0.7625 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009241/0.6597, allocations: 0.5694 MB / 0.7631 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.6606, allocations: 400.1 kB / 0.7635 GB, free: 236 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6607, allocations: 305.1 kB / 0.7637 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.6638, allocations: 1.137 MB / 0.7649 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.6673, allocations: 1.382 MB / 0.7662 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00628/0.6735, allocations: 2.416 MB / 0.7686 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6735, allocations: 0 / 0.7686 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02231/0.6959, allocations: 5.906 MB / 0.7743 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.6959, allocations: 4 kB / 0.7743 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6959, allocations: 4 kB / 0.7743 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.707, allocations: 2.858 MB / 0.7771 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.7091, allocations: 371.5 kB / 0.7775 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.7201, allocations: 5.074 MB / 0.7824 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.7236, allocations: 322.6 kB / 0.7827 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/0.724, allocations: 79.97 kB / 0.7828 GB, free: 11.99 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.00107/0.7251, allocations: 365.3 kB / 0.7832 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.7257, allocations: 202.7 kB / 0.7834 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02492/0.7506, allocations: 5.249 MB / 0.7885 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/0.7507, allocations: 20.03 kB / 0.7885 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7507, allocations: 3.984 kB / 0.7885 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.358e-05/0.7507, allocations: 7.969 kB / 0.7885 GB, free: 6.121 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.0336/0.7843, allocations: 7.684 MB / 0.796 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/0.7844, allocations: 4 kB / 0.796 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.7863, allocations: 195.8 kB / 0.7962 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009531/0.7958, allocations: 2.256 MB / 0.7984 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005032/0.7963, allocations: 43.92 kB / 0.7985 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03295/0.8293, allocations: 11.78 MB / 0.81 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8293, allocations: 0 / 0.81 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02339/0.8527, allocations: 6.609 MB / 0.8164 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/0.8536, allocations: 242.4 kB / 0.8167 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007534/0.8544, allocations: 32 kB / 0.8167 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/0.8568, allocations: 183.8 kB / 0.8169 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/0.858, allocations: 313.1 kB / 0.8172 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.8581, allocations: 47.98 kB / 0.8172 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002495/0.8606, allocations: 1.157 MB / 0.8183 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8606, allocations: 0 / 0.8183 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002638/0.8633, allocations: 0.6165 MB / 0.8189 GB, free: 6.574 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.02346/0.8867, allocations: 7.219 MB / 0.826 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01176/0.8985, allocations: 3.231 MB / 0.8291 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.8985, allocations: 256 / 0.8291 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008284/0.9068, allocations: 2.206 MB / 0.8313 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.9093, allocations: 175.1 kB / 0.8315 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06576/0.9751, allocations: 22.39 MB / 0.8533 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.9763, allocations: 1.378 MB / 0.8547 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001051/0.9773, allocations: 184.1 kB / 0.8549 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.9787, allocations: 0.7766 MB / 0.8556 GB, free: 484 kB / 0.6075 GB Notification: Performance of SimCode: time 1.733e-06/0.9787, allocations: 0 / 0.8556 GB, free: 484 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.106, allocations: 54.63 MB / 0.909 GB, free: 10.01 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.2, allocations: 2.75 kB / 0.909 GB, free: 10.01 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 & /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: 23.5860701079946] Failed to read output from testmodel.py, exit status != 0: 18.358767695957795 18.375663633 17.847465943 Calling exit ...