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.805/1.805, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.922e-05, allocations: 10.42 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07727/0.07734, allocations: 44.5 MB / 299.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4005, allocations: 76.66 MB / 376.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4008, allocations: 69.98 kB / 376.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05678/0.4576, allocations: 15.48 MB / 392.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4576, allocations: 0 / 392.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.4577, allocations: 15.7 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.001712/0.4594, allocations: 1.018 MB / 393.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4594, allocations: 11.72 kB / 393.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.4597, allocations: 102 kB / 393.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/0.4606, allocations: 0.5016 MB / 393.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.4608, allocations: 146.2 kB / 393.8 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4609, allocations: 57.16 kB / 393.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4622, allocations: 0.7786 MB / 394.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4623, allocations: 0 / 394.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.4624, allocations: 36.89 kB / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4624, allocations: 11.72 kB / 394.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4636, allocations: 491 kB / 395.2 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.4676, allocations: 2.067 MB / 397.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4694, allocations: 0.8958 MB / 398.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.4702, allocations: 336.5 kB / 398.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.4702, allocations: 19.94 kB / 398.5 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4703, allocations: 54.03 kB / 398.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.128e-06/0.4703, allocations: 4 kB / 398.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002502/0.4728, allocations: 0.8382 MB / 399.4 MB, free: 17.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.473, allocations: 0.822 MB / 400.2 MB, free: 16.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.4738, allocations: 0.5242 MB / 400.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.554e-05/0.4739, allocations: 48.11 kB / 400.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4741, allocations: 329.2 kB / 401.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4743, allocations: 259.8 kB / 401.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.4744, allocations: 15.06 kB / 401.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.4745, allocations: 343.6 kB / 401.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.475, allocations: 216.3 kB / 401.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.4757, allocations: 479.3 kB / 402.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.4764, allocations: 352.3 kB / 402.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.617e-06/0.4764, allocations: 0 / 402.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002578/0.479, allocations: 0.94 MB / 403.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.4791, allocations: 94.2 kB / 403.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-06/0.4791, allocations: 0 / 403.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.4797, allocations: 191.7 kB / 404 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.4804, allocations: 130.8 kB / 404.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.4879, allocations: 6.208 MB / 410.3 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.4889, allocations: 105.7 kB / 410.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.489, allocations: 25.77 kB / 410.4 MB, free: 25.88 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.4893, allocations: 146.6 kB / 410.6 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.4895, allocations: 85.94 kB / 410.7 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.4897, allocations: 91.02 kB / 410.8 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-06/0.4897, allocations: 15.67 kB / 410.8 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-06/0.4897, allocations: 0 / 410.8 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/0.492, allocations: 1.143 MB / 411.9 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.496, allocations: 1.826 MB / 413.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-06/0.4961, allocations: 0 / 413.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000893/0.497, allocations: 131.1 kB / 413.9 MB, free: 24.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.4975, allocations: 156.5 kB / 414 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.4976, allocations: 26.42 kB / 414 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006515/0.5041, allocations: 4.786 MB / 418.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.439e-06/0.5042, allocations: 0 / 418.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.5074, allocations: 1.263 MB / 420.1 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5077, allocations: 177.8 kB / 420.3 MB, free: 20.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.5079, allocations: 22.91 kB / 420.3 MB, free: 20.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.5086, allocations: 37.17 kB / 420.3 MB, free: 20.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.5088, allocations: 66.22 kB / 420.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.5089, allocations: 22.91 kB / 420.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006793/0.5096, allocations: 425.5 kB / 420.8 MB, free: 20.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.07e-07/0.5096, allocations: 0 / 420.8 MB, free: 20.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001013/0.5106, allocations: 287.1 kB / 421.1 MB, free: 20.16 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.0002376/0.5109, allocations: 136.8 kB / 421.2 MB, free: 20.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.5128, allocations: 1.175 MB / 422.4 MB, free: 19.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5128, allocations: 3.906 kB / 422.4 MB, free: 19.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.5141, allocations: 0.6978 MB / 423.1 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5152, allocations: 211.5 kB / 423.3 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.5178, allocations: 1.24 MB / 424.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.5185, allocations: 0.9385 MB / 425.5 MB, free: 17.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.5188, allocations: 73.44 kB / 425.6 MB, free: 17.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.582e-06/0.5188, allocations: 3.938 kB / 425.6 MB, free: 17.75 MB / 330.7 MB Notification: Performance of Templates: time 0.02455/0.5434, allocations: 20.03 MB / 445.6 MB, free: 7.258 MB / 330.7 MB