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.846/1.846, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.986e-05, allocations: 8 kB / 255.4 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07704/0.07709, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4098, allocations: 75.63 MB / 375.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4101, allocations: 70.73 kB / 375.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0335/0.4436, allocations: 9.009 MB / 384.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.717e-06/0.4437, allocations: 1.5 kB / 384.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.4437, allocations: 8.594 kB / 384.6 MB, free: 21.43 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001099/0.4448, allocations: 0.664 MB / 385.2 MB, free: 20.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4449, allocations: 9.5 kB / 385.2 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4451, allocations: 58.97 kB / 385.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.4457, allocations: 371.9 kB / 385.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.4458, allocations: 60.86 kB / 385.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.4459, allocations: 29.7 kB / 385.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.4467, allocations: 434.1 kB / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4467, allocations: 0 / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.4468, allocations: 14.88 kB / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4468, allocations: 8.25 kB / 386.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.4474, allocations: 253.2 kB / 386.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.4499, allocations: 1.238 MB / 387.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4513, allocations: 427 kB / 388.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4516, allocations: 126.9 kB / 388.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.4516, allocations: 7.812 kB / 388.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4517, allocations: 39.09 kB / 388.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.289e-06/0.4517, allocations: 1.188 kB / 388.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008461/0.4525, allocations: 321.8 kB / 388.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.4526, allocations: 452 kB / 389 MB, free: 19.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.4532, allocations: 389.1 kB / 389.4 MB, free: 19.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.4533, allocations: 33.39 kB / 389.4 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4534, allocations: 260.6 kB / 389.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.4535, allocations: 111.4 kB / 389.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.4535, allocations: 7.688 kB / 389.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.4536, allocations: 325.1 kB / 390.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4539, allocations: 96.22 kB / 390.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.4542, allocations: 246.7 kB / 390.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.4545, allocations: 150.4 kB / 390.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.338e-06/0.4545, allocations: 0 / 390.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007946/0.4553, allocations: 370.6 kB / 391 MB, free: 18.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.4554, allocations: 29.61 kB / 391 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.191e-06/0.4554, allocations: 0 / 391 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.4556, allocations: 52.23 kB / 391.1 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.4561, allocations: 73.2 kB / 391.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.4582, allocations: 2.74 MB / 393.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.4588, allocations: 50.27 kB / 393.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.4589, allocations: 15.02 kB / 393.9 MB, free: 15.53 MB / 314.7 MB 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.459, allocations: 131.9 kB / 394.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4591, allocations: 46.5 kB / 394.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.4593, allocations: 49.94 kB / 394.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4593, allocations: 7.891 kB / 394.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-06/0.4593, allocations: 0 / 394.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006148/0.4599, allocations: 0.6358 MB / 394.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4618, allocations: 0.8803 MB / 395.7 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-06/0.4618, allocations: 3.953 kB / 395.7 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.4623, allocations: 76.42 kB / 395.8 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-06/0.4623, allocations: 3.984 kB / 395.8 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4624, allocations: 7.812 kB / 395.8 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.585e-06/0.4624, allocations: 4 kB / 395.8 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4624, allocations: 0 / 395.8 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.4633, allocations: 0.4945 MB / 396.3 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4635, allocations: 130.2 kB / 396.4 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.4636, allocations: 14.84 kB / 396.4 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.4639, allocations: 11.44 kB / 396.4 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.464, allocations: 29.27 kB / 396.4 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.4641, allocations: 7.594 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004502/0.4645, allocations: 302.5 kB / 396.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.4645, allocations: 0 / 396.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.4651, allocations: 135.1 kB / 396.9 MB, free: 30.07 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.0001976/0.4653, allocations: 135 kB / 397 MB, free: 29.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.4663, allocations: 0.5227 MB / 397.5 MB, free: 29.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.842e-06/0.4663, allocations: 0 / 397.5 MB, free: 29.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.4666, allocations: 124 kB / 397.7 MB, free: 29.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.4673, allocations: 111.1 kB / 397.8 MB, free: 29.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.4687, allocations: 0.6156 MB / 398.4 MB, free: 29.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.4693, allocations: 0.8343 MB / 399.2 MB, free: 28.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.4694, allocations: 42.59 kB / 399.3 MB, free: 28.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.166e-06/0.4695, allocations: 0 / 399.3 MB, free: 28.64 MB / 330.7 MB Notification: Performance of Templates: time 0.0115/0.481, allocations: 7.639 MB / 406.9 MB, free: 28.18 MB / 330.7 MB