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.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.165e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08372, allocations: 44.51 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.4735, allocations: 78.12 MB / 378 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4738, allocations: 71.91 kB / 378.1 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05119/0.525, allocations: 13.79 MB / 391.9 MB, free: 20.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.525, allocations: 3.938 kB / 391.9 MB, free: 20.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.5251, allocations: 11.72 kB / 391.9 MB, free: 20.08 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001686/0.5268, allocations: 0.8794 MB / 392.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5268, allocations: 7.812 kB / 392.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.527, allocations: 85.91 kB / 392.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.5278, allocations: 451.4 kB / 393.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.528, allocations: 105.2 kB / 393.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5281, allocations: 45.5 kB / 393.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5292, allocations: 0.5867 MB / 394 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.5293, allocations: 4 kB / 394 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.5294, allocations: 18.91 kB / 394 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.5294, allocations: 11.78 kB / 394.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.5303, allocations: 376.5 kB / 394.4 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.5344, allocations: 1.877 MB / 396.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.5366, allocations: 0.6586 MB / 397 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.5372, allocations: 232.7 kB / 397.2 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.5373, allocations: 22.73 kB / 397.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5373, allocations: 45.81 kB / 397.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.759e-06/0.5373, allocations: 3.938 kB / 397.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002358/0.5397, allocations: 0.6665 MB / 397.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5398, allocations: 0.5707 MB / 398.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.5406, allocations: 462.7 kB / 398.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.5407, allocations: 36.48 kB / 399 MB, free: 17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.5409, allocations: 273.1 kB / 399.2 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5411, allocations: 192.5 kB / 399.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.5412, allocations: 14.47 kB / 399.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5413, allocations: 366.2 kB / 399.8 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.5417, allocations: 167.6 kB / 400 MB, free: 16.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.5423, allocations: 365.3 kB / 400.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.5428, allocations: 234.7 kB / 400.6 MB, free: 16.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-06/0.5428, allocations: 3.328 kB / 400.6 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002374/0.5452, allocations: 0.7457 MB / 401.3 MB, free: 16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.5453, allocations: 40.53 kB / 401.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.047e-06/0.5453, allocations: 0 / 401.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.5463, allocations: 201.1 kB / 401.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.5472, allocations: 139.5 kB / 401.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/0.5547, allocations: 5.014 MB / 406.7 MB, free: 28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.5556, allocations: 96.89 kB / 406.8 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.5556, allocations: 15.56 kB / 406.8 MB, free: 27.96 MB / 330.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.0002136/0.5559, allocations: 143.2 kB / 406.9 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.556, allocations: 70.25 kB / 407 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5585, allocations: 0.7152 MB / 407.7 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5585, allocations: 3.875 kB / 407.7 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-06/0.5586, allocations: 0 / 407.7 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/0.5609, allocations: 0.9899 MB / 408.7 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.5644, allocations: 1.447 MB / 410.2 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.038e-06/0.5645, allocations: 3.812 kB / 410.2 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.5656, allocations: 145.1 kB / 410.3 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008829/0.5665, allocations: 156.6 kB / 410.5 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.5666, allocations: 18.41 kB / 410.5 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/0.5724, allocations: 3.403 MB / 413.9 MB, free: 24.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-06/0.5724, allocations: 128 / 413.9 MB, free: 24.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.5753, allocations: 0.9838 MB / 414.9 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.5758, allocations: 200.2 kB / 415.1 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.576, allocations: 17.44 kB / 415.1 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.5766, allocations: 42.16 kB / 415.1 MB, free: 23.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5768, allocations: 46.47 kB / 415.2 MB, free: 23.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.5768, allocations: 15.28 kB / 415.2 MB, free: 23.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005798/0.5774, allocations: 367.2 kB / 415.5 MB, free: 23.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5775, allocations: 0 / 415.5 MB, free: 23.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001028/0.5785, allocations: 221.4 kB / 415.8 MB, free: 23.57 MB / 330.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.0002511/0.5788, allocations: 134.2 kB / 415.9 MB, free: 23.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.5808, allocations: 0.8922 MB / 416.8 MB, free: 23.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.008e-06/0.5808, allocations: 7.906 kB / 416.8 MB, free: 23.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.582, allocations: 495.1 kB / 417.3 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5831, allocations: 162.3 kB / 417.4 MB, free: 22.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5851, allocations: 0.8868 MB / 418.3 MB, free: 22.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.5858, allocations: 0.8993 MB / 419.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.5863, allocations: 70.22 kB / 419.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5865, allocations: 54.11 kB / 419.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.647e-06/0.5865, allocations: 4 kB / 419.3 MB, free: 21.67 MB / 330.7 MB Notification: Performance of Templates: time 0.02726/0.6137, allocations: 12.38 MB / 431.7 MB, free: 16.05 MB / 330.7 MB