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 2.114/2.114, allocations: 194.9 MB / 211.2 MB, free: 8.055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.572e-05, allocations: 0 / 258.8 MB, free: 8.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007004/0.3586, allocations: 4.094 MB / 307.4 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.3621, allocations: 1.21 MB / 308.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006777/0.3629, allocations: 19.94 kB / 308.6 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3633, allocations: 115.1 kB / 308.7 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.3645, allocations: 342.9 kB / 309.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.3652, allocations: 183.7 kB / 309.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.367, allocations: 0.6798 MB / 309.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.3676, allocations: 236.5 kB / 310.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006765/0.3683, allocations: 371.2 kB / 310.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.3691, allocations: 446.5 kB / 311 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3694, allocations: 64 kB / 311 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.3697, allocations: 60 kB / 311.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3699, allocations: 171.3 kB / 311.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.3703, allocations: 112 kB / 311.4 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.3717, allocations: 0.9425 MB / 312.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3718, allocations: 4 kB / 312.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3718, allocations: 0 / 312.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.3718, allocations: 0 / 312.3 MB, free: 4.621 MB / 250.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.003183/0.375, allocations: 1.128 MB / 313.4 MB, free: 3.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3751, allocations: 12.03 kB / 313.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.3755, allocations: 122.6 kB / 313.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3768, allocations: 0.5238 MB / 314.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.3772, allocations: 162.4 kB / 314.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.3773, allocations: 64 kB / 314.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.3797, allocations: 0.9371 MB / 315.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.3798, allocations: 0 / 315.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.3799, allocations: 36 kB / 315.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.38, allocations: 16 kB / 315.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3822, allocations: 0.6258 MB / 315.9 MB, free: 0.75 MB / 250.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.006417/0.3886, allocations: 2.515 MB / 318.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004986/0.3936, allocations: 0.9107 MB / 319.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3938, allocations: 16.53 kB / 319.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.3939, allocations: 47.12 kB / 319.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=70): time 4.358e-06/0.3939, allocations: 0 / 319.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=70): time 0.004673/0.3986, allocations: 1.436 MB / 320.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005062/0.3991, allocations: 0.9566 MB / 321.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4004, allocations: 0.594 MB / 322.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.4007, allocations: 45.7 kB / 322.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.4011, allocations: 399.1 kB / 322.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.4015, allocations: 244.4 kB / 323.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.4016, allocations: 16 kB / 323.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4017, allocations: 338.8 kB / 323.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4028, allocations: 261.9 kB / 323.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.4043, allocations: 0.588 MB / 324.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.4055, allocations: 396 kB / 324.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4055, allocations: 0 / 324.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002882/0.4084, allocations: 0.9086 MB / 325.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.4085, allocations: 93.05 kB / 325.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4085, allocations: 7.938 kB / 325.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.4091, allocations: 136.2 kB / 325.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4104, allocations: 151.8 kB / 325.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00882/0.4192, allocations: 6.972 MB / 332.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4211, allocations: 115.3 kB / 333 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4212, allocations: 24 kB / 333 MB, free: 14.17 MB / 282.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 (77): * Single equations (assignments): 69 * 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.0006061/0.4218, allocations: 233.7 kB / 333.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4222, allocations: 102.9 kB / 333.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.4224, allocations: 96.31 kB / 333.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4225, allocations: 11.94 kB / 333.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4225, allocations: 0 / 333.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002433/0.4249, allocations: 0.9796 MB / 334.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/0.4299, allocations: 1.708 MB / 336.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.43, allocations: 0 / 336.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.4315, allocations: 155.8 kB / 336.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.4317, allocations: 32.83 kB / 336.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/0.4318, allocations: 12 kB / 336.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.4334, allocations: 1.448 MB / 337.8 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4335, allocations: 4 kB / 337.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.4372, allocations: 1.089 MB / 338.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.4377, allocations: 175.8 kB / 339.1 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/0.4381, allocations: 23.95 kB / 339.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.4395, allocations: 47.97 kB / 339.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.4398, allocations: 44.5 kB / 339.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.4399, allocations: 19.98 kB / 339.2 MB, free: 7.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.4409, allocations: 483 kB / 339.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.441, allocations: 0 / 339.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001449/0.4424, allocations: 275.7 kB / 339.9 MB, free: 6.891 MB / 282.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 (67): * Single equations (assignments): 66 * 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.0003123/0.4428, allocations: 135 kB / 340.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.4466, allocations: 1.396 MB / 341.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.4466, allocations: 0 / 341.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.448, allocations: 449.8 kB / 341.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.45, allocations: 227.2 kB / 342.1 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.4548, allocations: 1.941 MB / 344.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.4556, allocations: 0.9829 MB / 345.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.4561, allocations: 67.42 kB / 345.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4561, allocations: 3.938 kB / 345.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Templates: time 0.04337/0.4995, allocations: 21.43 MB / 366.6 MB, free: 12.08 MB / 314.7 MB