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.05/2.05, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.473e-05, allocations: 2.031 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 50.42 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5781, allocations: 83.57 MB / 426.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5784, allocations: 73.64 kB / 426.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06092/0.6393, allocations: 15.64 MB / 441.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.161e-06/0.6393, allocations: 0 / 441.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.995e-05/0.6394, allocations: 16 kB / 441.8 MB, free: 13.53 MB / 362.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.002063/0.6415, allocations: 0.9601 MB / 442.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6415, allocations: 8.031 kB / 442.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.6418, allocations: 94.97 kB / 442.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.6427, allocations: 480.1 kB / 443.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.6429, allocations: 109.5 kB / 443.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.643, allocations: 50.5 kB / 443.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6445, allocations: 0.7286 MB / 444.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.6445, allocations: 0 / 444.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.6446, allocations: 37.38 kB / 444.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.6447, allocations: 16 kB / 444.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6457, allocations: 428 kB / 444.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.6504, allocations: 2.036 MB / 446.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6517, allocations: 0.4924 MB / 447.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.6522, allocations: 232.8 kB / 447.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.6523, allocations: 21.25 kB / 447.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/0.653, allocations: 292.8 kB / 447.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.331e-06/0.653, allocations: 0 / 447.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002246/0.6553, allocations: 0.7074 MB / 448.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004935/0.6558, allocations: 0.8192 MB / 449.3 MB, free: 7.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.6567, allocations: 0.5151 MB / 449.8 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6569, allocations: 44.27 kB / 449.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.6571, allocations: 341.4 kB / 450.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.6574, allocations: 198.9 kB / 450.4 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.6575, allocations: 14.62 kB / 450.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6576, allocations: 328.8 kB / 450.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.6581, allocations: 184.7 kB / 450.9 MB, free: 5.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.6589, allocations: 479.7 kB / 451.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.6595, allocations: 281.4 kB / 451.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6595, allocations: 0 / 451.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002301/0.6619, allocations: 0.7937 MB / 452.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.6619, allocations: 63.39 kB / 452.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.662, allocations: 0 / 452.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.6627, allocations: 194.7 kB / 452.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.6636, allocations: 127.8 kB / 452.8 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.6711, allocations: 4.1 MB / 456.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/0.672, allocations: 95.53 kB / 457 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.6721, allocations: 20 kB / 457 MB, free: 15.55 MB / 378.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 (50): * Single equations (assignments): 46 * 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.0002619/0.6724, allocations: 157.7 kB / 457.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.6726, allocations: 79.06 kB / 457.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.6728, allocations: 90.8 kB / 457.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.092e-06/0.6728, allocations: 4 kB / 457.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6728, allocations: 0 / 457.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002201/0.675, allocations: 0.9958 MB / 458.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.6784, allocations: 1.475 MB / 459.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-06/0.6785, allocations: 4 kB / 459.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/0.6793, allocations: 119.8 kB / 460 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005895/0.68, allocations: 153.5 kB / 460.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.68, allocations: 12 kB / 460.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/0.6857, allocations: 3.516 MB / 463.6 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6858, allocations: 128 / 463.6 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.6881, allocations: 0.9296 MB / 464.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.6886, allocations: 216 kB / 464.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6888, allocations: 16 kB / 464.8 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.6895, allocations: 56.02 kB / 464.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.6897, allocations: 52.48 kB / 464.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.6897, allocations: 15.98 kB / 464.9 MB, free: 7.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007318/0.6905, allocations: 407.2 kB / 465.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.091e-06/0.6905, allocations: 0 / 465.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001093/0.6916, allocations: 271.7 kB / 465.6 MB, free: 6.52 MB / 378.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 (44): * Single equations (assignments): 40 * 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.0002816/0.6919, allocations: 147.1 kB / 465.7 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.694, allocations: 0.9135 MB / 466.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.333e-06/0.694, allocations: 0 / 466.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.695, allocations: 493.9 kB / 467.1 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6962, allocations: 190.9 kB / 467.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.6986, allocations: 0.8734 MB / 468.2 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/0.6993, allocations: 0.9317 MB / 469.1 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.6996, allocations: 63.42 kB / 469.2 MB, free: 2.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.566e-06/0.6996, allocations: 0 / 469.2 MB, free: 2.793 MB / 378.7 MB Notification: Performance of Templates: time 0.02626/0.7259, allocations: 15.29 MB / 484.5 MB, free: 3.551 MB / 394.7 MB