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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.383e-05, allocations: 7.984 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09403, allocations: 50.41 MB / 343.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4152/0.5093, allocations: 82.62 MB / 425.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.5095, allocations: 74.23 kB / 425.8 MB, free: 8.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04806/0.5576, allocations: 13.8 MB / 439.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.062e-06/0.5576, allocations: 3.938 kB / 439.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.5577, allocations: 15.5 kB / 439.6 MB, free: 3.504 MB / 330.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.001486/0.5591, allocations: 0.8993 MB / 440.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5592, allocations: 7.688 kB / 440.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.5594, allocations: 89.45 kB / 440.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.5601, allocations: 447.4 kB / 441 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.5603, allocations: 99.11 kB / 441.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.5604, allocations: 46.78 kB / 441.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009879/0.5614, allocations: 0.6011 MB / 441.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5614, allocations: 3.938 kB / 441.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.5615, allocations: 28.33 kB / 441.8 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5615, allocations: 11.53 kB / 441.8 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.5624, allocations: 371.7 kB / 442.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.566, allocations: 1.896 MB / 444.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.568, allocations: 0.6661 MB / 444.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.5685, allocations: 229.2 kB / 445 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.5686, allocations: 12 kB / 445 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5686, allocations: 41.47 kB / 445 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.459e-06/0.5686, allocations: 4 kB / 445 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002079/0.5707, allocations: 0.6755 MB / 445.7 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.5709, allocations: 0.5641 MB / 446.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/0.5716, allocations: 474.6 kB / 446.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/0.5717, allocations: 38.36 kB / 446.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.572, allocations: 289.5 kB / 447 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.5722, allocations: 192.6 kB / 447.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.5722, allocations: 9.938 kB / 447.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.5725, allocations: 370.2 kB / 447.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.5729, allocations: 163.9 kB / 447.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.5735, allocations: 367.5 kB / 448.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.574, allocations: 227.4 kB / 448.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-06/0.574, allocations: 0 / 448.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0022/0.5762, allocations: 0.7488 MB / 449.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.5763, allocations: 33.56 kB / 449.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.233e-06/0.5763, allocations: 3.969 kB / 449.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/0.5772, allocations: 193.3 kB / 449.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000911/0.5782, allocations: 139.1 kB / 449.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/0.5858, allocations: 5.012 MB / 454.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.5867, allocations: 89.34 kB / 454.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.5868, allocations: 19.3 kB / 454.6 MB, free: 10.27 MB / 346.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.0002061/0.587, allocations: 143.3 kB / 454.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5872, allocations: 69.55 kB / 454.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.5894, allocations: 0.7251 MB / 455.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-06/0.5894, allocations: 7.719 kB / 455.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5894, allocations: 0 / 455.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.5915, allocations: 0.9872 MB / 456.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.595, allocations: 1.461 MB / 457.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.961e-06/0.595, allocations: 4 kB / 458 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.596, allocations: 141.5 kB / 458.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007659/0.5968, allocations: 151.1 kB / 458.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.5969, allocations: 10.56 kB / 458.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.6026, allocations: 3.411 MB / 461.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-06/0.6026, allocations: 4.031 kB / 461.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.6055, allocations: 0.9797 MB / 462.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.6059, allocations: 206.3 kB / 462.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6061, allocations: 14.5 kB / 462.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.6067, allocations: 46.55 kB / 462.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.6069, allocations: 46.92 kB / 462.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.6069, allocations: 15.19 kB / 463 MB, free: 4.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006519/0.6076, allocations: 379.8 kB / 463.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.6076, allocations: 0 / 463.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001013/0.6086, allocations: 220.3 kB / 463.5 MB, free: 3.719 MB / 346.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.0002533/0.6089, allocations: 142.9 kB / 463.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.611, allocations: 0.8916 MB / 464.6 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.606e-06/0.611, allocations: 0 / 464.6 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6121, allocations: 494 kB / 465.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6132, allocations: 169 kB / 465.2 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.6156, allocations: 0.9145 MB / 466.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.6163, allocations: 0.9036 MB / 467 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.6168, allocations: 69.14 kB / 467.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.617, allocations: 55.42 kB / 467.2 MB, free: 392 kB / 346.7 MB Notification: Performance of SimCode: time 1.515e-06/0.617, allocations: 0 / 467.2 MB, free: 392 kB / 346.7 MB Notification: Performance of Templates: time 0.03972/0.6568, allocations: 12.48 MB / 479.7 MB, free: 4.016 MB / 362.7 MB