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.818/1.818, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.775e-05, allocations: 0 / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07641, allocations: 44.51 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4512, allocations: 76.62 MB / 376.5 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4514, allocations: 67.02 kB / 376.5 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06556/0.517, allocations: 18.14 MB / 394.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5171, allocations: 1.75 kB / 394.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.728e-05/0.5171, allocations: 23.56 kB / 394.7 MB, free: 19.79 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.001898/0.519, allocations: 1.119 MB / 395.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5191, allocations: 7.812 kB / 395.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.5193, allocations: 117.9 kB / 395.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5203, allocations: 0.5738 MB / 396.5 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.5206, allocations: 153 kB / 396.7 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5207, allocations: 68.19 kB / 396.7 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.5222, allocations: 0.8877 MB / 397.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.5223, allocations: 0 / 397.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-05/0.5224, allocations: 37.69 kB / 397.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.5224, allocations: 19.72 kB / 397.7 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5237, allocations: 0.5384 MB / 398.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004632/0.5283, allocations: 2.51 MB / 400.7 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.5317, allocations: 0.8876 MB / 401.6 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.5324, allocations: 316.8 kB / 401.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-05/0.5325, allocations: 16.39 kB / 401.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5326, allocations: 58.31 kB / 402 MB, free: 17.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.904e-06/0.5326, allocations: 3.938 kB / 402 MB, free: 17.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001769/0.5344, allocations: 0.7192 MB / 402.7 MB, free: 17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.5345, allocations: 0.9523 MB / 403.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.5355, allocations: 0.6538 MB / 404.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.5356, allocations: 44.98 kB / 404.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.5359, allocations: 396 kB / 404.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.5361, allocations: 247 kB / 405 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.5362, allocations: 17.97 kB / 405 MB, free: 15.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.5362, allocations: 332.9 kB / 405.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.5368, allocations: 226.2 kB / 405.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.5376, allocations: 0.5404 MB / 406.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.5383, allocations: 365.3 kB / 406.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-06/0.5383, allocations: 7.828 kB / 406.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002009/0.5403, allocations: 0.861 MB / 407.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.5404, allocations: 92.44 kB / 407.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5404, allocations: 0 / 407.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/0.5412, allocations: 180.9 kB / 407.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.5421, allocations: 157.2 kB / 407.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007309/0.5494, allocations: 6.925 MB / 414.7 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5506, allocations: 112.8 kB / 414.8 MB, free: 23.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.5507, allocations: 27.48 kB / 414.8 MB, free: 23.67 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 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.5509, allocations: 167.9 kB / 415 MB, free: 23.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5511, allocations: 92.97 kB / 415 MB, free: 23.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.5514, allocations: 94.3 kB / 415.1 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.192e-06/0.5514, allocations: 7.25 kB / 415.1 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.242e-06/0.5514, allocations: 0 / 415.1 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.5528, allocations: 0.9267 MB / 416.1 MB, free: 22.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.5559, allocations: 1.677 MB / 417.8 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-06/0.5559, allocations: 0 / 417.8 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5569, allocations: 159.6 kB / 417.9 MB, free: 22.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.557, allocations: 27.44 kB / 417.9 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.5571, allocations: 17.73 kB / 418 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5586, allocations: 1.452 MB / 419.4 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.291e-06/0.5586, allocations: 3.906 kB / 419.4 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.5606, allocations: 0.9946 MB / 420.4 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.5609, allocations: 184.9 kB / 420.6 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.5611, allocations: 22.03 kB / 420.6 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5618, allocations: 45.12 kB / 420.6 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5619, allocations: 44.77 kB / 420.7 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.562, allocations: 22.45 kB / 420.7 MB, free: 20.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008484/0.5629, allocations: 0.5142 MB / 421.2 MB, free: 20.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5629, allocations: 4 kB / 421.2 MB, free: 20.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001071/0.564, allocations: 300.6 kB / 421.5 MB, free: 20.6 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.0002436/0.5642, allocations: 141 kB / 421.7 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.5668, allocations: 1.345 MB / 423 MB, free: 19.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.2e-06/0.5669, allocations: 3.906 kB / 423 MB, free: 19.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.5676, allocations: 407.8 kB / 423.4 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5688, allocations: 235 kB / 423.6 MB, free: 19.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.5716, allocations: 1.265 MB / 424.9 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.5723, allocations: 0.9794 MB / 425.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.5727, allocations: 81.39 kB / 426 MB, free: 18.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.714e-06/0.5727, allocations: 0 / 426 MB, free: 18.17 MB / 330.7 MB Notification: Performance of Templates: time 0.02845/0.6011, allocations: 22.1 MB / 448.1 MB, free: 4.898 MB / 330.7 MB