Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.061e-05, allocations: 4 kB / 269.4 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09401, allocations: 47.57 MB / 316.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4513, allocations: 84.12 MB / 401 MB, free: 4.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4516, allocations: 79.95 kB / 401.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09278/0.5444, allocations: 15.79 MB / 416.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.273e-06/0.5444, allocations: 0 / 416.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.557e-05/0.5445, allocations: 20 kB / 416.9 MB, free: 6.75 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00397/0.5485, allocations: 0.9622 MB / 417.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.5486, allocations: 8.031 kB / 417.9 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.5492, allocations: 98.88 kB / 418 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.5511, allocations: 466.8 kB / 418.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/0.5515, allocations: 114.8 kB / 418.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.5517, allocations: 48.06 kB / 418.6 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.5543, allocations: 0.7366 MB / 419.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.5544, allocations: 3.906 kB / 419.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.5546, allocations: 25.75 kB / 419.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.5546, allocations: 12 kB / 419.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.5567, allocations: 434.1 kB / 419.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008877/0.5656, allocations: 2.043 MB / 421.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.5682, allocations: 495 kB / 422.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009282/0.5691, allocations: 235.3 kB / 422.6 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5693, allocations: 9.656 kB / 422.6 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.5705, allocations: 287.4 kB / 422.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 7.734e-06/0.5705, allocations: 4 kB / 422.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=59): time 0.004149/0.5747, allocations: 0.7008 MB / 423.6 MB, free: 1.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006676/0.5754, allocations: 0.8232 MB / 424.4 MB, free: 284 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.5771, allocations: 0.5119 MB / 424.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.5773, allocations: 48.45 kB / 425 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.5779, allocations: 331.8 kB / 425.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.5783, allocations: 201.7 kB / 425.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.5784, allocations: 10.75 kB / 425.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.5788, allocations: 387.2 kB / 425.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000851/0.5796, allocations: 173.2 kB / 426 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.581, allocations: 487.8 kB / 426.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5822, allocations: 275.5 kB / 426.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-06/0.5822, allocations: 0 / 426.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004312/0.5865, allocations: 0.8381 MB / 427.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.5867, allocations: 59.41 kB / 427.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.5867, allocations: 7.984 kB / 427.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.588, allocations: 195.4 kB / 427.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.5894, allocations: 127.7 kB / 428 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.5973, allocations: 4.089 MB / 432.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009609/0.5983, allocations: 93.45 kB / 432.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.5984, allocations: 23.94 kB / 432.2 MB, free: 9.434 MB / 346.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.0002611/0.5987, allocations: 154.4 kB / 432.3 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5989, allocations: 83.14 kB / 432.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.5991, allocations: 84.44 kB / 432.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5992, allocations: 4 kB / 432.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.136e-06/0.5992, allocations: 0 / 432.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/0.6014, allocations: 0.9957 MB / 433.5 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.6048, allocations: 1.486 MB / 435 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-06/0.6049, allocations: 0 / 435 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.6058, allocations: 119.7 kB / 435.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006197/0.6065, allocations: 144.3 kB / 435.3 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.6066, allocations: 15.19 kB / 435.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.6125, allocations: 3.516 MB / 438.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.057e-06/0.6125, allocations: 0 / 438.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.6149, allocations: 0.933 MB / 439.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.6155, allocations: 214.3 kB / 439.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.6157, allocations: 16.75 kB / 439.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.6164, allocations: 62.22 kB / 440 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.6166, allocations: 55.11 kB / 440.1 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.6167, allocations: 19.86 kB / 440.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007336/0.6174, allocations: 409.6 kB / 440.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.008e-06/0.6175, allocations: 3.938 kB / 440.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001185/0.6187, allocations: 269.4 kB / 440.7 MB, free: 1.918 MB / 346.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.0003066/0.619, allocations: 130.5 kB / 440.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.6212, allocations: 0.9093 MB / 441.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.895e-06/0.6212, allocations: 4 kB / 441.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.6223, allocations: 0.499 MB / 442.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6235, allocations: 194.9 kB / 442.5 MB, free: 432 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.6261, allocations: 0.8211 MB / 443.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.6269, allocations: 0.9395 MB / 444.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.6274, allocations: 77.2 kB / 444.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.6277, allocations: 51.38 kB / 444.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.704e-06/0.6277, allocations: 0 / 444.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Templates: time 0.03757/0.6653, allocations: 14.45 MB / 458.8 MB, free: 84 kB / 362.7 MB