Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.503e-05, allocations: 0 / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07819/0.07823, allocations: 44.51 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.4033, allocations: 76.64 MB / 376.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4036, allocations: 72.75 kB / 376.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05829/0.4619, allocations: 15.49 MB / 392 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4619, allocations: 1.75 kB / 392 MB, free: 20.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.312e-05/0.462, allocations: 15.62 kB / 392.1 MB, free: 20.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001823/0.4638, allocations: 1.013 MB / 393.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4639, allocations: 11.69 kB / 393.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.4641, allocations: 102.1 kB / 393.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.465, allocations: 0.5045 MB / 393.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4652, allocations: 146.3 kB / 393.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4654, allocations: 57.03 kB / 393.9 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4667, allocations: 0.7894 MB / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4668, allocations: 0 / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.4669, allocations: 28.94 kB / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.4669, allocations: 11.66 kB / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.4681, allocations: 0.4904 MB / 395.2 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.4719, allocations: 2.063 MB / 397.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4737, allocations: 0.9105 MB / 398.2 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.4744, allocations: 341 kB / 398.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.4745, allocations: 15.8 kB / 398.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4745, allocations: 54.41 kB / 398.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.99e-06/0.4746, allocations: 0 / 398.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002672/0.4772, allocations: 0.8671 MB / 399.4 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4774, allocations: 0.8264 MB / 400.3 MB, free: 16.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.4782, allocations: 0.5327 MB / 400.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-05/0.4784, allocations: 44.77 kB / 400.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4786, allocations: 332.8 kB / 401.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.4788, allocations: 266.5 kB / 401.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.4789, allocations: 11.66 kB / 401.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.479, allocations: 336.2 kB / 401.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.4795, allocations: 213.5 kB / 402 MB, free: 15.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.4802, allocations: 494.3 kB / 402.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.4808, allocations: 339.5 kB / 402.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-06/0.4808, allocations: 4 kB / 402.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002662/0.4834, allocations: 0.9753 MB / 403.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.4835, allocations: 84.81 kB / 403.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4835, allocations: 0 / 403.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.4844, allocations: 216.5 kB / 404.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.4851, allocations: 131.2 kB / 404.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.4931, allocations: 6.231 MB / 410.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/0.494, allocations: 107.1 kB / 410.5 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.4941, allocations: 22.97 kB / 410.6 MB, free: 25.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.4944, allocations: 150.3 kB / 410.7 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4946, allocations: 89.89 kB / 410.8 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.4948, allocations: 87.66 kB / 410.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.071e-06/0.4948, allocations: 11.75 kB / 410.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4948, allocations: 0 / 410.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002381/0.4972, allocations: 1.17 MB / 412.1 MB, free: 25.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.5016, allocations: 1.841 MB / 413.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.149e-06/0.5016, allocations: 0 / 413.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.5026, allocations: 136.1 kB / 414 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/0.5032, allocations: 167.3 kB / 414.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.5033, allocations: 15.31 kB / 414.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006793/0.5101, allocations: 4.801 MB / 419 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.809e-06/0.5102, allocations: 0 / 419 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.5133, allocations: 1.286 MB / 420.3 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.5137, allocations: 162.1 kB / 420.5 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.5138, allocations: 22.45 kB / 420.5 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006012/0.5145, allocations: 45.91 kB / 420.5 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.5146, allocations: 65.78 kB / 420.6 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.5147, allocations: 22.78 kB / 420.6 MB, free: 20.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006906/0.5154, allocations: 428.5 kB / 421 MB, free: 20.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.5154, allocations: 0 / 421 MB, free: 20.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00106/0.5165, allocations: 276.1 kB / 421.3 MB, free: 20.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002487/0.5168, allocations: 144.2 kB / 421.4 MB, free: 20 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.519, allocations: 1.23 MB / 422.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.776e-06/0.5191, allocations: 0 / 422.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.5205, allocations: 0.716 MB / 423.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5216, allocations: 210.7 kB / 423.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.5243, allocations: 1.242 MB / 424.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.5249, allocations: 0.942 MB / 425.8 MB, free: 17.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.5252, allocations: 65.83 kB / 425.8 MB, free: 17.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.84e-06/0.5252, allocations: 0 / 425.8 MB, free: 17.64 MB / 330.7 MB Notification: Performance of Templates: time 0.02594/0.5512, allocations: 20.11 MB / 445.9 MB, free: 6.977 MB / 330.7 MB