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.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.747e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1392, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009185/0.1484, allocations: 4.079 MB / 271 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.1529, allocations: 1.201 MB / 272.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.1539, allocations: 15.94 kB / 272.2 MB, free: 11.81 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.1545, allocations: 111.2 kB / 272.3 MB, free: 11.7 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.1565, allocations: 346.9 kB / 272.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1577, allocations: 175.8 kB / 272.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.1604, allocations: 0.6758 MB / 273.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.1613, allocations: 224.6 kB / 273.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1623, allocations: 371.2 kB / 274.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.1638, allocations: 434.6 kB / 274.5 MB, free: 9.5 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.1643, allocations: 60 kB / 274.5 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.1647, allocations: 64 kB / 274.6 MB, free: 9.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.1651, allocations: 187.3 kB / 274.8 MB, free: 9.195 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000543/0.1657, allocations: 112 kB / 274.9 MB, free: 9.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.1679, allocations: 0.9308 MB / 275.8 MB, free: 8.152 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.168, allocations: 0 / 275.8 MB, free: 8.152 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.168, allocations: 0 / 275.8 MB, free: 8.152 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.646e-05/0.1681, allocations: 0 / 275.8 MB, free: 8.152 MB / 234.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.004335/0.1724, allocations: 1.135 MB / 277 MB, free: 6.949 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.1725, allocations: 8.031 kB / 277 MB, free: 6.941 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.1732, allocations: 122.7 kB / 277.1 MB, free: 6.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.175, allocations: 0.5316 MB / 277.6 MB, free: 6.242 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.1755, allocations: 146.4 kB / 277.8 MB, free: 6.082 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.1758, allocations: 64 kB / 277.8 MB, free: 6.02 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.1794, allocations: 0.9448 MB / 278.8 MB, free: 4.957 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.1795, allocations: 3.984 kB / 278.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.1797, allocations: 36 kB / 278.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.1797, allocations: 20 kB / 278.8 MB, free: 4.898 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.1832, allocations: 0.6181 MB / 279.5 MB, free: 4.277 MB / 234.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.01004/0.1933, allocations: 2.515 MB / 282 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007064/0.2005, allocations: 0.9203 MB / 282.9 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.2007, allocations: 16.53 kB / 282.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/0.2008, allocations: 59.12 kB / 283 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of pre-optimization done (n=70): time 5.3e-06/0.2008, allocations: 0 / 283 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of matching and sorting (n=70): time 0.006948/0.2078, allocations: 1.428 MB / 284.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007034/0.2085, allocations: 0.9526 MB / 285.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.2105, allocations: 0.6017 MB / 285.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.2108, allocations: 45.7 kB / 286 MB, free: 13.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.2114, allocations: 399.2 kB / 286.4 MB, free: 12.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/0.212, allocations: 240.4 kB / 286.6 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2121, allocations: 12 kB / 286.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2123, allocations: 342.8 kB / 287 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.2139, allocations: 261.9 kB / 287.2 MB, free: 11.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.2161, allocations: 0.588 MB / 287.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.218, allocations: 404 kB / 288.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.218, allocations: 0 / 288.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004254/0.2223, allocations: 0.9009 MB / 289.1 MB, free: 9.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.2225, allocations: 82.67 kB / 289.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.2225, allocations: 8 kB / 289.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.2232, allocations: 132.2 kB / 289.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.2251, allocations: 151.8 kB / 289.5 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.2368, allocations: 6.98 MB / 296.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.2391, allocations: 111.2 kB / 296.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.2393, allocations: 28 kB / 296.6 MB, free: 1.711 MB / 250.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.0008402/0.2402, allocations: 229.8 kB / 296.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.2406, allocations: 99.39 kB / 296.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.241, allocations: 100.3 kB / 297 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.241, allocations: 8 kB / 297 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.2411, allocations: 0 / 297 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003357/0.2444, allocations: 0.9833 MB / 298 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.333/0.5775, allocations: 1.683 MB / 299.7 MB, free: 29.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5776, allocations: 1.734 kB / 299.7 MB, free: 29.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.579, allocations: 155.5 kB / 299.8 MB, free: 29.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.5792, allocations: 35.58 kB / 299.9 MB, free: 29.63 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/0.5793, allocations: 14.77 kB / 299.9 MB, free: 29.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5807, allocations: 1.445 MB / 301.3 MB, free: 28.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5807, allocations: 0 / 301.3 MB, free: 28.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.5844, allocations: 1.091 MB / 302.4 MB, free: 28.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.5847, allocations: 164.3 kB / 302.6 MB, free: 27.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.5851, allocations: 22.72 kB / 302.6 MB, free: 27.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5864, allocations: 59.31 kB / 302.7 MB, free: 27.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5866, allocations: 40.55 kB / 302.7 MB, free: 27.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.5867, allocations: 18.81 kB / 302.7 MB, free: 27.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009569/0.5877, allocations: 483 kB / 303.2 MB, free: 27.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5877, allocations: 1.312 kB / 303.2 MB, free: 27.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001295/0.589, allocations: 277.2 kB / 303.5 MB, free: 27.68 MB / 250.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.0002351/0.5893, allocations: 127.2 kB / 303.6 MB, free: 27.58 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00329/0.5926, allocations: 1.403 MB / 305 MB, free: 26.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.5926, allocations: 2.5 kB / 305 MB, free: 26.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.5939, allocations: 439.6 kB / 305.4 MB, free: 26.4 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.5957, allocations: 225.5 kB / 305.6 MB, free: 26.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.6006, allocations: 1.986 MB / 307.6 MB, free: 25.17 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.6013, allocations: 0.9839 MB / 308.6 MB, free: 24.46 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.6018, allocations: 67.78 kB / 308.7 MB, free: 24.45 MB / 250.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6018, allocations: 5.25 kB / 308.7 MB, free: 24.45 MB / 250.7 MB Notification: Performance of Templates: time 0.03542/0.6372, allocations: 21.36 MB / 330 MB, free: 8.176 MB / 250.7 MB