Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 224.7 MB / 241.1 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.292e-05, allocations: 8 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 50.4 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006054/0.1158, allocations: 3.806 MB / 348.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1189, allocations: 1.099 MB / 349.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.1195, allocations: 12 kB / 349.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1198, allocations: 99.2 kB / 350 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.1208, allocations: 311.1 kB / 350.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1214, allocations: 163.7 kB / 350.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1229, allocations: 0.6134 MB / 351.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.1234, allocations: 190.2 kB / 351.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005633/0.1239, allocations: 339.2 kB / 351.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.1247, allocations: 390.8 kB / 352 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.1249, allocations: 52 kB / 352 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.1251, allocations: 56 kB / 352.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1253, allocations: 155.4 kB / 352.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.1256, allocations: 99.94 kB / 352.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1268, allocations: 0.8256 MB / 353.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1269, allocations: 0 / 353.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1269, allocations: 0 / 353.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.1269, allocations: 4 kB / 353.1 MB, free: 0.7344 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00286/0.1298, allocations: 1.05 MB / 354.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1298, allocations: 8.031 kB / 354.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.1302, allocations: 106.9 kB / 354.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1313, allocations: 487.8 kB / 354.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.1316, allocations: 146.4 kB / 354.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1318, allocations: 64 kB / 355 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.134, allocations: 0.8509 MB / 355.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.134, allocations: 3.938 kB / 355.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.1342, allocations: 35.95 kB / 355.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.1342, allocations: 12 kB / 355.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.1363, allocations: 0.5751 MB / 356.5 MB, free: 13.18 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.005586/0.1419, allocations: 2.076 MB / 358.5 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.1454, allocations: 1.022 MB / 359.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1455, allocations: 12.66 kB / 359.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.1456, allocations: 51.16 kB / 359.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 3.476e-06/0.1456, allocations: 0 / 359.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.009171/0.1548, allocations: 1.885 MB / 361.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004287/0.1553, allocations: 0.8195 MB / 362.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1563, allocations: 0.5075 MB / 362.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.1565, allocations: 45.7 kB / 362.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.1569, allocations: 351.6 kB / 363.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.1573, allocations: 254 kB / 363.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1573, allocations: 12 kB / 363.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1575, allocations: 342.8 kB / 363.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.1585, allocations: 253.9 kB / 364.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.1599, allocations: 0.5273 MB / 364.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1611, allocations: 395.9 kB / 365 MB, free: 4.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1611, allocations: 0 / 365 MB, free: 4.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004286/0.1654, allocations: 1.06 MB / 366 MB, free: 2.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.1656, allocations: 89.11 kB / 366.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1656, allocations: 0 / 366.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.1667, allocations: 251.2 kB / 366.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.1679, allocations: 131.8 kB / 366.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.1802, allocations: 6.58 MB / 373.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.1819, allocations: 115.5 kB / 373.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.182, allocations: 24 kB / 373.2 MB, free: 11.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005207/0.1825, allocations: 224.2 kB / 373.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.1828, allocations: 83.06 kB / 373.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1831, allocations: 99.33 kB / 373.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.1831, allocations: 8 kB / 373.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1831, allocations: 0 / 373.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004002/0.1871, allocations: 1.245 MB / 374.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.1934, allocations: 1.871 MB / 376.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.1935, allocations: 0 / 376.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.1947, allocations: 139.8 kB / 376.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009775/0.1957, allocations: 222.5 kB / 377.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.1958, allocations: 12 kB / 377.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.2067, allocations: 5.126 MB / 382.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2068, allocations: 0 / 382.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.2121, allocations: 1.39 MB / 383.6 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.2128, allocations: 228.1 kB / 383.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.213, allocations: 27.92 kB / 383.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.2142, allocations: 47.97 kB / 383.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.2145, allocations: 60.56 kB / 384 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.2146, allocations: 16 kB / 384 MB, free: 15.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007614/0.2153, allocations: 415.1 kB / 384.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2154, allocations: 0 / 384.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001215/0.2166, allocations: 275.5 kB / 384.7 MB, free: 15.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.2168, allocations: 127.2 kB / 384.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.2201, allocations: 1.324 MB / 386.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.2202, allocations: 8.125 kB / 386.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.2225, allocations: 0.7574 MB / 386.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2241, allocations: 198.7 kB / 387.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.2286, allocations: 1.899 MB / 389 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.2294, allocations: 0.9513 MB / 389.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.2298, allocations: 59.42 kB / 390 MB, free: 9.609 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2298, allocations: 4 kB / 390 MB, free: 9.605 MB / 330.7 MB Notification: Performance of Templates: time 0.3041/0.5339, allocations: 20.35 MB / 410.3 MB, free: 47.01 MB / 330.7 MB