Opened 6 years ago

Closed 2 years ago

Last modified 18 months ago

#3412 closed task (fixed)

Extraction of time consuming components from BLT blocks

Reported by: prizescu Owned by: jsten
Priority: major Milestone: Pending
Component: Modelica/MiddleEnd Version: trunk
Keywords: Cc:

Description

In order to simplify and speed up solving of blocks one can extract stuff which is time consuming and does not depend on any variables in the block which it belongs to. This includes:

  • Functions
  • Conditions
  • ...

Change History (20)

comment:1 Changed 6 years ago by prizescu

Changed where blockFunctionExtraction is executed and made it functional. r5842

comment:2 Changed 6 years ago by prizescu

blockFunctionExtraction now runs based directly on the option rather then a unnecessary flag. Some log output cleanup. r5847

comment:3 Changed 6 years ago by Tove Bergdahl

Milestone: 1.13.xPending

comment:4 Changed 6 years ago by prizescu

blockFunctionExtraction now correctly updates the BiPGraph as well. r5982

comment:5 Changed 6 years ago by prizescu

Remove option for block function extraction. Always run it. r6156

comment:6 Changed 6 years ago by Jesper Mattsson

changeset:6161

Recreating branch from latest trunk to repair broken merge in r6158, r6159 & r6160. Need to add changes made in branch separately.

comment:7 Changed 6 years ago by Jesper Mattsson

changeset:6162

Deleting branch to prepare to recreate (attempt without deleting failed, see r6161).

comment:8 Changed 6 years ago by Jesper Mattsson

changeset:6163

Recreating branch from latest trunk to repair broken merge in r6158, r6159 & r6160. Need to add changes made in branch separately.

comment:9 Changed 6 years ago by Jesper Mattsson

changeset:6166

Added changes from previous incarnation of branch to new one.

comment:10 Changed 6 years ago by prizescu

Changed the default behavior of the dependsOnBlock function to return true for abstract FExps, in order to avoid extracting functions in special cases where a block dependent variable isn't detected.
Instead the aspect now also takes into consideration: FArrays, FAbstractScalarExps and FLitExp. r6171

comment:11 Changed 6 years ago by prizescu

Changed the expected output of some tests to conform to the optimization. r6275

comment:12 Changed 6 years ago by prizescu

Added some basic tests for the optimization. r6276

comment:13 Changed 6 years ago by prizescu

Merge with trunk. r6281

comment:14 Changed 6 years ago by prizescu

Merged with trunk again. Added option enable_block_function_extraction. r6309

comment:15 Changed 6 years ago by prizescu

Reintegrated changes from branch containing block function call extraction optimization. r6310

comment:16 Changed 6 years ago by prizescu

Added description to the option enable_block_function_extraction. r6311

comment:17 Changed 6 years ago by prizescu

Added descriptions and better names to BFE test. Also, added new test. r6312

comment:18 Changed 5 years ago by Tove Bergdahl

Owner: changed from prizescu to jsten
Status: newassigned

What remains on this ticket?

comment:19 Changed 2 years ago by Jesper Mattsson

Resolution: fixed
Status: assignedclosed

comment:20 Changed 18 months ago by Jonathan Kämpe

r11340 closing thesis branch

Note: See TracTickets for help on using tickets.