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.001269/0.001269, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.418/1.418, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001781/0.001781, allocations: 213.5 kB / 310 MB, free: 3.152 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.596/0.596, allocations: 101.3 MB / 467.8 MB, free: 30.66 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.002402/0.002402, allocations: 82.09 kB / 0.6252 GB, free: 33.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1419, allocations: 78.61 MB / 0.7019 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01129/0.1532, allocations: 9.379 MB / 0.7111 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006866/0.16, allocations: 2.914 MB / 0.714 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.1615, allocations: 23.94 kB / 0.714 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1627, allocations: 372.8 kB / 0.7143 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.1662, allocations: 1.239 MB / 0.7155 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.1683, allocations: 0.863 MB / 0.7164 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.1721, allocations: 2.662 MB / 0.719 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.1729, allocations: 388.2 kB / 0.7194 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1746, allocations: 1.07 MB / 0.7204 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.1765, allocations: 1.299 MB / 0.7217 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.177, allocations: 220 kB / 0.7219 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.1781, allocations: 475.7 kB / 0.7223 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.1787, allocations: 0.537 MB / 0.7229 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.18, allocations: 1.06 MB / 0.7239 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.1836, allocations: 2.751 MB / 0.7266 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.1836, allocations: 3.984 kB / 0.7266 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1836, allocations: 0 / 0.7266 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.63e-05/0.1837, allocations: 0 / 0.7266 GB, free: 7.699 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.0156/0.1993, allocations: 4.36 MB / 0.7308 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1994, allocations: 12.03 kB / 0.7308 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.404e-05/0.1994, allocations: 30.17 kB / 0.7309 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/0.1997, allocations: 181.2 kB / 0.7311 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.2048, allocations: 0.8026 MB / 0.7318 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.2078, allocations: 1.24 MB / 0.733 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006595/0.2084, allocations: 0.6392 MB / 0.7337 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.2088, allocations: 143.9 kB / 0.7338 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.2124, allocations: 1.629 MB / 0.7354 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.2125, allocations: 0 / 0.7354 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.2126, allocations: 52 kB / 0.7354 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.2126, allocations: 28 kB / 0.7355 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.2162, allocations: 1.516 MB / 0.737 GB, free: 12.79 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.01212/0.2284, allocations: 5.823 MB / 0.7426 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/0.2374, allocations: 2.615 MB / 0.7452 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.2399, allocations: 0.9121 MB / 0.7461 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.2403, allocations: 62.59 kB / 0.7461 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002743/0.243, allocations: 1.201 MB / 0.7473 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.507e-06/0.243, allocations: 4 kB / 0.7473 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04277/0.2858, allocations: 10.01 MB / 0.7571 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2859, allocations: 145.8 kB / 0.7572 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.2889, allocations: 1.639 MB / 0.7588 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000502/0.2894, allocations: 57.7 kB / 0.7589 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.2901, allocations: 0.7195 MB / 0.7596 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008175/0.2909, allocations: 0.55 MB / 0.7601 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008322/0.2918, allocations: 399.9 kB / 0.7605 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2919, allocations: 305.1 kB / 0.7608 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.2945, allocations: 1.086 MB / 0.7619 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.2974, allocations: 1.319 MB / 0.7631 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005407/0.3028, allocations: 2.343 MB / 0.7654 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.3028, allocations: 7.922 kB / 0.7654 GB, free: 15.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0105/0.3133, allocations: 3.859 MB / 0.7692 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.3134, allocations: 33.77 kB / 0.7692 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.3134, allocations: 11.98 kB / 0.7693 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009992/0.3234, allocations: 2.708 MB / 0.7719 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.3254, allocations: 375.5 kB / 0.7723 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.3324, allocations: 2.725 MB / 0.7749 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.3352, allocations: 306.5 kB / 0.7752 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.3355, allocations: 71.98 kB / 0.7753 GB, free: 4.891 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.0008228/0.3364, allocations: 349.4 kB / 0.7756 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004602/0.3368, allocations: 198.7 kB / 0.7758 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/0.3549, allocations: 5.178 MB / 0.7809 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.3549, allocations: 16 kB / 0.7809 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3549, allocations: 3.938 kB / 0.7809 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/0.355, allocations: 7.969 kB / 0.7809 GB, free: 15.12 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.02197/0.377, allocations: 7.618 MB / 0.7883 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.377, allocations: 0 / 0.7883 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.3781, allocations: 175.7 kB / 0.7885 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008683/0.3868, allocations: 2.299 MB / 0.7907 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004185/0.3872, allocations: 31.98 kB / 0.7908 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03139/0.4186, allocations: 12.02 MB / 0.8025 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4186, allocations: 0 / 0.8025 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02199/0.4406, allocations: 6.424 MB / 0.8088 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/0.4414, allocations: 234.5 kB / 0.809 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005736/0.442, allocations: 35.94 kB / 0.809 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.444, allocations: 171.7 kB / 0.8092 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/0.4451, allocations: 289.2 kB / 0.8095 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.4452, allocations: 43.98 kB / 0.8095 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002045/0.4473, allocations: 1.101 MB / 0.8106 GB, free: 284 kB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4473, allocations: 4 kB / 0.8106 GB, free: 280 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3163/0.7635, allocations: 0.6014 MB / 0.8112 GB, free: 100.3 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.02232/0.7859, allocations: 7.046 MB / 0.8181 GB, free: 99.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009803/0.7957, allocations: 3.033 MB / 0.821 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7957, allocations: 7.75 kB / 0.821 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007337/0.803, allocations: 2.129 MB / 0.8231 GB, free: 97.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.8047, allocations: 178.9 kB / 0.8233 GB, free: 97.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0488/0.8535, allocations: 21.28 MB / 0.8441 GB, free: 87.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.8541, allocations: 1.339 MB / 0.8454 GB, free: 86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008888/0.855, allocations: 182.8 kB / 0.8455 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/0.856, allocations: 0.7219 MB / 0.8463 GB, free: 85.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.856, allocations: 0 / 0.8463 GB, free: 85.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/0.9361, allocations: 51.36 MB / 0.8964 GB, free: 33.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.07, allocations: 9.281 kB / 0.8964 GB, free: 33.9 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.23082014801912] Failed to read output from testmodel.py, exit status != 0: 17.269397787982598 17.289033431 17.101578275 Calling exit ...