Fixed import for timebase in statesp.
Added missing module scope for warn in statesp.