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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.347e-05, allocations: 8 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08667, allocations: 47.57 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4484, allocations: 83.36 MB / 400.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4487, allocations: 77.25 kB / 400.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05645/0.5051, allocations: 13.98 MB / 414.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.5052, allocations: 0 / 414.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.127e-05/0.5052, allocations: 12 kB / 414.4 MB, free: 9.023 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.002043/0.5073, allocations: 0.8974 MB / 415.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5073, allocations: 8.031 kB / 415.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.5076, allocations: 87.06 kB / 415.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/0.5086, allocations: 449.3 kB / 415.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.5088, allocations: 107.4 kB / 415.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.509, allocations: 43.19 kB / 415.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5102, allocations: 0.5909 MB / 416.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5103, allocations: 7.938 kB / 416.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.5103, allocations: 19.31 kB / 416.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.5104, allocations: 16 kB / 416.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009672/0.5114, allocations: 377.9 kB / 416.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.5158, allocations: 1.901 MB / 418.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.5182, allocations: 0.6543 MB / 419.5 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.5188, allocations: 231.7 kB / 419.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.02e-05/0.5188, allocations: 24.52 kB / 419.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.5189, allocations: 50.64 kB / 419.8 MB, free: 4.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 4.065e-06/0.5189, allocations: 0 / 419.8 MB, free: 4.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002363/0.5213, allocations: 0.669 MB / 420.5 MB, free: 3.883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000352/0.5217, allocations: 0.5684 MB / 421 MB, free: 3.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.5226, allocations: 473.7 kB / 421.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.5228, allocations: 41.2 kB / 421.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.523, allocations: 284.2 kB / 421.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.5233, allocations: 195.1 kB / 422 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.5234, allocations: 10.5 kB / 422 MB, free: 2.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.5236, allocations: 373 kB / 422.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.5241, allocations: 161 kB / 422.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.5248, allocations: 371 kB / 422.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.5253, allocations: 227.7 kB / 423.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.263e-06/0.5253, allocations: 0 / 423.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002494/0.5278, allocations: 0.7512 MB / 423.9 MB, free: 0.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.5279, allocations: 41.72 kB / 423.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.755e-06/0.5279, allocations: 0 / 423.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009875/0.5289, allocations: 197.8 kB / 424.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.53, allocations: 131.3 kB / 424.2 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.5381, allocations: 5.016 MB / 429.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.539, allocations: 85.56 kB / 429.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.5391, allocations: 19.67 kB / 429.3 MB, free: 11.57 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.0002313/0.5394, allocations: 145.2 kB / 429.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.5396, allocations: 71.19 kB / 429.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.542, allocations: 0.7207 MB / 430.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.542, allocations: 8 kB / 430.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-06/0.5421, allocations: 0 / 430.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/0.5443, allocations: 0.9808 MB / 431.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.5481, allocations: 1.461 MB / 432.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.928e-06/0.5481, allocations: 0 / 432.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5492, allocations: 138.6 kB / 432.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008176/0.55, allocations: 157.5 kB / 433 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.5501, allocations: 13.25 kB / 433 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.556, allocations: 3.392 MB / 436.4 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.739e-06/0.556, allocations: 4.062 kB / 436.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.5589, allocations: 0.9779 MB / 437.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.5595, allocations: 203.3 kB / 437.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.5596, allocations: 17.62 kB / 437.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.5602, allocations: 45.95 kB / 437.7 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5604, allocations: 46.55 kB / 437.7 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.5605, allocations: 15.69 kB / 437.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006685/0.5611, allocations: 376.1 kB / 438.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.5612, allocations: 0 / 438.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001048/0.5622, allocations: 233.8 kB / 438.3 MB, free: 3.633 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.0002518/0.5625, allocations: 132.4 kB / 438.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.5646, allocations: 0.8822 MB / 439.3 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.639e-06/0.5647, allocations: 3.938 kB / 439.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.5659, allocations: 0.4889 MB / 439.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.567, allocations: 170.9 kB / 440 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.5694, allocations: 0.8947 MB / 440.9 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.5701, allocations: 0.9036 MB / 441.8 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.5707, allocations: 77.12 kB / 441.9 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.5709, allocations: 51.25 kB / 441.9 MB, free: 328 kB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5709, allocations: 0 / 441.9 MB, free: 328 kB / 346.7 MB Notification: Performance of Templates: time 0.03311/0.604, allocations: 12.5 MB / 454.4 MB, free: 3.879 MB / 362.7 MB