Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.415e-05, allocations: 7.938 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3003, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.4495, allocations: 74.97 MB / 369.1 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.4499, allocations: 71.89 kB / 369.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.103/0.5529, allocations: 8.896 MB / 378 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.525e-06/0.553, allocations: 0 / 378 MB, free: 14.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.308e-05/0.5531, allocations: 8 kB / 378 MB, free: 14 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002488/0.5556, allocations: 0.6714 MB / 378.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.615e-05/0.5557, allocations: 8.031 kB / 378.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.556, allocations: 63.34 kB / 378.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5575, allocations: 368.6 kB / 379.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.5578, allocations: 54.41 kB / 379.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.558, allocations: 16 kB / 379.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/0.5595, allocations: 237.5 kB / 379.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.5612, allocations: 389.3 kB / 379.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.5613, allocations: 0 / 379.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.5614, allocations: 0 / 379.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.5614, allocations: 12 kB / 379.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.5656, allocations: 1.144 MB / 381 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5671, allocations: 413.3 kB / 381.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.5674, allocations: 121.4 kB / 381.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.5674, allocations: 12.27 kB / 381.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.5675, allocations: 46.83 kB / 381.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.411e-06/0.5675, allocations: 0 / 381.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009333/0.5685, allocations: 309.2 kB / 381.9 MB, free: 9.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002685/0.5687, allocations: 445 kB / 382.3 MB, free: 9.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.5693, allocations: 318.3 kB / 382.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.5694, allocations: 29.7 kB / 382.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.5696, allocations: 270.9 kB / 382.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5698, allocations: 110.4 kB / 383 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.5698, allocations: 0 / 383 MB, free: 8.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.57, allocations: 326.8 kB / 383.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.5702, allocations: 92 kB / 383.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.5707, allocations: 226.5 kB / 383.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.571, allocations: 118.2 kB / 383.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-06/0.571, allocations: 4 kB / 383.8 MB, free: 7.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000967/0.572, allocations: 333 kB / 384.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.5721, allocations: 31.73 kB / 384.1 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.843e-06/0.5721, allocations: 4 kB / 384.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.5725, allocations: 69.69 kB / 384.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.573, allocations: 75.89 kB / 384.3 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.5763, allocations: 2.65 MB / 386.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.5768, allocations: 43.81 kB / 387 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.5768, allocations: 8 kB / 387 MB, free: 4.375 MB / 330.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: pipe.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: 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.5771, allocations: 112.9 kB / 387.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5772, allocations: 43.53 kB / 387.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5773, allocations: 44.67 kB / 387.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-06/0.5774, allocations: 8.094 kB / 387.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-06/0.5774, allocations: 3.938 kB / 387.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000828/0.5782, allocations: 0.622 MB / 387.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.5799, allocations: 0.8058 MB / 388.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-06/0.5799, allocations: 0 / 388.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.5804, allocations: 75.89 kB / 388.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.64e-06/0.5804, allocations: 4 kB / 388.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5805, allocations: 0 / 388.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.622e-06/0.5805, allocations: 4 kB / 388.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.278e-06/0.5805, allocations: 3.953 kB / 388.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.5815, allocations: 483.3 kB / 389.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5816, allocations: 124.6 kB / 389.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.5817, allocations: 0 / 389.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.5821, allocations: 16.05 kB / 389.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.5822, allocations: 19.97 kB / 389.3 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.5822, allocations: 11.95 kB / 389.3 MB, free: 1.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003935/0.5826, allocations: 248.6 kB / 389.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5826, allocations: 0 / 389.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.5833, allocations: 127.7 kB / 389.7 MB, free: 1.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.5835, allocations: 115.2 kB / 389.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.5847, allocations: 0.5105 MB / 390.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.017e-06/0.5847, allocations: 4 kB / 390.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.585, allocations: 119.8 kB / 390.4 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.5857, allocations: 101.3 kB / 390.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.5873, allocations: 0.602 MB / 391.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.5879, allocations: 0.8312 MB / 392 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5881, allocations: 39.42 kB / 392 MB, free: 15.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.849e-06/0.5881, allocations: 0 / 392 MB, free: 15.03 MB / 346.7 MB Notification: Performance of Templates: time 0.01403/0.6021, allocations: 7.422 MB / 399.4 MB, free: 7.621 MB / 346.7 MB