Changeset 68e1a6e2 in OpenModelica


Ignore:
Timestamp:
2020-11-09T14:05:22+01:00 (3 years ago)
Author:
Karim Abdelhak <karim.abdelhak@…>
Parents:
b18b700d
Message:

[BE] do not remove initial() in simulation system

  • fixes ticket #6186
  • the simulation system is once called on time=0 and should still consider initial() to be true so it has to be kept
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/BackEnd/Initialization.mo

    rb434877 r68e1a6e2  
    26872687      DAE.Exp e1, e2, e3, actual, simplified;
    26882688
    2689     // replace initial() with false
    2690     case (DAE.CALL(path=Absyn.IDENT(name="initial")), _)
    2691     then (DAE.BCONST(false), inUseHomotopy);
    2692 
    26932689    // replace homotopy(actual, simplified) with actual
    26942690    case (DAE.CALL(path=Absyn.IDENT(name="homotopy"), expLst=actual::_::_), _)
Note: See TracChangeset for help on using the changeset viewer.