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.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.688e-05, allocations: 2.219 kB / 255.4 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07596/0.07601, allocations: 44.49 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4396, allocations: 76.64 MB / 376.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4399, allocations: 71.61 kB / 376.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06468/0.5046, allocations: 18.13 MB / 394.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.722e-06/0.5046, allocations: 0 / 394.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.875e-05/0.5047, allocations: 19.38 kB / 394.7 MB, free: 19.89 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001974/0.5067, allocations: 1.121 MB / 395.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5067, allocations: 7.812 kB / 395.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.5069, allocations: 119.1 kB / 396 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.508, allocations: 0.5723 MB / 396.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.5082, allocations: 158 kB / 396.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5084, allocations: 69.44 kB / 396.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.5099, allocations: 0.8855 MB / 397.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.5099, allocations: 0 / 397.6 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/0.51, allocations: 30.38 kB / 397.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5101, allocations: 19.62 kB / 397.7 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.5114, allocations: 0.5366 MB / 398.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.5159, allocations: 2.501 MB / 400.7 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.5191, allocations: 0.8811 MB / 401.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.5198, allocations: 316 kB / 401.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.5198, allocations: 16.02 kB / 401.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5199, allocations: 54.62 kB / 402 MB, free: 17.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.019e-06/0.5199, allocations: 0 / 402 MB, free: 17.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001624/0.5215, allocations: 0.6812 MB / 402.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.5217, allocations: 0.952 MB / 403.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.5228, allocations: 0.6494 MB / 404.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.5229, allocations: 44.67 kB / 404.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.5231, allocations: 404.5 kB / 404.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5233, allocations: 250.3 kB / 404.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.5234, allocations: 15.12 kB / 405 MB, free: 15.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.5235, allocations: 332.8 kB / 405.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.524, allocations: 229.2 kB / 405.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.5249, allocations: 0.5332 MB / 406 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.5255, allocations: 366.8 kB / 406.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.387e-06/0.5256, allocations: 3.938 kB / 406.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001794/0.5274, allocations: 0.8299 MB / 407.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.5274, allocations: 88.86 kB / 407.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.392e-06/0.5275, allocations: 0 / 407.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.5279, allocations: 127.4 kB / 407.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.5288, allocations: 159.6 kB / 407.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.5352, allocations: 6.911 MB / 414.5 MB, free: 23.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.5362, allocations: 115.2 kB / 414.6 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.5363, allocations: 22.75 kB / 414.6 MB, free: 23.8 MB / 330.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.0002597/0.5366, allocations: 168.7 kB / 414.8 MB, free: 23.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5368, allocations: 101.6 kB / 414.9 MB, free: 23.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.5371, allocations: 95.89 kB / 415 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.035e-06/0.5371, allocations: 11.67 kB / 415 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.849e-06/0.5371, allocations: 0 / 415 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.5385, allocations: 0.9245 MB / 415.9 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.5415, allocations: 1.67 MB / 417.6 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-06/0.5416, allocations: 0 / 417.6 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.5427, allocations: 160.1 kB / 417.8 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.5429, allocations: 38.8 kB / 417.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.543, allocations: 18.42 kB / 417.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.5444, allocations: 1.434 MB / 419.3 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-06/0.5444, allocations: 0 / 419.3 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.5464, allocations: 0.9931 MB / 420.2 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.5467, allocations: 185 kB / 420.4 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.5469, allocations: 26.55 kB / 420.5 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.5475, allocations: 49.64 kB / 420.5 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5477, allocations: 51.09 kB / 420.6 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.5477, allocations: 15.22 kB / 420.6 MB, free: 20.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008409/0.5486, allocations: 0.5113 MB / 421.1 MB, free: 20.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.428e-06/0.5486, allocations: 3.938 kB / 421.1 MB, free: 20.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001098/0.5497, allocations: 297.8 kB / 421.4 MB, free: 20.73 MB / 330.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.0002461/0.55, allocations: 141.1 kB / 421.5 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.5521, allocations: 1.297 MB / 422.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5521, allocations: 0 / 422.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.5528, allocations: 395.2 kB / 423.2 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.554, allocations: 240.1 kB / 423.4 MB, free: 19.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.5567, allocations: 1.257 MB / 424.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.5574, allocations: 0.9829 MB / 425.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.5578, allocations: 81.55 kB / 425.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5578, allocations: 0 / 425.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of Templates: time 0.0279/0.5858, allocations: 21.96 MB / 447.7 MB, free: 5.312 MB / 330.7 MB