Text this: Physics-Informed Fast Transient Stability Assessment of Non-Fixed Length in Power Systems