Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 2.242/2.242, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.508e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004806/0.1215, allocations: 2.865 MB / 347.8 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1236, allocations: 0.7988 MB / 348.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.124, allocations: 8 kB / 348.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1243, allocations: 67.5 kB / 348.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.1249, allocations: 183.4 kB / 348.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1253, allocations: 91.89 kB / 349 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008032/0.1261, allocations: 375.4 kB / 349.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.1264, allocations: 108.2 kB / 349.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.1267, allocations: 191.5 kB / 349.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.1271, allocations: 223.2 kB / 349.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1273, allocations: 31.94 kB / 349.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.644e-05/0.1274, allocations: 32 kB / 349.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1275, allocations: 87.66 kB / 350 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1277, allocations: 60 kB / 350.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.1284, allocations: 494.9 kB / 350.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1285, allocations: 3.938 kB / 350.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1285, allocations: 0 / 350.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.1285, allocations: 0 / 350.6 MB, free: 3.309 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001916/0.1304, allocations: 0.7383 MB / 351.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1305, allocations: 8.031 kB / 351.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.1307, allocations: 67.34 kB / 351.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.1317, allocations: 397.6 kB / 351.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.1321, allocations: 82.31 kB / 351.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.1322, allocations: 36 kB / 351.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1337, allocations: 497 kB / 352.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1337, allocations: 3.938 kB / 352.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.1338, allocations: 19.95 kB / 352.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1338, allocations: 8 kB / 352.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.1354, allocations: 382.4 kB / 352.8 MB, free: 0.9453 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.003272/0.1387, allocations: 1.263 MB / 354 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.14, allocations: 407.3 kB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.1401, allocations: 11.98 kB / 354.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1401, allocations: 42.5 kB / 354.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 4.779e-06/0.1401, allocations: 0 / 354.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.003032/0.1432, allocations: 0.79 MB / 355.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.1434, allocations: 448.9 kB / 355.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.1441, allocations: 373 kB / 356.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/0.1442, allocations: 33.7 kB / 356.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1445, allocations: 267 kB / 356.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.1447, allocations: 130.2 kB / 356.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1447, allocations: 4 kB / 356.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1448, allocations: 322.8 kB / 356.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.1456, allocations: 163.8 kB / 357 MB, free: 12.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.1466, allocations: 306.7 kB / 357.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/0.1474, allocations: 211.1 kB / 357.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1474, allocations: 0 / 357.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001873/0.1493, allocations: 490.7 kB / 358 MB, free: 11.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.1494, allocations: 36.66 kB / 358 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1494, allocations: 4 kB / 358 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.1496, allocations: 49.66 kB / 358 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.1505, allocations: 95.88 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.1539, allocations: 2.772 MB / 360.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.1549, allocations: 67.62 kB / 361 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.155, allocations: 12 kB / 361 MB, free: 8.059 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 (37): * Single equations (assignments): 34 * 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.0003378/0.1554, allocations: 174.5 kB / 361.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1555, allocations: 55.39 kB / 361.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.1557, allocations: 56.75 kB / 361.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1557, allocations: 4 kB / 361.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1557, allocations: 0 / 361.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002533/0.1583, allocations: 0.775 MB / 362 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.1614, allocations: 1.04 MB / 363.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1614, allocations: 0 / 363.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/0.1623, allocations: 99.88 kB / 363.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.1624, allocations: 0 / 363.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.1624, allocations: 7.984 kB / 363.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1624, allocations: 4 kB / 363.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1624, allocations: 4 kB / 363.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.1651, allocations: 0.71 MB / 363.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.1655, allocations: 164.3 kB / 364.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.1656, allocations: 12 kB / 364.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.1664, allocations: 40.03 kB / 364.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1665, allocations: 27.95 kB / 364.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.1666, allocations: 8 kB / 364.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000544/0.1671, allocations: 299.1 kB / 364.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1672, allocations: 0 / 364.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007074/0.1679, allocations: 131.8 kB / 364.6 MB, free: 4.258 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 (35): * Single equations (assignments): 35 * 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.0001957/0.1681, allocations: 115.2 kB / 364.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.1704, allocations: 0.692 MB / 365.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.1704, allocations: 4 kB / 365.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008234/0.1712, allocations: 199.6 kB / 365.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1723, allocations: 128.7 kB / 365.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.175, allocations: 1.14 MB / 366.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1755, allocations: 0.8354 MB / 367.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.1758, allocations: 39.42 kB / 367.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1758, allocations: 0 / 367.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of Templates: time 0.01997/0.1958, allocations: 8.213 MB / 375.9 MB, free: 8.832 MB / 314.7 MB