Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.169e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.4 MB / 345 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006219/0.1188, allocations: 3.78 MB / 348.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.122, allocations: 1.224 MB / 350 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.1226, allocations: 11.94 kB / 350 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1229, allocations: 95.33 kB / 350.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.1239, allocations: 326.9 kB / 350.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.1245, allocations: 159.7 kB / 350.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.1258, allocations: 0.5382 MB / 351.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.1262, allocations: 183.6 kB / 351.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.1268, allocations: 303.3 kB / 351.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.1274, allocations: 350.8 kB / 351.9 MB, free: 2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.1276, allocations: 48 kB / 351.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1278, allocations: 44 kB / 352 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.128, allocations: 139.4 kB / 352.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1283, allocations: 88 kB / 352.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1294, allocations: 0.7401 MB / 353 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1294, allocations: 4 kB / 353 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1294, allocations: 0 / 353 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.1294, allocations: 0 / 353 MB, free: 0.9414 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002778/0.1322, allocations: 0.9838 MB / 353.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1323, allocations: 12.03 kB / 354 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.1326, allocations: 94.97 kB / 354 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.1336, allocations: 451.5 kB / 354.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.1338, allocations: 100.7 kB / 354.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.134, allocations: 51.98 kB / 354.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.1362, allocations: 0.7926 MB / 355.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1363, allocations: 4 kB / 355.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1364, allocations: 31.95 kB / 355.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1365, allocations: 12 kB / 355.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1387, allocations: 0.5309 MB / 356 MB, free: 13.68 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.005412/0.1442, allocations: 2.107 MB / 358.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.1468, allocations: 0.6113 MB / 358.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/0.147, allocations: 21.58 kB / 358.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.1482, allocations: 335 kB / 359.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 3.577e-06/0.1483, allocations: 0 / 359.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.009297/0.1576, allocations: 1.584 MB / 360.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004819/0.1581, allocations: 0.8194 MB / 361.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/0.159, allocations: 475.5 kB / 361.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.1592, allocations: 41.7 kB / 362 MB, free: 7.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.1596, allocations: 351.2 kB / 362.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.1599, allocations: 193.2 kB / 362.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.16, allocations: 16 kB / 362.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1601, allocations: 330.8 kB / 362.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.1612, allocations: 225 kB / 363.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.1627, allocations: 0.5325 MB / 363.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.1639, allocations: 325.4 kB / 363.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.164, allocations: 0 / 363.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004812/0.1688, allocations: 0.8239 MB / 364.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.169, allocations: 55.41 kB / 364.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.169, allocations: 7.984 kB / 364.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.1709, allocations: 225.5 kB / 365 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.1727, allocations: 123.8 kB / 365.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.1868, allocations: 4.389 MB / 369.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.1883, allocations: 87.48 kB / 369.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.1884, allocations: 23.98 kB / 369.6 MB, free: 15.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004836/0.1889, allocations: 221.8 kB / 369.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.1891, allocations: 83.02 kB / 369.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1894, allocations: 74.86 kB / 370 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1894, allocations: 8 kB / 370 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1894, allocations: 0 / 370 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003681/0.1931, allocations: 1.097 MB / 371.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.198, allocations: 1.591 MB / 372.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.198, allocations: 0 / 372.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.1993, allocations: 111.9 kB / 372.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009565/0.2002, allocations: 185.5 kB / 373 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.2003, allocations: 12 kB / 373 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008268/0.2086, allocations: 3.714 MB / 376.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2086, allocations: 0 / 376.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.2129, allocations: 1.07 MB / 377.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.2135, allocations: 204 kB / 378 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.2137, allocations: 23.95 kB / 378 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.2149, allocations: 56.02 kB / 378.1 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.2151, allocations: 48.48 kB / 378.1 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.2152, allocations: 19.98 kB / 378.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006836/0.2159, allocations: 375.1 kB / 378.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2159, allocations: 0 / 378.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001183/0.2171, allocations: 243.7 kB / 378.7 MB, free: 5.527 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.2174, allocations: 128.5 kB / 378.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.2212, allocations: 1.05 MB / 379.9 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.2212, allocations: 4 kB / 379.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.223, allocations: 0.5594 MB / 380.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.2243, allocations: 179.4 kB / 380.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.2292, allocations: 1.578 MB / 382.2 MB, free: 1.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/0.2302, allocations: 0.9312 MB / 383.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.2306, allocations: 55.3 kB / 383.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2306, allocations: 4 kB / 383.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of Templates: time 0.04127/0.2719, allocations: 14.78 MB / 398 MB, free: 2.219 MB / 330.7 MB