Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.956e-05, allocations: 0 / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09057, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4806, allocations: 83.5 MB / 426.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4809, allocations: 77.08 kB / 426.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06129/0.5422, allocations: 15.64 MB / 441.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.95e-06/0.5422, allocations: 4 kB / 441.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-05/0.5423, allocations: 12 kB / 441.8 MB, free: 13.62 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.002148/0.5444, allocations: 0.9655 MB / 442.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5445, allocations: 12.03 kB / 442.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.5449, allocations: 94.97 kB / 442.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.546, allocations: 475.8 kB / 443.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.5462, allocations: 107 kB / 443.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5464, allocations: 54.62 kB / 443.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5478, allocations: 0.7262 MB / 444.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5479, allocations: 0 / 444.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.548, allocations: 32.44 kB / 444.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.548, allocations: 12 kB / 444.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5491, allocations: 433.6 kB / 444.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.5539, allocations: 2.039 MB / 446.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.5553, allocations: 494.7 kB / 447.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.5558, allocations: 233.8 kB / 447.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-05/0.5559, allocations: 13.62 kB / 447.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.5566, allocations: 301 kB / 447.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.273e-06/0.5566, allocations: 0 / 447.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002275/0.5589, allocations: 0.7065 MB / 448.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004963/0.5594, allocations: 0.8231 MB / 449.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.5604, allocations: 0.5102 MB / 449.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.5605, allocations: 44.08 kB / 449.8 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.5608, allocations: 321.5 kB / 450.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.5611, allocations: 202.7 kB / 450.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.5611, allocations: 11.94 kB / 450.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.5614, allocations: 384.4 kB / 450.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.5619, allocations: 178.4 kB / 450.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.5627, allocations: 490.2 kB / 451.4 MB, free: 5.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.5634, allocations: 272.7 kB / 451.6 MB, free: 4.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-06/0.5634, allocations: 0 / 451.6 MB, free: 4.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002476/0.5659, allocations: 0.8467 MB / 452.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.5659, allocations: 55.41 kB / 452.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.566, allocations: 4 kB / 452.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.5668, allocations: 197.6 kB / 452.7 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.5676, allocations: 127.8 kB / 452.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007539/0.5752, allocations: 4.097 MB / 457 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009043/0.5761, allocations: 95.45 kB / 457 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.5762, allocations: 23.98 kB / 457.1 MB, free: 15.17 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.0002525/0.5765, allocations: 152.9 kB / 457.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5767, allocations: 83.16 kB / 457.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.5769, allocations: 82.84 kB / 457.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.5769, allocations: 8 kB / 457.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-06/0.577, allocations: 0 / 457.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/0.5792, allocations: 0.9919 MB / 458.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.5827, allocations: 1.475 MB / 459.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5827, allocations: 0 / 459.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.5836, allocations: 123.8 kB / 460 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005893/0.5842, allocations: 142 kB / 460.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.5843, allocations: 19.98 kB / 460.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00576/0.5901, allocations: 3.523 MB / 463.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-06/0.5901, allocations: 0 / 463.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.5925, allocations: 0.9255 MB / 464.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/0.5931, allocations: 216.1 kB / 464.8 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5932, allocations: 12 kB / 464.8 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.5939, allocations: 56.09 kB / 464.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.5942, allocations: 52.47 kB / 464.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.5942, allocations: 16 kB / 464.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007525/0.595, allocations: 411.2 kB / 465.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.595, allocations: 0 / 465.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001109/0.5961, allocations: 271.7 kB / 465.6 MB, free: 6.141 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.0002855/0.5964, allocations: 144 kB / 465.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.5985, allocations: 0.9135 MB / 466.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.5986, allocations: 4 kB / 466.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5996, allocations: 0.4901 MB / 467.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6008, allocations: 199.1 kB / 467.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.6031, allocations: 0.8249 MB / 468.2 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.6039, allocations: 0.9433 MB / 469.1 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000529/0.6044, allocations: 81.19 kB / 469.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6047, allocations: 55.42 kB / 469.2 MB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6047, allocations: 0 / 469.2 MB, free: 2.371 MB / 378.7 MB Notification: Performance of Templates: time 0.03733/0.642, allocations: 14.45 MB / 483.7 MB, free: 4.059 MB / 394.7 MB