Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.864e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004375/0.1176, allocations: 2.719 MB / 347.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1195, allocations: 0.7716 MB / 348.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.1198, allocations: 11.94 kB / 348.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.12, allocations: 63.56 kB / 348.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.1206, allocations: 175.4 kB / 348.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1209, allocations: 91.83 kB / 348.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.1216, allocations: 355.5 kB / 349.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.1219, allocations: 112.5 kB / 349.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1221, allocations: 175.6 kB / 349.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.1225, allocations: 207.3 kB / 349.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1227, allocations: 28 kB / 349.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.1228, allocations: 28 kB / 349.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1229, allocations: 83.69 kB / 349.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1231, allocations: 56 kB / 349.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.1237, allocations: 458.9 kB / 350.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1238, allocations: 0 / 350.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1238, allocations: 0 / 350.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1238, allocations: 0 / 350.3 MB, free: 3.605 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001522/0.1253, allocations: 0.6955 MB / 351 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1254, allocations: 8.031 kB / 351 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1255, allocations: 59.34 kB / 351 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.1262, allocations: 349.7 kB / 351.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1264, allocations: 62.34 kB / 351.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.1265, allocations: 32 kB / 351.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1276, allocations: 460.9 kB / 351.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1276, allocations: 0 / 351.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.1277, allocations: 15.95 kB / 351.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1277, allocations: 8 kB / 351.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.1287, allocations: 286.5 kB / 352.2 MB, free: 1.5 MB / 282.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.003209/0.1319, allocations: 1.267 MB / 353.5 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.1339, allocations: 444.5 kB / 353.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.134, allocations: 8 kB / 353.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.134, allocations: 38.56 kB / 354 MB, free: 15.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.407e-06/0.134, allocations: 4 kB / 354 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001967/0.136, allocations: 0.6073 MB / 354.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/0.1363, allocations: 445 kB / 355 MB, free: 14.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.137, allocations: 373 kB / 355.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.1371, allocations: 37.64 kB / 355.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1373, allocations: 259 kB / 355.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1375, allocations: 118.3 kB / 355.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1375, allocations: 4 kB / 355.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1377, allocations: 322.8 kB / 356.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.1381, allocations: 112.6 kB / 356.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.1387, allocations: 256 kB / 356.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.1392, allocations: 159.4 kB / 356.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1392, allocations: 7.938 kB / 356.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001221/0.1405, allocations: 405.2 kB / 357 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.1405, allocations: 29.7 kB / 357 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1405, allocations: 0 / 357 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.1408, allocations: 57.72 kB / 357.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.1414, allocations: 63.91 kB / 357.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.1449, allocations: 2.775 MB / 359.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.1457, allocations: 51.72 kB / 360 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1457, allocations: 8 kB / 360 MB, free: 9.051 MB / 298.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 (36): * Single equations (assignments): 33 * 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.0003142/0.1461, allocations: 172.5 kB / 360.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1462, allocations: 51.44 kB / 360.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.1463, allocations: 56.69 kB / 360.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1464, allocations: 0 / 360.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1464, allocations: 4 kB / 360.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.1475, allocations: 0.6454 MB / 360.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.1496, allocations: 0.8965 MB / 361.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1496, allocations: 0 / 361.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.1503, allocations: 71.89 kB / 361.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1503, allocations: 0 / 361.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1503, allocations: 8 kB / 361.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1504, allocations: 4 kB / 361.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1504, allocations: 0 / 361.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.1519, allocations: 0.5386 MB / 362.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.1522, allocations: 152.5 kB / 362.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.1523, allocations: 8 kB / 362.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.1529, allocations: 27.83 kB / 362.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.153, allocations: 23.91 kB / 362.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.153, allocations: 8 kB / 362.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005032/0.1536, allocations: 295.1 kB / 362.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1536, allocations: 0 / 362.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006454/0.1542, allocations: 131.8 kB / 363.1 MB, free: 5.773 MB / 298.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 (32): * Single equations (assignments): 32 * 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.0001877/0.1544, allocations: 119.2 kB / 363.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.1559, allocations: 0.5595 MB / 363.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.156, allocations: 0 / 363.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.1564, allocations: 131.9 kB / 363.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.1574, allocations: 109.9 kB / 364 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1599, allocations: 1.077 MB / 365.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1604, allocations: 0.8239 MB / 365.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.1606, allocations: 39.42 kB / 365.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1607, allocations: 0 / 365.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of Templates: time 0.01732/0.178, allocations: 7.607 MB / 373.5 MB, free: 11.24 MB / 314.7 MB