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.001659/0.001659, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.396/1.396, allocations: 225.6 MB / 246.8 MB, free: 13.5 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.001567/0.001567, allocations: 190.8 kB / 302.2 MB, free: 8.789 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.5273/0.5273, allocations: 99.66 MB / 457.1 MB, free: 4.574 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.003641/0.003641, allocations: 87.86 kB / 0.6114 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.152, allocations: 76.93 MB / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01132/0.1633, allocations: 9.692 MB / 0.696 GB, free: 460 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2581/0.4214, allocations: 3.026 MB / 0.699 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.4227, allocations: 17.5 kB / 0.699 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.4236, allocations: 387.5 kB / 0.6994 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.4263, allocations: 1.277 MB / 0.7006 GB, free: 8.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.4281, allocations: 0.948 MB / 0.7016 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.4308, allocations: 2.832 MB / 0.7043 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/0.4314, allocations: 443.2 kB / 0.7047 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.4327, allocations: 1.109 MB / 0.7058 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.4343, allocations: 1.37 MB / 0.7072 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004629/0.4348, allocations: 244.4 kB / 0.7074 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.4357, allocations: 0.4912 MB / 0.7079 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004247/0.4361, allocations: 0.5861 MB / 0.7084 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008844/0.437, allocations: 1.134 MB / 0.7096 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.4401, allocations: 2.995 MB / 0.7125 GB, free: 3.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4401, allocations: 0 / 0.7125 GB, free: 3.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4401, allocations: 5.281 kB / 0.7125 GB, free: 3.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.865e-05/0.4401, allocations: 0 / 0.7125 GB, free: 3.93 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.01476/0.4549, allocations: 4.602 MB / 0.717 GB, free: 1.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4549, allocations: 10.16 kB / 0.717 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/0.4552, allocations: 195.9 kB / 0.7172 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.4601, allocations: 0.8088 MB / 0.718 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.463, allocations: 1.405 MB / 0.7193 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.4635, allocations: 0.5569 MB / 0.7199 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.4639, allocations: 148 kB / 0.72 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/0.4685, allocations: 1.822 MB / 0.7218 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.4685, allocations: 0 / 0.7218 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.4687, allocations: 51 kB / 0.7219 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.4688, allocations: 30.47 kB / 0.7219 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004021/0.4728, allocations: 1.651 MB / 0.7235 GB, free: 15.02 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.01218/0.485, allocations: 6.053 MB / 0.7294 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.4948, allocations: 3.224 MB / 0.7326 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.4973, allocations: 0.9874 MB / 0.7335 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.498, allocations: 0.7337 MB / 0.7342 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002881/0.5009, allocations: 1.274 MB / 0.7355 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=155): time 3.386e-06/0.5009, allocations: 4 kB / 0.7355 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155): time 0.04842/0.5493, allocations: 11.11 MB / 0.7463 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.5494, allocations: 123.5 kB / 0.7464 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.5525, allocations: 1.714 MB / 0.7481 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/0.5529, allocations: 53.7 kB / 0.7482 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007031/0.5536, allocations: 0.7557 MB / 0.7489 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007622/0.5544, allocations: 0.5771 MB / 0.7495 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008102/0.5552, allocations: 396.1 kB / 0.7499 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5553, allocations: 305.1 kB / 0.7501 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.5582, allocations: 1.144 MB / 0.7513 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.5612, allocations: 1.369 MB / 0.7526 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/0.567, allocations: 2.415 MB / 0.755 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.567, allocations: 4 kB / 0.755 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01371/0.5807, allocations: 4.495 MB / 0.7594 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5808, allocations: 8 kB / 0.7594 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.5808, allocations: 4.375 kB / 0.7594 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.5915, allocations: 2.865 MB / 0.7622 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.5934, allocations: 375.5 kB / 0.7625 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.604, allocations: 5.186 MB / 0.7676 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.6071, allocations: 318.6 kB / 0.7679 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.6073, allocations: 79.97 kB / 0.768 GB, free: 10.8 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.0008938/0.6082, allocations: 361.4 kB / 0.7683 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.6087, allocations: 206.6 kB / 0.7685 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/0.6279, allocations: 5.257 MB / 0.7736 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.6279, allocations: 16 kB / 0.7737 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6279, allocations: 4 kB / 0.7737 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/0.628, allocations: 11.97 kB / 0.7737 GB, free: 4.93 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.0241/0.6521, allocations: 7.729 MB / 0.7812 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6521, allocations: 4.031 kB / 0.7812 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6534, allocations: 195.7 kB / 0.7814 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008723/0.6621, allocations: 2.254 MB / 0.7836 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/0.6625, allocations: 35.98 kB / 0.7836 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03176/0.6942, allocations: 11.99 MB / 0.7954 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6942, allocations: 0 / 0.7954 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/0.7172, allocations: 6.638 MB / 0.8018 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008591/0.7181, allocations: 323.4 kB / 0.8021 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.7185, allocations: 39.88 kB / 0.8022 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.7206, allocations: 183.8 kB / 0.8024 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/0.7216, allocations: 297.3 kB / 0.8026 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.7217, allocations: 44 kB / 0.8027 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002108/0.7238, allocations: 1.161 MB / 0.8038 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7238, allocations: 0 / 0.8038 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001857/0.7257, allocations: 0.6205 MB / 0.8044 GB, free: 5.004 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.02299/0.7487, allocations: 7.243 MB / 0.8115 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.7597, allocations: 3.219 MB / 0.8146 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.7597, allocations: 8.062 kB / 0.8146 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/0.7671, allocations: 2.197 MB / 0.8168 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.7687, allocations: 192.3 kB / 0.817 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05823/0.8269, allocations: 22.51 MB / 0.839 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.8281, allocations: 1.378 MB / 0.8403 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008945/0.8289, allocations: 184.1 kB / 0.8405 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.8302, allocations: 0.7648 MB / 0.8412 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of SimCode: time 9.51e-07/0.8302, allocations: 0 / 0.8412 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.9367, allocations: 53.85 MB / 0.8938 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.66, allocations: 4.062 kB / 0.8938 GB, free: 9.117 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 & /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: 21.60112378001213] Failed to read output from testmodel.py, exit status != 0: 16.788399673067033 16.810415514 16.365830953 Calling exit ...