Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.655e-05, allocations: 4 kB / 348.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3335, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.124/8.458, allocations: 3.17 GB / 3.571 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/8.458, allocations: 78.67 kB / 3.571 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.03/20.49, allocations: 3.109 GB / 6.68 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.618e-06/20.49, allocations: 0 / 6.68 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002927/20.49, allocations: 65.12 kB / 6.68 GB, free: 56.3 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01426/20.5, allocations: 3.588 MB / 6.684 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/20.5, allocations: 9.656 kB / 6.684 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/20.5, allocations: 315.2 kB / 6.684 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007694/20.51, allocations: 2.089 MB / 6.686 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/20.51, allocations: 224.8 kB / 6.686 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/20.51, allocations: 197.4 kB / 6.686 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009327/20.52, allocations: 3.269 MB / 6.69 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.622e-05/20.52, allocations: 6.625 kB / 6.69 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004705/20.52, allocations: 88.09 kB / 6.69 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003173/20.52, allocations: 203.2 kB / 6.69 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008512/20.53, allocations: 2.987 MB / 6.693 GB, free: 53.37 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/20.56, allocations: 12.44 MB / 6.705 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/20.56, allocations: 2.189 MB / 6.707 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/20.57, allocations: 1.345 MB / 6.708 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/20.58, allocations: 5.997 MB / 6.714 GB, free: 45.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/20.58, allocations: 54.62 kB / 6.714 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001445/20.58, allocations: 196 kB / 6.714 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 7.017e-06/20.58, allocations: 0 / 6.714 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.03399/20.61, allocations: 8.86 MB / 6.723 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/20.61, allocations: 131 kB / 6.723 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/20.62, allocations: 1.654 MB / 6.725 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005413/20.62, allocations: 60.2 kB / 6.725 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008944/20.62, allocations: 1.037 MB / 6.726 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/20.62, allocations: 0.6875 MB / 6.727 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/20.62, allocations: 45.78 kB / 6.727 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001739/20.62, allocations: 400.7 kB / 6.727 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/20.62, allocations: 1.179 MB / 6.728 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/20.63, allocations: 1.682 MB / 6.73 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/20.63, allocations: 1.444 MB / 6.731 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/20.63, allocations: 3.281 kB / 6.731 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0109/20.64, allocations: 3.805 MB / 6.735 GB, free: 41.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/20.64, allocations: 5.899 MB / 6.741 GB, free: 35.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/20.64, allocations: 11.38 kB / 6.741 GB, free: 35.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/20.65, allocations: 1.149 MB / 6.742 GB, free: 35.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/20.65, allocations: 467.9 kB / 6.742 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/20.66, allocations: 10.5 MB / 6.753 GB, free: 26.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/20.67, allocations: 188.8 kB / 6.753 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/20.67, allocations: 115.1 kB / 6.753 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/20.67, allocations: 4.281 kB / 6.753 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009216/20.68, allocations: 3.412 MB / 6.756 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/20.68, allocations: 17.88 kB / 6.756 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/20.68, allocations: 0.8481 MB / 6.757 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/20.69, allocations: 0.4894 MB / 6.757 GB, free: 25.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/20.7, allocations: 10.2 MB / 6.767 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/20.7, allocations: 186.2 kB / 6.768 GB, free: 16.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/20.7, allocations: 116.2 kB / 6.768 GB, free: 16.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009233/20.7, allocations: 241.2 kB / 6.768 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/20.7, allocations: 225.1 kB / 6.768 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/20.71, allocations: 3.895 MB / 6.772 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/20.71, allocations: 25.33 kB / 6.772 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/20.71, allocations: 3.312 kB / 6.772 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008517/20.72, allocations: 3.282 MB / 6.775 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/20.74, allocations: 6.316 MB / 6.781 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/20.74, allocations: 3.938 kB / 6.781 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/20.74, allocations: 318.9 kB / 6.782 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006216/20.75, allocations: 1.203 MB / 6.783 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000594/20.75, allocations: 73.77 kB / 6.783 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/20.76, allocations: 10.4 MB / 6.793 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.344e-06/20.76, allocations: 6.062 kB / 6.793 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/20.77, allocations: 5.118 MB / 6.798 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/20.77, allocations: 0.6378 MB / 6.799 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009584/20.78, allocations: 54.38 kB / 6.799 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003041/20.78, allocations: 161 kB / 6.799 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007614/20.78, allocations: 170.4 kB / 6.799 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/20.78, allocations: 80.08 kB / 6.799 GB, free: 14.62 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003127/20.78, allocations: 1.274 MB / 6.8 GB, free: 14.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.885e-06/20.78, allocations: 0 / 6.8 GB, free: 14.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009855/20.79, allocations: 1.986 MB / 6.802 GB, free: 13.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004947/20.8, allocations: 1.378 MB / 6.804 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01696/20.81, allocations: 5.957 MB / 6.81 GB, free: 8.059 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.106e-06/20.81, allocations: 0 / 6.81 GB, free: 8.059 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/20.82, allocations: 2.16 MB / 6.812 GB, free: 6.059 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/20.83, allocations: 0.9572 MB / 6.813 GB, free: 5.379 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/20.84, allocations: 4.706 MB / 6.817 GB, free: 1.617 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/20.84, allocations: 1.937 MB / 6.819 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008105/20.85, allocations: 1.486 MB / 6.82 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/20.85, allocations: 185.2 kB / 6.821 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of SimCode: time 1.962e-06/20.85, allocations: 0 / 6.821 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.5343/21.39, allocations: 67.68 MB / 6.887 GB, free: 74.65 MB / 0.5886 GB