@@ -2438,12 +2438,12 @@ algorithm
24382438 (residualEquations,(idx,ass)) := List . mapFold(residualEquations,TDS_replaceSimEqSysIndexWithUpdate ,(idx,ass));
24392439 (allEquations,(idx,ass)) := List . mapFold(allEquations,TDS_replaceSimEqSysIndexWithUpdate ,(idx,ass));
24402440 (parameterEquations,(idx,ass)) := List . mapFold(parameterEquations,TDS_replaceSimEqSysIndexWithUpdate ,(idx,ass));
2441-
2441+
24422442
24432443 odeEquations := List . mapList1_1(odeEquations,TDS_replaceSimEqSysIndex ,ass);
24442444 algebraicEquations := List . mapList1_1(algebraicEquations,TDS_replaceSimEqSysIndex ,ass);
24452445 equationsForZeroCrossings := List . map1(equationsForZeroCrossings,TDS_replaceSimEqSysIndex ,ass);
2446-
2446+
24472447 jacObts := List . map(jacobianMatrixes,Util . makeOption);
24482448 jacObts := List . map1(jacObts,TDS_replaceSimEqSysIdxInJacobianMatrix ,ass);
24492449 jacobianMatrixes := List . map(jacObts,Util . getOption);
@@ -2543,7 +2543,7 @@ algorithm
25432543 (eqs,(newIdx,ass)) = List . mapFold(eqs,TDS_replaceSimEqSysIndexWithUpdate ,(newIdx,ass));
25442544 ass = arrayUpdate(ass,oldIdx,newIdx);
25452545 simEqSys = SimCode . SES_MIXED (newIdx,cont,discVars,eqs,indexMixedSystem);
2546- then (simEqSys,(newIdx+ 1 ,ass));
2546+ then (simEqSys,(newIdx+ 1 ,ass));
25472547 case (_,(newIdx,ass))
25482548 equation
25492549 oldIdx = SimCodeUtil . eqIndex(simEqIn);
@@ -2948,7 +2948,7 @@ algorithm
29482948 // BackendVarTransform.dumpReplacements(repl);
29492949 simEqSysts := List . map1(simEqSysIdcs,SimCodeUtil . getSimEqSysForIndex,List . flatten(odes));
29502950 print("the simEqSysts to be duplicated " +& SimCodeUtil . dumpSimEqSystemLst(simEqSysts)+& " \n " );
2951-
2951+
29522952 numEqs := listLength(simEqSysts);
29532953 simEqSysIdcs2 := List . intRange2(simEqSysIdx,simEqSysIdx+ numEqs- 1 );
29542954 // print("simEqSysIdcs2 :"+&intListString(simEqSysIdcs2)+&"\n");
@@ -3346,7 +3346,7 @@ algorithm
33463346 clusters := List . map1(clusterOrder,List . getIndexFirst,clustersIn); // the clusters, sorted in descending order of their accumulated execution costs
33473347 numMergeClusters := intMin(intDiv(listLength(clustersIn),2 ),intSub(listLength(clustersIn),numProc));
33483348 print("clusters: \n " +& stringDelimitList(List . map(clusters,intListString)," \n " )+& " \n " );
3349-
3349+
33503350 print("numMergCluster " +& intString(numMergeClusters)+& " \n " );
33513351 (firstClusters,lastClusters) := List . split(clusters,numMergeClusters);
33523352 (middleCluster,lastClusters) := List . split(lastClusters,intSub(listLength(lastClusters),numMergeClusters));
0 commit comments