Modeling, monitoring and control of continuous wave ultrasonic systems