Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.886e-05, allocations: 1.406 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006203/0.1208, allocations: 3.894 MB / 348.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1238, allocations: 1.111 MB / 350 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.1245, allocations: 8 kB / 350 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1249, allocations: 103.2 kB / 350.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1262, allocations: 319 kB / 350.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1268, allocations: 167.7 kB / 350.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.1286, allocations: 0.6131 MB / 351.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.1291, allocations: 188.3 kB / 351.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.1298, allocations: 339.2 kB / 351.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.1306, allocations: 402.7 kB / 352.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.1309, allocations: 56 kB / 352.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.1311, allocations: 56 kB / 352.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1313, allocations: 159.4 kB / 352.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.1316, allocations: 104 kB / 352.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1329, allocations: 0.8374 MB / 353.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.133, allocations: 3.938 kB / 353.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.133, allocations: 0 / 353.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.302e-05/0.133, allocations: 0 / 353.3 MB, free: 0.5938 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003198/0.1362, allocations: 1.073 MB / 354.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1363, allocations: 16.02 kB / 354.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.1367, allocations: 106.8 kB / 354.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.1381, allocations: 0.5162 MB / 355 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005184/0.1387, allocations: 174.4 kB / 355.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.1389, allocations: 59.98 kB / 355.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.1414, allocations: 0.8665 MB / 356.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1415, allocations: 0 / 356.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.1417, allocations: 35.95 kB / 356.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1417, allocations: 12 kB / 356.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.1445, allocations: 0.6609 MB / 356.8 MB, free: 12.85 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.00583/0.1504, allocations: 2.034 MB / 358.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.153, allocations: 0.889 MB / 359.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.1531, allocations: 16.64 kB / 359.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.1532, allocations: 47.17 kB / 359.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 4.158e-06/0.1532, allocations: 0 / 359.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.009982/0.1632, allocations: 1.983 MB / 361.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000401/0.1637, allocations: 0.8272 MB / 362.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.1647, allocations: 0.5074 MB / 363.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.1649, allocations: 49.7 kB / 363.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.1653, allocations: 351.5 kB / 363.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.1657, allocations: 252.3 kB / 363.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1658, allocations: 16 kB / 363.8 MB, free: 5.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.166, allocations: 342.8 kB / 364.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.1674, allocations: 301.8 kB / 364.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.1692, allocations: 0.5741 MB / 365 MB, free: 4.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.1707, allocations: 435.9 kB / 365.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1708, allocations: 0 / 365.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005042/0.1758, allocations: 1.146 MB / 366.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-05/0.176, allocations: 81.11 kB / 366.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.176, allocations: 4 kB / 366.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.1772, allocations: 251.2 kB / 366.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.1786, allocations: 155.8 kB / 367 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.1913, allocations: 6.579 MB / 373.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.1931, allocations: 127.4 kB / 373.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.1932, allocations: 20 kB / 373.7 MB, free: 10.7 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 (69): * Single equations (assignments): 62 * 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.0005572/0.1938, allocations: 213.7 kB / 373.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.1941, allocations: 95 kB / 374 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1944, allocations: 87.34 kB / 374.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.1944, allocations: 12 kB / 374.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1944, allocations: 0 / 374.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004765/0.1992, allocations: 1.342 MB / 375.5 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/0.2064, allocations: 1.968 MB / 377.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.2065, allocations: 4 kB / 377.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.208, allocations: 155.8 kB / 377.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009995/0.209, allocations: 206.6 kB / 377.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.2092, allocations: 16 kB / 377.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.2205, allocations: 5.138 MB / 383 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2205, allocations: 0 / 383 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.2272, allocations: 1.519 MB / 384.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.2279, allocations: 239.9 kB / 384.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.2282, allocations: 20 kB / 384.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.2296, allocations: 67.89 kB / 384.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.2299, allocations: 68.5 kB / 384.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.175e-05/0.23, allocations: 16 kB / 384.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000828/0.2308, allocations: 415.1 kB / 385.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2309, allocations: 7.938 kB / 385.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001361/0.2322, allocations: 271.8 kB / 385.6 MB, free: 14.23 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.0002729/0.2325, allocations: 123.2 kB / 385.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.2368, allocations: 1.418 MB / 387.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.2369, allocations: 4 kB / 387.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.2397, allocations: 0.8043 MB / 387.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.2415, allocations: 205.7 kB / 388.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.2466, allocations: 1.928 MB / 390 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.2474, allocations: 0.9552 MB / 391 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.2478, allocations: 67.42 kB / 391 MB, free: 8.543 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2478, allocations: 3.938 kB / 391.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of Templates: time 0.3449/0.5928, allocations: 20.82 MB / 411.9 MB, free: 46.4 MB / 330.7 MB