Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.001339/0.001339, allocations: 101.3 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 14.5 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.001482/0.001482, allocations: 206.5 kB / 310 MB, free: 3.031 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.5711/0.5711, allocations: 101.3 MB / 467.7 MB, free: 31.95 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.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.002355/0.002355, allocations: 81.61 kB / 0.6251 GB, free: 32.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1394, allocations: 78.61 MB / 0.7019 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.00982/0.1492, allocations: 8.087 MB / 0.7098 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00592/0.1551, allocations: 2.786 MB / 0.7125 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1564, allocations: 19.94 kB / 0.7125 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1575, allocations: 368.8 kB / 0.7128 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.1607, allocations: 1.214 MB / 0.714 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.1626, allocations: 0.8626 MB / 0.7149 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003611/0.1662, allocations: 2.662 MB / 0.7175 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.1669, allocations: 384.2 kB / 0.7178 GB, free: 240 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.1685, allocations: 1.074 MB / 0.7189 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.1702, allocations: 1.288 MB / 0.7201 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.1706, allocations: 220 kB / 0.7204 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.1714, allocations: 439.7 kB / 0.7208 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.1719, allocations: 0.5409 MB / 0.7213 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009276/0.1729, allocations: 0.8664 MB / 0.7222 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.1763, allocations: 2.758 MB / 0.7248 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1764, allocations: 3.938 kB / 0.7248 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.1764, allocations: 0 / 0.7248 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.441e-05/0.1764, allocations: 0 / 0.7248 GB, free: 9.031 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.01568/0.1921, allocations: 4.364 MB / 0.7291 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.1922, allocations: 8.031 kB / 0.7291 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.884e-05/0.1922, allocations: 30.17 kB / 0.7291 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000286/0.1925, allocations: 181.3 kB / 0.7293 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.1974, allocations: 0.8025 MB / 0.7301 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.2002, allocations: 1.232 MB / 0.7313 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/0.2008, allocations: 0.6431 MB / 0.7319 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.201, allocations: 139.9 kB / 0.7321 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.2044, allocations: 1.629 MB / 0.7337 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2044, allocations: 0 / 0.7337 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.2046, allocations: 48 kB / 0.7337 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2046, allocations: 31.94 kB / 0.7337 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.2079, allocations: 1.516 MB / 0.7352 GB, free: 14.14 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.01029/0.2182, allocations: 4.647 MB / 0.7398 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/0.2266, allocations: 2.609 MB / 0.7423 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.2287, allocations: 0.916 MB / 0.7432 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.229, allocations: 57.27 kB / 0.7432 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002493/0.2315, allocations: 1.212 MB / 0.7444 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.436e-06/0.2315, allocations: 0 / 0.7444 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04104/0.2726, allocations: 9.997 MB / 0.7542 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2727, allocations: 149.8 kB / 0.7543 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.2755, allocations: 1.646 MB / 0.7559 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.2758, allocations: 53.7 kB / 0.756 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006446/0.2765, allocations: 0.7156 MB / 0.7567 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000721/0.2772, allocations: 0.5539 MB / 0.7572 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.278, allocations: 400 kB / 0.7576 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2781, allocations: 301.1 kB / 0.7579 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.2805, allocations: 1.107 MB / 0.759 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.2831, allocations: 1.348 MB / 0.7603 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.2882, allocations: 2.343 MB / 0.7626 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.2883, allocations: 7.938 kB / 0.7626 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009705/0.298, allocations: 3.896 MB / 0.7664 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.298, allocations: 35.89 kB / 0.7664 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.298, allocations: 4 kB / 0.7664 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009275/0.3073, allocations: 2.7 MB / 0.7691 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.3092, allocations: 387.4 kB / 0.7694 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006452/0.3157, allocations: 2.717 MB / 0.7721 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.3184, allocations: 298.6 kB / 0.7724 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.3186, allocations: 75.98 kB / 0.7725 GB, free: 7.461 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007574/0.3194, allocations: 345.4 kB / 0.7728 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.3198, allocations: 202.6 kB / 0.773 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/0.3366, allocations: 5.171 MB / 0.778 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.3367, allocations: 16 kB / 0.778 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3367, allocations: 3.938 kB / 0.778 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/0.3367, allocations: 11.95 kB / 0.7781 GB, free: 1.691 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.02015/0.3569, allocations: 6.915 MB / 0.7848 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.3569, allocations: 3.938 kB / 0.7848 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.3579, allocations: 167.8 kB / 0.785 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0079/0.3658, allocations: 2.299 MB / 0.7872 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.3661, allocations: 39.98 kB / 0.7873 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/0.3948, allocations: 11.76 MB / 0.7987 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3948, allocations: 0 / 0.7987 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.4146, allocations: 6.428 MB / 0.805 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.4153, allocations: 238.4 kB / 0.8053 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.4157, allocations: 31.94 kB / 0.8053 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.4174, allocations: 167.8 kB / 0.8054 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009504/0.4184, allocations: 289.2 kB / 0.8057 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.4185, allocations: 39.98 kB / 0.8058 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001894/0.4204, allocations: 1.105 MB / 0.8068 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4204, allocations: 0 / 0.8068 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001711/0.4221, allocations: 0.6049 MB / 0.8074 GB, free: 3.266 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * 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 (99): * Single equations (assignments): 97 * 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 {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.3086/0.7307, allocations: 7.046 MB / 0.8143 GB, free: 99.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008415/0.7392, allocations: 3.064 MB / 0.8173 GB, free: 99.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7392, allocations: 0 / 0.8173 GB, free: 99.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005778/0.7449, allocations: 2.126 MB / 0.8194 GB, free: 98.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7463, allocations: 176.1 kB / 0.8195 GB, free: 98.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04517/0.7915, allocations: 21.38 MB / 0.8404 GB, free: 89.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.7921, allocations: 0.7651 MB / 0.8412 GB, free: 89.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006732/0.7928, allocations: 173 kB / 0.8413 GB, free: 89.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00079/0.7936, allocations: 0.7236 MB / 0.842 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.7936, allocations: 0 / 0.842 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/0.8647, allocations: 50.64 MB / 0.8915 GB, free: 38.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.29, allocations: 4.062 kB / 0.8915 GB, free: 38.13 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.195019953069277] Failed to read output from testmodel.py, exit status != 0: 17.49149898905307 17.50433528 17.325409598 Calling exit ...