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_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.164e-05, allocations: 7.984 kB / 294.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 50.42 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00732/0.1179, allocations: 4.305 MB / 349.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1215, allocations: 1.227 MB / 350.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.1223, allocations: 12 kB / 350.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.1228, allocations: 115.1 kB / 350.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.1244, allocations: 374.8 kB / 351 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008677/0.1253, allocations: 195.7 kB / 351.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.1274, allocations: 0.711 MB / 351.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.128, allocations: 232.4 kB / 352.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.1288, allocations: 391.1 kB / 352.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009426/0.1297, allocations: 450.5 kB / 353 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.1301, allocations: 64 kB / 353 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.1303, allocations: 60 kB / 353.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.1306, allocations: 187.2 kB / 353.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.131, allocations: 127.9 kB / 353.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.1325, allocations: 0.962 MB / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1326, allocations: 4 kB / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1326, allocations: 0 / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.527e-05/0.1326, allocations: 0 / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003361/0.136, allocations: 1.167 MB / 355.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1361, allocations: 8.031 kB / 355.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.1366, allocations: 126.7 kB / 355.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1381, allocations: 0.5516 MB / 356.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.1385, allocations: 155.1 kB / 356.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.1387, allocations: 68 kB / 356.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.1414, allocations: 0.9743 MB / 357.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.1414, allocations: 0 / 357.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.1416, allocations: 28 kB / 357.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.1416, allocations: 23.98 kB / 357.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.1441, allocations: 0.6403 MB / 358.1 MB, free: 11.58 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/0.1513, allocations: 2.589 MB / 360.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/0.1564, allocations: 0.9063 MB / 361.6 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1566, allocations: 20.58 kB / 361.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.1567, allocations: 51.22 kB / 361.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.797e-06/0.1567, allocations: 1.859 kB / 361.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004906/0.1616, allocations: 1.451 MB / 363.1 MB, free: 6.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004761/0.1622, allocations: 0.9527 MB / 364.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.1635, allocations: 0.6255 MB / 364.7 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.1638, allocations: 45.69 kB / 364.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.1642, allocations: 411.1 kB / 365.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.1646, allocations: 256.2 kB / 365.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.1647, allocations: 12 kB / 365.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1649, allocations: 342.8 kB / 365.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.166, allocations: 261.9 kB / 366 MB, free: 3.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.1675, allocations: 0.5919 MB / 366.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1688, allocations: 411.8 kB / 367 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1688, allocations: 0 / 367 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003093/0.1719, allocations: 0.9125 MB / 367.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.1721, allocations: 85.17 kB / 368 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.1721, allocations: 4 kB / 368 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005479/0.1727, allocations: 128.2 kB / 368.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.1741, allocations: 163.7 kB / 368.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008539/0.1827, allocations: 6.988 MB / 375.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.1845, allocations: 107.2 kB / 375.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.1847, allocations: 27.98 kB / 375.4 MB, free: 8.844 MB / 314.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.0006385/0.1853, allocations: 233.8 kB / 375.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.1857, allocations: 110.8 kB / 375.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.1859, allocations: 100.9 kB / 375.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.186, allocations: 8 kB / 375.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.186, allocations: 0 / 375.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002427/0.1884, allocations: 0.9934 MB / 376.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.1934, allocations: 1.723 MB / 378.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.1935, allocations: 0 / 378.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.195, allocations: 163.8 kB / 378.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.1952, allocations: 28.84 kB / 378.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.1954, allocations: 15.98 kB / 378.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.1969, allocations: 1.444 MB / 380.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.197, allocations: 4 kB / 380.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.2007, allocations: 1.119 MB / 381.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.2015, allocations: 243.8 kB / 381.5 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.2018, allocations: 27.98 kB / 381.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.2031, allocations: 47.88 kB / 381.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.2033, allocations: 44.59 kB / 381.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.2034, allocations: 19.98 kB / 381.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.2044, allocations: 0.4951 MB / 382.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.2044, allocations: 0 / 382.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001417/0.2058, allocations: 287.7 kB / 382.5 MB, free: 1.391 MB / 314.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.0002638/0.2061, allocations: 127.2 kB / 382.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.2098, allocations: 1.421 MB / 384 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.2099, allocations: 4 kB / 384 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.2113, allocations: 438.5 kB / 384.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.2132, allocations: 251 kB / 384.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.2183, allocations: 2.029 MB / 386.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.2191, allocations: 0.9947 MB / 387.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.2196, allocations: 75.41 kB / 387.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2196, allocations: 0 / 387.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Templates: time 0.3158/0.5354, allocations: 22.29 MB / 410.1 MB, free: 47.04 MB / 330.7 MB