Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.57/1.57, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.803e-05, allocations: 0 / 225 MB, free: 2.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3202, allocations: 71.31 MB / 335.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3205, allocations: 67.97 kB / 335.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.429, allocations: 18.06 MB / 353.2 MB, free: 220 kB / 298.7 MB Notification: Performance of FrontEnd: time 3.59e-06/0.4291, allocations: 0 / 353.2 MB, free: 220 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001343/0.4293, allocations: 23.92 kB / 353.2 MB, free: 196 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004835/0.4341, allocations: 1.111 MB / 354.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/0.4343, allocations: 15.97 kB / 354.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.4349, allocations: 118.7 kB / 354.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007864/0.4428, allocations: 0.5675 MB / 355 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005804/0.4434, allocations: 166.3 kB / 355.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003355/0.4438, allocations: 68 kB / 355.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.4479, allocations: 0.8878 MB / 356.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/0.448, allocations: 0 / 356.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.4481, allocations: 32 kB / 356.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4481, allocations: 16 kB / 356.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.4496, allocations: 0.5298 MB / 356.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005712/0.4553, allocations: 2.489 MB / 359.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.4589, allocations: 0.8751 MB / 360.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/0.4597, allocations: 319.2 kB / 360.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.4598, allocations: 12.78 kB / 360.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.4599, allocations: 47.34 kB / 360.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.234e-06/0.4599, allocations: 0 / 360.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001906/0.4618, allocations: 0.6791 MB / 361.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005662/0.4624, allocations: 0.9607 MB / 362.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.4637, allocations: 0.6526 MB / 362.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.4639, allocations: 45.64 kB / 362.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.4645, allocations: 399.1 kB / 363.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.465, allocations: 244.4 kB / 363.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4651, allocations: 16 kB / 363.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.4654, allocations: 338.8 kB / 363.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4664, allocations: 221.6 kB / 364 MB, free: 4.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.4681, allocations: 0.5411 MB / 364.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4696, allocations: 372.2 kB / 364.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.358e-06/0.4696, allocations: 0 / 364.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003399/0.473, allocations: 0.8253 MB / 365.7 MB, free: 2.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4732, allocations: 89.23 kB / 365.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4732, allocations: 4 kB / 365.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4739, allocations: 124.2 kB / 365.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4754, allocations: 159.8 kB / 366.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1882/0.6636, allocations: 6.903 MB / 373 MB, free: 81.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6647, allocations: 112.7 kB / 373.1 MB, free: 81.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/0.6648, allocations: 25.59 kB / 373.1 MB, free: 81.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.665, allocations: 164.9 kB / 373.3 MB, free: 81.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.6653, allocations: 99 kB / 373.4 MB, free: 81.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.6655, allocations: 102.1 kB / 373.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6656, allocations: 7.094 kB / 373.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.172e-06/0.6656, allocations: 3.375 kB / 373.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.667, allocations: 0.9205 MB / 374.4 MB, free: 80.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.6702, allocations: 1.669 MB / 376.1 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.607e-06/0.6702, allocations: 0 / 376.1 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6713, allocations: 159 kB / 376.2 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.6715, allocations: 30.27 kB / 376.3 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.6715, allocations: 17.5 kB / 376.3 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.6726, allocations: 1.444 MB / 377.7 MB, free: 78.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.314e-06/0.6727, allocations: 7.234 kB / 377.7 MB, free: 78.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.6747, allocations: 0.99 MB / 378.7 MB, free: 78.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.675, allocations: 186.3 kB / 378.9 MB, free: 78.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.6752, allocations: 23.38 kB / 378.9 MB, free: 78.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.6759, allocations: 40.17 kB / 379 MB, free: 78.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.676, allocations: 51.47 kB / 379 MB, free: 78.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.6761, allocations: 18.84 kB / 379 MB, free: 78.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008327/0.6769, allocations: 0.5133 MB / 379.5 MB, free: 78.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.6769, allocations: 0 / 379.5 MB, free: 78.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001068/0.678, allocations: 289.5 kB / 379.8 MB, free: 78.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.6783, allocations: 138.3 kB / 380 MB, free: 78.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.6802, allocations: 1.297 MB / 381.3 MB, free: 77.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.87e-06/0.6802, allocations: 3.938 kB / 381.3 MB, free: 77.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.6809, allocations: 394 kB / 381.6 MB, free: 77.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6821, allocations: 238.3 kB / 381.9 MB, free: 77.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.685, allocations: 1.3 MB / 383.2 MB, free: 77.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.6855, allocations: 0.9869 MB / 384.2 MB, free: 76.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.6859, allocations: 78.11 kB / 384.2 MB, free: 76.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.65e-06/0.6859, allocations: 3.531 kB / 384.2 MB, free: 76.39 MB / 314.7 MB Notification: Performance of Templates: time 0.0265/0.7124, allocations: 21.86 MB / 406.1 MB, free: 61.67 MB / 314.7 MB