Changes between Initial Version and Version 1 of Ticket #1973, comment 3


Ignore:
Timestamp:
2012-12-18T07:14:12Z (12 years ago)
Author:
Lennart Ochel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1973, comment 3

    initial v1  
    11simple example with the same issue:
    22{{{
    3 model test
    4   parameter Real a = 4;
    5   parameter Real b(start=0, fixed=(a < 3));
     3loadString("
     4model test1
     5  constant Boolean FIXED = false;
     6  parameter Real a(start=0, fixed=FIXED);
    67initial equation
    7   b = a + 3;
    8 end test;
     8  a = 1;
     9end test1;
     10
     11model test2
     12  parameter Boolean FIXED = false;
     13  parameter Real a(start=0, fixed=FIXED);
     14initial equation
     15  a = 1;
     16end test2;
     17"); getErrorString();
     18
     19simulate(test1); getErrorString();
     20simulate(test2); getErrorString();
    921}}}
    1022
    11 messages
     23test1 works fine, but test2 not:
    1224{{{
    1325"Warning: Trying to fix over-determined initial system... [not implemented yet!]
    14 Warning: It was not possible to solve the over-determined initial system (3 equations and 2 variables)
     26Warning: It was not possible to solve the over-determined initial system (2 equations and 1 variables)
    1527Warning: No system for the symbolic initialization was generated. A method using numerical algorithms will be used instead.
    1628"