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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.916e-05, allocations: 0 / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3623, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.212/8.574, allocations: 3.17 GB / 3.571 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/8.575, allocations: 79.69 kB / 3.571 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.02/20.59, allocations: 3.109 GB / 6.68 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.763e-06/20.59, allocations: 3.938 kB / 6.68 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003107/20.59, allocations: 68.58 kB / 6.68 GB, free: 54.36 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.01432/20.6, allocations: 3.593 MB / 6.684 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/20.6, allocations: 7.844 kB / 6.684 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/20.61, allocations: 313.8 kB / 6.684 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00751/20.61, allocations: 2.074 MB / 6.686 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/20.62, allocations: 227.2 kB / 6.686 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/20.62, allocations: 200.7 kB / 6.686 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008856/20.63, allocations: 3.271 MB / 6.69 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.772e-05/20.63, allocations: 6.312 kB / 6.69 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/20.63, allocations: 86.7 kB / 6.69 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/20.63, allocations: 198.4 kB / 6.69 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008129/20.63, allocations: 2.986 MB / 6.693 GB, free: 51.43 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.0281/20.66, allocations: 12.45 MB / 6.705 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005442/20.67, allocations: 2.188 MB / 6.707 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/20.67, allocations: 1.339 MB / 6.708 GB, free: 46.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/20.68, allocations: 6.012 MB / 6.714 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/20.68, allocations: 52.56 kB / 6.714 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001368/20.69, allocations: 197 kB / 6.714 GB, free: 43.28 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 5.981e-06/20.69, allocations: 0 / 6.714 GB, free: 43.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.03402/20.72, allocations: 8.856 MB / 6.723 GB, free: 42.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/20.72, allocations: 124.2 kB / 6.723 GB, free: 42.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/20.72, allocations: 1.657 MB / 6.725 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000595/20.72, allocations: 62.7 kB / 6.725 GB, free: 42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/20.73, allocations: 1.04 MB / 6.726 GB, free: 41.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/20.73, allocations: 0.6853 MB / 6.727 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/20.73, allocations: 44.16 kB / 6.727 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002003/20.73, allocations: 398.6 kB / 6.727 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/20.73, allocations: 1.187 MB / 6.728 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/20.73, allocations: 1.675 MB / 6.73 GB, free: 40.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/20.74, allocations: 1.449 MB / 6.731 GB, free: 40.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/20.74, allocations: 5.281 kB / 6.731 GB, free: 40.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01124/20.75, allocations: 3.804 MB / 6.735 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/20.75, allocations: 5.896 MB / 6.741 GB, free: 33.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/20.75, allocations: 16.19 kB / 6.741 GB, free: 33.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005611/20.76, allocations: 1.142 MB / 6.742 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/20.76, allocations: 470.5 kB / 6.742 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/20.77, allocations: 10.49 MB / 6.753 GB, free: 25.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/20.77, allocations: 197.7 kB / 6.753 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007404/20.77, allocations: 114.1 kB / 6.753 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/20.77, allocations: 3.812 kB / 6.753 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009384/20.78, allocations: 3.412 MB / 6.756 GB, free: 24.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/20.78, allocations: 13.81 kB / 6.756 GB, free: 24.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/20.79, allocations: 0.8489 MB / 6.757 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/20.79, allocations: 0.4925 MB / 6.757 GB, free: 24.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009999/20.8, allocations: 10.19 MB / 6.767 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/20.8, allocations: 190.8 kB / 6.768 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006875/20.8, allocations: 109.8 kB / 6.768 GB, free: 15.18 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.0007725/20.81, allocations: 245.6 kB / 6.768 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/20.81, allocations: 226.4 kB / 6.768 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/20.82, allocations: 3.887 MB / 6.772 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/20.82, allocations: 33.16 kB / 6.772 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/20.82, allocations: 3.688 kB / 6.772 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008192/20.83, allocations: 3.273 MB / 6.775 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/20.84, allocations: 6.327 MB / 6.781 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/20.84, allocations: 0 / 6.781 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/20.85, allocations: 319.8 kB / 6.782 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006529/20.85, allocations: 1.192 MB / 6.783 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000583/20.85, allocations: 77.38 kB / 6.783 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/20.86, allocations: 10.39 MB / 6.793 GB, free: 16.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.133e-06/20.86, allocations: 0 / 6.793 GB, free: 16.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/20.88, allocations: 5.126 MB / 6.798 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/20.88, allocations: 0.6409 MB / 6.799 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009649/20.88, allocations: 55.22 kB / 6.799 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/20.88, allocations: 151.1 kB / 6.799 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007771/20.88, allocations: 172.8 kB / 6.799 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/20.88, allocations: 84.92 kB / 6.799 GB, free: 13.78 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002993/20.89, allocations: 1.272 MB / 6.8 GB, free: 13.26 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.176e-06/20.89, allocations: 0 / 6.8 GB, free: 13.26 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009456/20.9, allocations: 1.976 MB / 6.802 GB, free: 12.86 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.004685/20.9, allocations: 1.384 MB / 6.804 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01535/20.92, allocations: 5.949 MB / 6.809 GB, free: 9.566 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/20.92, allocations: 4 kB / 6.809 GB, free: 9.562 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006128/20.92, allocations: 2.166 MB / 6.812 GB, free: 7.566 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/20.93, allocations: 0.9633 MB / 6.813 GB, free: 6.883 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/20.94, allocations: 4.715 MB / 6.817 GB, free: 3.105 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003046/20.95, allocations: 1.935 MB / 6.819 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007844/20.95, allocations: 1.453 MB / 6.82 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/20.95, allocations: 179.7 kB / 6.821 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of SimCode: time 2.433e-06/20.95, allocations: 0 / 6.821 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of Templates: time 0.5284/21.48, allocations: 67.68 MB / 6.887 GB, free: 71.78 MB / 0.5886 GB