Lets get really pedantic here. Of course the rocket engine is generating horsepower. Horsepower is not work (which is force over distance). Horsepower is a measure of energy expended over a unit of time. Energy was expended (quite a bit actually) over a period of time (10 seconds). So yes, 30,000 horsepower is an accurate number even in a static test.