I am trying to design a closed loop synchronous boost converter with the following specification with the help of C command block

I am trying to design a closed loop synchronous boost converter with the following specification with the help of C command block.

Voltage input= 38-47;

Voltage output= 48V;

Output current = 21-25A ;

Frequency= 5khz;

While running my code I am facing a error:

Error in the DLL block. Script Error at time step 2e-005(s)

Can anyone help me to mitigate this error.

Thttps://docs.google.com/document/d/1FkS0ptu21EcsDlV2ve3kjRpfnuwqOmne/edit?usp=drivesdk&ouid=111280582591497681507&rtpof=true&sd=truehe following is the link of the circuit diagram the the problem statement in detail.