Skip to content

Commit

Permalink
- one more fix for nonlinear systems
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14385 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Dec 14, 2012
1 parent adedb23 commit 9f394d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions SimulationRuntime/c/simulation/simulation_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ void setGlobalVerboseLevel(int argc, char**argv)
if(useStream[LOG_SOLVER] == 1)
useStream[LOG_STATS] = 1;

if(useStream[LOG_NONLIN_SYS_V])
useStream[LOG_NONLIN_SYS] = 1;

if(error)
{
WARNING1(LOG_STDOUT, "unrecognized option -lv %s", flags->c_str());
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/solver/kinsolSolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
KINDlsGetNumFuncEvals(kmem, &nfeD);

/* solution */
INFO1(LOG_NONLIN_SYS, "solution for %s", kinsolData->data->modelData.equationInfo[eqSystemNumber].name);
INFO2(LOG_NONLIN_SYS, "solution for %s at t=%g", kinsolData->data->modelData.equationInfo[eqSystemNumber].name, kinsolData->data->localData[0]->timeValue);
INDENT(LOG_NONLIN_SYS);
for(i=0; i<size; ++i)
{
Expand Down

0 comments on commit 9f394d1

Please sign in to comment.