Opened 10 years ago
Last modified 4 years ago
#3329 closed defect
C code generation error in flexible multibody — at Initial Version
Reported by: | Bruno Scaglioni | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Code Generation | Version: | trunk |
Keywords: | c code generation, flexible multibody | Cc: |
Description
The attached model is a flexible beam example, the model is quite involved and contains several tensor product, hence equations reach a lenght of 28000 characters, and OMC cannot perform symbolic derivation anymore. Nevertheless, several of the terms involved in these products are null and depend from null parameters.
In order to avoid problems with the lenght of the lines the annotation (Evaluate=true) is used and these options are given to the compiler:
setPreOptModules("evaluateReplaceFinalEvaluateParameters,removeSimpleEquations");
Note:
See TracTickets
for help on using tickets.
omc dump