Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.022e-05, allocations: 3.984 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09604, allocations: 50.42 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4607, allocations: 82.87 MB / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.461, allocations: 73.72 kB / 425.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06127/0.5222, allocations: 13.8 MB / 439.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.37e-06/0.5223, allocations: 11.94 kB / 439.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.74e-05/0.5224, allocations: 12 kB / 439.3 MB, free: 15.75 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.003144/0.5256, allocations: 0.9026 MB / 440.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.5257, allocations: 12.03 kB / 440.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.526, allocations: 83.06 kB / 440.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.5276, allocations: 446 kB / 440.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.5279, allocations: 97.34 kB / 440.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.5282, allocations: 49.06 kB / 440.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.5303, allocations: 0.6068 MB / 441.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.5303, allocations: 3.938 kB / 441.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.5305, allocations: 22.5 kB / 441.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.5305, allocations: 8 kB / 441.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5323, allocations: 374.5 kB / 441.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00782/0.5401, allocations: 1.895 MB / 443.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.5448, allocations: 0.665 MB / 444.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.5459, allocations: 227.5 kB / 444.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.546, allocations: 15.98 kB / 444.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/0.5461, allocations: 42.19 kB / 444.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 6.13e-06/0.5462, allocations: 0 / 444.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.004698/0.5509, allocations: 0.6715 MB / 445.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005495/0.5515, allocations: 0.5719 MB / 446 MB, free: 9.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.5524, allocations: 472.1 kB / 446.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.5526, allocations: 36.83 kB / 446.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5528, allocations: 287.9 kB / 446.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.5531, allocations: 196.6 kB / 446.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.5532, allocations: 13.12 kB / 447 MB, free: 9.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.5534, allocations: 369.8 kB / 447.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.5539, allocations: 162 kB / 447.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.5546, allocations: 368.8 kB / 447.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.5551, allocations: 227.7 kB / 448.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.372e-06/0.5552, allocations: 0 / 448.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00245/0.5576, allocations: 0.7488 MB / 448.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.5577, allocations: 29.7 kB / 448.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-06/0.5577, allocations: 0 / 448.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009974/0.5587, allocations: 197.4 kB / 449 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5598, allocations: 145.4 kB / 449.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008375/0.5682, allocations: 5.003 MB / 454.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/0.5691, allocations: 91.58 kB / 454.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.246e-05/0.5692, allocations: 20 kB / 454.3 MB, free: 1.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.5694, allocations: 141.1 kB / 454.4 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5696, allocations: 71.2 kB / 454.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.5722, allocations: 0.7226 MB / 455.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5722, allocations: 11.98 kB / 455.2 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-06/0.5722, allocations: 0 / 455.2 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/0.5746, allocations: 0.9802 MB / 456.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.5786, allocations: 1.464 MB / 457.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.248e-06/0.5787, allocations: 0 / 457.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.5798, allocations: 143.8 kB / 457.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008279/0.5806, allocations: 153.6 kB / 458 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.5807, allocations: 11.98 kB / 458 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.5867, allocations: 3.404 MB / 461.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.475e-06/0.5867, allocations: 3.984 kB / 461.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.5897, allocations: 0.9841 MB / 462.4 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006611/0.5904, allocations: 200.1 kB / 462.6 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.5907, allocations: 16 kB / 462.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.5917, allocations: 47.92 kB / 462.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.592, allocations: 44.48 kB / 462.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.592, allocations: 19.98 kB / 462.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008123/0.5929, allocations: 369.6 kB / 463 MB, free: 8.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.5929, allocations: 0 / 463 MB, free: 8.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001114/0.594, allocations: 223.8 kB / 463.3 MB, free: 8.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.5943, allocations: 143 kB / 463.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.5966, allocations: 0.8848 MB / 464.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.045e-06/0.5967, allocations: 4.062 kB / 464.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.598, allocations: 493.5 kB / 464.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5992, allocations: 170.7 kB / 464.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.6017, allocations: 0.9026 MB / 465.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.6025, allocations: 0.9036 MB / 466.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005416/0.603, allocations: 77.12 kB / 466.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.6032, allocations: 55.42 kB / 466.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of SimCode: time 1.568e-06/0.6032, allocations: 0 / 466.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of Templates: time 0.03304/0.6363, allocations: 12.5 MB / 479.4 MB, free: 8.324 MB / 394.7 MB