-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Description
If I explicitly create a division by zero error:
[bvsm_dymola_fmi2:] Error: The following error was detected at time: 0
[bvsm_dymola_fmi2:]
Model error - division by zero: (nB*(k1*nA-k2*nC)) / (VR) = (0) / (0)
[bvsm_dymola_fmi2:] fmiGetReal: dsblock_ failed, QiErr = 1
CasADi - 2024-11-11 07:43:25 WARNING("Evaluation failed") [.../casadi/core/fmu.cpp:1154]
[bvsm_dymola_fmi2:] Error: The following error was detected at time: 0
[bvsm_dymola_fmi2:]
Model error - division by zero: (nB*(k1*nA-k2*nC)) / (VR) = (0) / (0)
[bvsm_dymola_fmi2:] fmiGetReal: dsblock_ failed, QiErr = 1
CasADi - 2024-11-11 07:43:25 WARNING("Evaluation failed") [.../casadi/core/fmu.cpp:1154]
[bvsm_dymola_fmi2:] Error: The following error was detected at time: 0
[bvsm_dymola_fmi2:]
Model error - division by zero: (nB*(k1*nA-k2*nC)) / (VR) = (0) / (0)
[bvsm_dymola_fmi2:] fmiGetReal: dsblock_ failed, QiErr = 1
CasADi - 2024-11-11 07:43:25 WARNING("FMU evaluation failed") [.../casadi/core/fmu.cpp:723]
The error is correctly detected and communicated, but it's somehow not propagated to the FmuFunction, neither in return value nor in a raised exception.
Metadata
Metadata
Assignees
Labels
No labels