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.822/1.822, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.402e-05, allocations: 7.938 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3646, allocations: 75.97 MB / 370.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3648, allocations: 67.8 kB / 370.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06941/0.4343, allocations: 17.91 MB / 388.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.041e-06/0.4343, allocations: 0 / 388.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.868e-05/0.4344, allocations: 23.94 kB / 388.1 MB, free: 3.895 MB / 330.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.002363/0.4368, allocations: 1.115 MB / 389.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.4369, allocations: 12.03 kB / 389.2 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.4371, allocations: 119.5 kB / 389.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.4385, allocations: 0.5746 MB / 389.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.4387, allocations: 130.4 kB / 390 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4389, allocations: 40 kB / 390.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/0.4403, allocations: 0.5103 MB / 390.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.442, allocations: 0.7909 MB / 391.4 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.442, allocations: 0 / 391.4 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.4421, allocations: 4 kB / 391.4 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.4421, allocations: 16 kB / 391.4 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.4477, allocations: 2.367 MB / 393.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.4511, allocations: 0.8476 MB / 394.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.4519, allocations: 303.1 kB / 394.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.452, allocations: 12.78 kB / 394.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.4521, allocations: 47.34 kB / 395 MB, free: 12.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.006e-06/0.4521, allocations: 0 / 395 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.002063/0.4542, allocations: 0.6635 MB / 395.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005727/0.4548, allocations: 0.9529 MB / 396.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.4559, allocations: 0.5544 MB / 397.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.456, allocations: 29.7 kB / 397.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.4564, allocations: 410.6 kB / 397.6 MB, free: 9.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.4568, allocations: 240.4 kB / 397.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.4568, allocations: 4 kB / 397.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.457, allocations: 342.8 kB / 398.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.4576, allocations: 205.6 kB / 398.3 MB, free: 8.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/0.4586, allocations: 0.5139 MB / 398.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.4592, allocations: 261.5 kB / 399.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.527e-06/0.4592, allocations: 0 / 399.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002099/0.4614, allocations: 0.7306 MB / 399.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.4615, allocations: 91.12 kB / 399.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4615, allocations: 0 / 399.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008257/0.4623, allocations: 168.2 kB / 400.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.4633, allocations: 155.8 kB / 400.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.4714, allocations: 6.695 MB / 406.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4725, allocations: 83.33 kB / 407 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.4726, allocations: 24.06 kB / 407 MB, free: 15.5 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0003424/0.4729, allocations: 147.8 kB / 407.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.4732, allocations: 90.97 kB / 407.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.4734, allocations: 79.94 kB / 407.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4734, allocations: 8 kB / 407.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4735, allocations: 7.953 kB / 407.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/0.475, allocations: 0.8753 MB / 408.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.4785, allocations: 1.539 MB / 409.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4785, allocations: 8 kB / 409.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4796, allocations: 159.8 kB / 409.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.4798, allocations: 32.84 kB / 410 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.4798, allocations: 0 / 410 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4814, allocations: 1.4 MB / 411.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/0.4815, allocations: 0 / 411.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.4837, allocations: 0.9437 MB / 412.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.4841, allocations: 179.9 kB / 412.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.4842, allocations: 4 kB / 412.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.4849, allocations: 31.97 kB / 412.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.485, allocations: 40.72 kB / 412.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.4851, allocations: 23.98 kB / 412.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008117/0.4859, allocations: 431.2 kB / 413 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.54e-07/0.4859, allocations: 0 / 413 MB, free: 9.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001169/0.4871, allocations: 277.6 kB / 413.3 MB, free: 8.918 MB / 362.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.0002585/0.4874, allocations: 119.1 kB / 413.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.4904, allocations: 1.282 MB / 414.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.377e-06/0.4904, allocations: 4.25 kB / 414.7 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.4912, allocations: 384.5 kB / 415.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4925, allocations: 219 kB / 415.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.4958, allocations: 1.22 MB / 416.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/0.4966, allocations: 0.9796 MB / 417.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.497, allocations: 79.42 kB / 417.5 MB, free: 4.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.98e-06/0.497, allocations: 3.938 kB / 417.6 MB, free: 4.48 MB / 362.7 MB Notification: Performance of Templates: time 0.2314/0.7284, allocations: 21.7 MB / 439.3 MB, free: 99.01 MB / 362.7 MB