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.00131/0.00131, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.379/1.379, allocations: 230.6 MB / 250.5 MB, free: 9.406 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.001503/0.001503, allocations: 214.2 kB / 306.7 MB, free: 4.363 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.5842/0.5842, allocations: 101.3 MB / 464 MB, free: 12.06 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="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.0024/0.0024, allocations: 87.88 kB / 0.62 GB, free: 15.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1414, allocations: 78.58 MB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.2711/0.4125, allocations: 9.663 MB / 0.7062 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.4182, allocations: 3.058 MB / 0.7091 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.4199, allocations: 21.97 kB / 0.7092 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4209, allocations: 384.2 kB / 0.7095 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.4242, allocations: 1.272 MB / 0.7108 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.4264, allocations: 0.9637 MB / 0.7117 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.4303, allocations: 2.829 MB / 0.7145 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008191/0.4311, allocations: 437.2 kB / 0.7149 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.4329, allocations: 1.147 MB / 0.716 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.4349, allocations: 1.363 MB / 0.7173 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004759/0.4354, allocations: 243.9 kB / 0.7176 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009666/0.4364, allocations: 0.5 MB / 0.7181 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.4369, allocations: 0.5824 MB / 0.7186 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.4383, allocations: 1.132 MB / 0.7197 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.4426, allocations: 2.999 MB / 0.7227 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4426, allocations: 1.062 kB / 0.7227 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4426, allocations: 0 / 0.7227 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.725e-05/0.4427, allocations: 4 kB / 0.7227 GB, free: 9.781 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.01616/0.4588, allocations: 4.144 MB / 0.7267 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4589, allocations: 9.219 kB / 0.7267 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.36e-05/0.459, allocations: 31.06 kB / 0.7268 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003956/0.4593, allocations: 196.1 kB / 0.7269 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.4649, allocations: 0.809 MB / 0.7277 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.4686, allocations: 1.406 MB / 0.7291 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000778/0.4694, allocations: 0.5591 MB / 0.7297 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006053/0.47, allocations: 144.7 kB / 0.7298 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/0.4746, allocations: 1.769 MB / 0.7315 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.4746, allocations: 4 kB / 0.7315 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.4748, allocations: 55.89 kB / 0.7316 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.4748, allocations: 30.78 kB / 0.7316 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.4792, allocations: 1.652 MB / 0.7332 GB, free: 4.227 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.01264/0.4918, allocations: 6.047 MB / 0.7391 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009644/0.5015, allocations: 3.222 MB / 0.7423 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.5041, allocations: 0.9706 MB / 0.7432 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.5049, allocations: 0.7387 MB / 0.7439 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002966/0.5078, allocations: 1.271 MB / 0.7452 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=155): time 3.597e-06/0.5078, allocations: 0 / 0.7452 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155): time 0.04821/0.5561, allocations: 11.11 MB / 0.756 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.5561, allocations: 124.1 kB / 0.7561 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.5594, allocations: 1.707 MB / 0.7578 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004526/0.5598, allocations: 57.7 kB / 0.7579 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007023/0.5605, allocations: 0.7472 MB / 0.7586 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/0.5612, allocations: 0.5771 MB / 0.7592 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007881/0.562, allocations: 404 kB / 0.7595 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5621, allocations: 301.1 kB / 0.7598 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.5649, allocations: 1.14 MB / 0.761 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.5679, allocations: 1.378 MB / 0.7623 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/0.5734, allocations: 2.416 MB / 0.7647 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5734, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01979/0.5932, allocations: 5.895 MB / 0.7704 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.5932, allocations: 11.98 kB / 0.7704 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.5932, allocations: 4.5 kB / 0.7704 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.6039, allocations: 2.864 MB / 0.7732 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.606, allocations: 371.5 kB / 0.7736 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.6167, allocations: 5.167 MB / 0.7786 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.6201, allocations: 322.6 kB / 0.7789 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.6205, allocations: 79.92 kB / 0.779 GB, free: 12.8 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.0009518/0.6214, allocations: 358.1 kB / 0.7794 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.622, allocations: 210.7 kB / 0.7796 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/0.6407, allocations: 5.253 MB / 0.7847 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.6407, allocations: 19.94 kB / 0.7847 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6407, allocations: 4 kB / 0.7847 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/0.6408, allocations: 7.969 kB / 0.7847 GB, free: 6.922 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.02353/0.6643, allocations: 7.716 MB / 0.7922 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.6643, allocations: 0 / 0.7922 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.6656, allocations: 203.7 kB / 0.7924 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008686/0.6743, allocations: 2.26 MB / 0.7946 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/0.6747, allocations: 39.92 kB / 0.7947 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03159/0.7063, allocations: 12 MB / 0.8064 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7063, allocations: 0 / 0.8064 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/0.7288, allocations: 6.599 MB / 0.8128 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/0.7297, allocations: 319.5 kB / 0.8132 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000678/0.7304, allocations: 35.98 kB / 0.8132 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.7326, allocations: 179.8 kB / 0.8134 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/0.7337, allocations: 293.3 kB / 0.8136 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.7338, allocations: 51.92 kB / 0.8137 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002138/0.7359, allocations: 1.153 MB / 0.8148 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7359, allocations: 0 / 0.8148 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002201/0.7381, allocations: 0.6243 MB / 0.8154 GB, free: 6.992 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.02241/0.7605, allocations: 7.226 MB / 0.8225 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.7715, allocations: 3.229 MB / 0.8256 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7715, allocations: 0 / 0.8256 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007459/0.779, allocations: 2.186 MB / 0.8278 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.7807, allocations: 182.2 kB / 0.8279 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05721/0.8379, allocations: 22.39 MB / 0.8498 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.8391, allocations: 1.386 MB / 0.8512 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009529/0.8401, allocations: 184.1 kB / 0.8513 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.8413, allocations: 0.7765 MB / 0.8521 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.8413, allocations: 4 kB / 0.8521 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.9438, allocations: 53.14 MB / 0.904 GB, free: 11.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.2, allocations: 12.05 kB / 0.904 GB, free: 11.9 MB / 0.67 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 & /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.154156479984522] Failed to read output from testmodel.py, exit status != 0: 16.375820852001198 16.39956787 15.952077439 Calling exit ...