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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.092e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.229/7.552, allocations: 3.164 GB / 3.537 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/7.552, allocations: 79.95 kB / 3.537 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 11.48/19.03, allocations: 3.098 GB / 6.635 GB, free: 7.766 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.931e-06/19.03, allocations: 0 / 6.635 GB, free: 7.766 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002885/19.03, allocations: 67.86 kB / 6.635 GB, free: 7.699 MB / 0.5418 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.01324/19.04, allocations: 3.595 MB / 6.639 GB, free: 4.043 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/19.04, allocations: 8.031 kB / 6.639 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/19.04, allocations: 309 kB / 6.639 GB, free: 3.73 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/19.05, allocations: 2.086 MB / 6.641 GB, free: 1.59 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/19.05, allocations: 231.1 kB / 6.641 GB, free: 1.352 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/19.05, allocations: 192 kB / 6.641 GB, free: 1.164 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3631/19.42, allocations: 3.263 MB / 6.645 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-05/19.42, allocations: 12.59 kB / 6.645 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005635/19.42, allocations: 86.25 kB / 6.645 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003594/19.42, allocations: 202.9 kB / 6.645 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/19.42, allocations: 2.984 MB / 6.648 GB, free: 50.4 MB / 0.5418 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.02657/19.45, allocations: 12.43 MB / 6.66 GB, free: 45.61 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/19.46, allocations: 2.183 MB / 6.662 GB, free: 45.47 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/19.46, allocations: 1.338 MB / 6.663 GB, free: 45.46 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/19.47, allocations: 6.01 MB / 6.669 GB, free: 42.68 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/19.47, allocations: 55.66 kB / 6.669 GB, free: 42.64 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/19.47, allocations: 192.8 kB / 6.669 GB, free: 42.59 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=172): time 6.837e-06/19.47, allocations: 0 / 6.669 GB, free: 42.59 MB / 0.5418 GB Notification: Performance of matching and sorting (n=198): time 0.03405/19.51, allocations: 8.86 MB / 6.678 GB, free: 41.74 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/19.51, allocations: 127 kB / 6.678 GB, free: 41.61 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/19.51, allocations: 1.658 MB / 6.68 GB, free: 41.39 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005413/19.51, allocations: 61.27 kB / 6.68 GB, free: 41.36 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/19.51, allocations: 1.043 MB / 6.681 GB, free: 40.95 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009783/19.51, allocations: 0.6793 MB / 6.682 GB, free: 40.52 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/19.51, allocations: 48.38 kB / 6.682 GB, free: 40.52 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001839/19.51, allocations: 404.2 kB / 6.682 GB, free: 40.21 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/19.52, allocations: 1.182 MB / 6.683 GB, free: 40.2 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/19.52, allocations: 1.682 MB / 6.685 GB, free: 39.65 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/19.52, allocations: 1.44 MB / 6.686 GB, free: 39.62 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/19.52, allocations: 3.062 kB / 6.686 GB, free: 39.62 MB / 0.5418 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01084/19.53, allocations: 3.807 MB / 6.69 GB, free: 39.36 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/19.54, allocations: 5.899 MB / 6.696 GB, free: 33.21 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/19.54, allocations: 15.66 kB / 6.696 GB, free: 33.21 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/19.54, allocations: 1.145 MB / 6.697 GB, free: 33.15 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/19.55, allocations: 467.4 kB / 6.697 GB, free: 33.15 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/19.56, allocations: 10.5 MB / 6.708 GB, free: 25.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/19.56, allocations: 188.6 kB / 6.708 GB, free: 25.21 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000661/19.56, allocations: 116 kB / 6.708 GB, free: 25.21 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/19.56, allocations: 6.281 kB / 6.708 GB, free: 25.21 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009166/19.57, allocations: 3.411 MB / 6.711 GB, free: 25.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/19.57, allocations: 18.23 kB / 6.711 GB, free: 25.09 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/19.57, allocations: 0.853 MB / 6.712 GB, free: 25.03 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/19.58, allocations: 0.4899 MB / 6.713 GB, free: 25.03 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/19.59, allocations: 10.18 MB / 6.722 GB, free: 33.12 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/19.59, allocations: 193.7 kB / 6.723 GB, free: 33.11 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006965/19.59, allocations: 104.8 kB / 6.723 GB, free: 33.11 MB / 0.5574 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.0008218/19.59, allocations: 240 kB / 6.723 GB, free: 33 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/19.6, allocations: 231.4 kB / 6.723 GB, free: 32.88 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/19.61, allocations: 3.882 MB / 6.727 GB, free: 32.66 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/19.61, allocations: 31.73 kB / 6.727 GB, free: 32.66 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/19.61, allocations: 4.875 kB / 6.727 GB, free: 32.66 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008262/19.61, allocations: 3.275 MB / 6.73 GB, free: 32.19 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/19.63, allocations: 6.325 MB / 6.736 GB, free: 31.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/19.63, allocations: 4.344 kB / 6.736 GB, free: 31.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/19.63, allocations: 321.5 kB / 6.737 GB, free: 31.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006422/19.64, allocations: 1.198 MB / 6.738 GB, free: 31.64 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005509/19.64, allocations: 72.86 kB / 6.738 GB, free: 31.64 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/19.65, allocations: 10.39 MB / 6.748 GB, free: 23.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/19.65, allocations: 0 / 6.748 GB, free: 23.71 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/19.66, allocations: 5.12 MB / 6.753 GB, free: 23.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/19.67, allocations: 0.6442 MB / 6.754 GB, free: 23.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008646/19.67, allocations: 63.86 kB / 6.754 GB, free: 23.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/19.67, allocations: 147.1 kB / 6.754 GB, free: 23.06 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006815/19.67, allocations: 175.3 kB / 6.754 GB, free: 23.06 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/19.67, allocations: 79.05 kB / 6.754 GB, free: 23.06 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00278/19.67, allocations: 1.278 MB / 6.755 GB, free: 22.9 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.308e-06/19.67, allocations: 0 / 6.755 GB, free: 22.9 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009106/19.68, allocations: 1.976 MB / 6.757 GB, free: 22.82 MB / 0.5574 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.00442/19.69, allocations: 1.382 MB / 6.759 GB, free: 22.61 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01471/19.7, allocations: 5.954 MB / 6.765 GB, free: 20.34 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.012e-06/19.7, allocations: 0 / 6.765 GB, free: 20.34 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005356/19.71, allocations: 2.172 MB / 6.767 GB, free: 19.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/19.71, allocations: 0.9533 MB / 6.768 GB, free: 19.09 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/19.73, allocations: 4.711 MB / 6.772 GB, free: 17.52 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/19.73, allocations: 1.939 MB / 6.774 GB, free: 16.66 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007244/19.74, allocations: 1.452 MB / 6.775 GB, free: 16.57 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/19.74, allocations: 181.1 kB / 6.776 GB, free: 16.56 MB / 0.5574 GB Notification: Performance of SimCode: time 2.004e-06/19.74, allocations: 0 / 6.776 GB, free: 16.56 MB / 0.5574 GB Notification: Performance of Templates: time 0.1436/19.88, allocations: 67.62 MB / 6.842 GB, free: 8.051 MB / 0.5574 GB