Changeset 13923


Ignore:
Timestamp:
2012-11-16T15:35:27+01:00 (11 years ago)
Author:
jfrenkel
Message:
  • additional fix for last commit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/BackEnd/BackendDAEOptimize.mo

    r13921 r13923  
    706706        true = DAEUtil.expTypeComplex(ty);
    707707        size = Expression.sizeOf(ty);
    708           print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.COMPLEX_EQUATION(size,lhs,rhs,source)) +& "\n");
     708        //  print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.COMPLEX_EQUATION(size,lhs,rhs,source)) +& "\n");
    709709       then
    710710        ((syst,shared,repl,BackendDAE.COMPLEX_EQUATION(size,lhs,rhs,source)::eqns,b));
     
    715715        dims = Expression.arrayDimension(ty);
    716716        ds = Expression.dimensionsSizes(dims);
    717           print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.ARRAY_EQUATION(ds,lhs,rhs,source)) +& "\n");
     717        //  print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.ARRAY_EQUATION(ds,lhs,rhs,source)) +& "\n");
    718718      then
    719719        ((syst,shared,repl,BackendDAE.ARRAY_EQUATION(ds,lhs,rhs,source)::eqns,b));
     
    724724        b2 = DAEUtil.expTypeArray(ty);
    725725        false = b1 or b2;
    726           print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.EQUATION(lhs,rhs,source)) +& "\n");
     726        //  print("Add Equation:\n" +& BackendDump.equationStr(BackendDAE.EQUATION(lhs,rhs,source)) +& "\n");
    727727        //Error.assertionOrAddSourceMessage(not b1,Error.INTERNAL_ERROR,{str}, Absyn.dummyInfo);
    728728      then
     
    824824    case(_,_,_,_,_,_,_,(syst,shared,_,_,_))
    825825      equation
    826           print("Found Alias " +& ComponentReference.printComponentRefStr(cr1) +& " = " +& ComponentReference.printComponentRefStr(cr2) +& " Negate:" +& boolString(negate) +& ".\n");
     826        //  print("Found Alias " +& ComponentReference.printComponentRefStr(cr1) +& " = " +& ComponentReference.printComponentRefStr(cr2) +& " Negate:" +& boolString(negate) +& ".\n");
    827827        // get Variables
    828828        (vars1,ilst1,varskn1,time1) =  getVars(cr1,syst,shared);
     
    1028310283    case (BackendDAE.DAE(systs,BackendDAE.SHARED(knvars,exobj,aliasVars,inieqns,remeqns,constrs,clsAttrs,cache,env,funcTree,eventInfo,eoc,btp,symjacs)))
    1028410284      equation
     10285        _ = BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate(inieqns,traversersimplifyTimeIndepFuncCalls,(knvars,aliasVars,false));
    1028510286        _ = BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate(remeqns,traversersimplifyTimeIndepFuncCalls,(knvars,aliasVars,false));
    1028610287      then
Note: See TracChangeset for help on using the changeset viewer.