Opened 17 years ago

Last modified 14 years ago

#1002 closed defect (worksforme)

The compiler crashes with Stack Overflow on big matrices

Reported by: cbelyaev Owned by: cbelyaev
Priority: blocker Milestone:
Component: Simulation Code Generation Version:
Keywords: Cc: cbelyaev, adrpo

Description

The sample model is attached.

Attachments (1)

MatrixTest14x29.mo (1.2 KB) - added by cbelyaev 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by cbelyaev

comment:1 Changed 17 years ago by adrpo

Yes, i can confirm is a bug.
I know what the problem is, but I don't yet have a fix for it.
If you search in Static.mo for "< 20" you will find that matrices
with more than 20 dimension size do not get vectorized.
Because of this symbolic generation of the transpose code does not work.

I'll look more into this.

Cheers,
Adrian Pop.

comment:2 Changed 14 years ago by sjoelund.se

This works in the trunk, although it takes close to half an hour for the backend to invert the transpose function...

Note: See TracTickets for help on using tickets.