Hi-
I'm a new Dymola user and I'm having trouble getting Modelica models that involve derivatives to compile within the DymolaBlock for Simulink. I've gotten the following error:
Restricted failed
Error: The model requires derivatives of some inputs as listed below.
Order of Input
derivative
1 u
Restricted failed
Error: Failed to reduce the DAE index.
Translation aborted.
ERROR: 2 errors were found
I've attached the Modelica model. It takes an input as the voltage of a SignalVoltage model, which is electrically connected to a resistor and capacitor in series.
The problem is that I can't connect the input until Dymola compiles the block, figures out how many inputs there are, and adds the input port so that I can connect the signal within Simulink. I get the same error within Dymola when I try to simulate the system itself with nothing connected to the input. But within Dymola, I'm able to connect the input, and when I do, it works fine.
What am I doing wrong? Thanks!
Kevin
