Changes between Initial Version and Version 2 of Ticket #3668


Ignore:
Timestamp:
2016-02-05T18:59:13Z (9 years ago)
Author:
Francesco Casella
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3668

    • Property Cc andrea.bartolini@… added
    • Property Summary Memory allocation of the back-end grows quadratically with the system sizeMemory allocation of the back-end and code generation grows quadratically with the system size
  • Ticket #3668 – Description

    initial v2  
    1 Consider the attached test package: it has one algebraic system of equations driven by a scalar differential equation.
     1Consider the attached test package: it has one large algebraic system of equations driven by a scalar differential equation.
    22
    3 Under Windows, the size of memory allocated by the back-end grows approximately as O(N^2^), N being the size of the algebraic system:
     3I have used these settings, which include some that are essential for the efficient handling of the large algebraic system:
     4
     5{{{
     6setCommandLineOptions("--preOptModules-=clockPartitioning
     7--postOptModules-=detectJacobianSparsePattern --postOptModules+=wrapFunctionCalls
     8--disableLinearTearing --removeSimpleEquations=new
     9--indexReductionMethod=uode --tearingMethod=omcTearing
     10-d=dumpSimCode,gcProfiling,execstat,nogen,initialization,backenddaeinfo,discreteinfo,stateselection");
     11
     12simulate(LargeAlgebraic.M_2000, method = "rungekutta", stopTime = 1,
     13         numberOfIntervals = 10, simflags = "-lv LOG_STATS,LOG_LS -ls=klu");
     14}}}
     15
     16
     17Under Windows, the size of memory allocated by the back-end and code generation phases grows approximately as O(N^2^), N being the size of the algebraic system:
    418
    519|| N    || Memory (MB) ||