Reputation: 123
I recently went testing the library VirtualFCS under Dymola (it is on GitHub). After some QA on the code, I checked the example VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle
OK, and then running it leads to Translation error in the model that I cannot understand nor find the location, except it seems to be in the FuelCellSystem component. The message is:
The function emptySlot should only be found in left hand side of multiple output, but found:
emptySlot
that I can find in the library nor in the MSL (just in case)The model runs Ok under OpenModelica.
Has anyone already experienced such an error? Do you know what kind of error I'm to look for in the code?
Upvotes: 1
Views: 107
Reputation: 12507
This occurs for the Jacobian in a non-linear system where the residual involves a function with a partial function application, i.e., a function with a function as input (in this case the function is a non-linear function solver, there might be a better way of handling this as the model effectively inverts an inverse).
If you open a support request you should soon get access to a fix pack for it.
(Previously a comment on a now deleted answer.)
Upvotes: 0