Hi Pratik Shirude - here are three ways to eliminate the warnings at the start of the simulation.
- Remove the inertia from the Generic Engine block. On the "Dynamics" tab, set "Inertia" to "No Inertia".
- Put a flexible shaft between the engine and the motor (parallel spring-damper between the engine and the gear)
- Set the initial speed of the Generic Engine block to be exactly consistent with speed of the DC motor block, taking into account the gear ratio between the two blocks
The meaning of the diagnostic is as Bruno describes in his comment - you have specified two inconsistent initial shaft speeds in the Generic Engine and DC Motor block, and Simscape is trying to find a compromise between those two values. Since it is physically impossible to match both values, it is issuing a warning.