Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.894e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09017, allocations: 50.43 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5378, allocations: 83.51 MB / 426.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5381, allocations: 76.83 kB / 426.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06129/0.5994, allocations: 15.63 MB / 442.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.5995, allocations: 0 / 442.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.18e-05/0.5995, allocations: 15.98 kB / 442.3 MB, free: 13.64 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.002121/0.6017, allocations: 0.9701 MB / 443.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6017, allocations: 8.031 kB / 443.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.602, allocations: 94.97 kB / 443.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.6029, allocations: 473 kB / 443.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.6032, allocations: 106.5 kB / 443.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.6033, allocations: 53.88 kB / 444 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6047, allocations: 0.7346 MB / 444.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.6048, allocations: 0 / 444.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.645e-05/0.6049, allocations: 28.95 kB / 444.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.6049, allocations: 12 kB / 444.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.606, allocations: 439.5 kB / 445.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.6107, allocations: 2.035 MB / 447.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.6121, allocations: 495.4 kB / 447.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.6126, allocations: 232.8 kB / 447.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.6127, allocations: 20.94 kB / 448 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.6134, allocations: 296.4 kB / 448.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.103e-06/0.6134, allocations: 0 / 448.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002181/0.6156, allocations: 0.7008 MB / 449 MB, free: 8.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004991/0.6161, allocations: 0.8262 MB / 449.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.617, allocations: 0.5112 MB / 450.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/0.6171, allocations: 43.77 kB / 450.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.6174, allocations: 324.5 kB / 450.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.6177, allocations: 194.8 kB / 450.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.6177, allocations: 10.5 kB / 450.9 MB, free: 6.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.618, allocations: 383.6 kB / 451.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.6185, allocations: 180.5 kB / 451.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.6193, allocations: 486.2 kB / 451.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.62, allocations: 276.7 kB / 452.2 MB, free: 4.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.045e-06/0.62, allocations: 4 kB / 452.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00242/0.6224, allocations: 0.8427 MB / 453 MB, free: 4.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.6225, allocations: 63.41 kB / 453.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-06/0.6225, allocations: 0 / 453.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.6233, allocations: 201.6 kB / 453.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.6242, allocations: 127.8 kB / 453.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007308/0.6315, allocations: 4.085 MB / 457.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/0.6324, allocations: 95.45 kB / 457.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.6325, allocations: 27.97 kB / 457.6 MB, free: 15.21 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.0002567/0.6328, allocations: 165.6 kB / 457.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.633, allocations: 75.16 kB / 457.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.6332, allocations: 78.84 kB / 457.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6332, allocations: 8 kB / 457.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.005e-06/0.6332, allocations: 0 / 457.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/0.6354, allocations: 0.9919 MB / 458.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.6386, allocations: 1.483 MB / 460.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-06/0.6386, allocations: 0 / 460.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.6394, allocations: 123.8 kB / 460.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005871/0.64, allocations: 146 kB / 460.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.6401, allocations: 15.98 kB / 460.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.6457, allocations: 3.515 MB / 464.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.902e-06/0.6458, allocations: 0 / 464.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.6481, allocations: 0.9295 MB / 465.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.6487, allocations: 212.1 kB / 465.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.6488, allocations: 24.12 kB / 465.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.6495, allocations: 43.97 kB / 465.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.6497, allocations: 52.47 kB / 465.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.6497, allocations: 16 kB / 465.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007411/0.6505, allocations: 411.2 kB / 465.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6505, allocations: 0 / 465.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001109/0.6516, allocations: 271.7 kB / 466.1 MB, free: 6.188 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.000276/0.6519, allocations: 143.4 kB / 466.3 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.654, allocations: 0.9135 MB / 467.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.132e-06/0.654, allocations: 4.188 kB / 467.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.655, allocations: 0.494 MB / 467.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6561, allocations: 203 kB / 467.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.6584, allocations: 0.825 MB / 468.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.6591, allocations: 0.9433 MB / 469.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.6596, allocations: 77.2 kB / 469.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.6598, allocations: 55.42 kB / 469.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.474e-06/0.6598, allocations: 0 / 469.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of Templates: time 0.04683/0.7066, allocations: 14.45 MB / 484.2 MB, free: 4.105 MB / 394.7 MB