Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.069e-05, allocations: 8 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.4 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5816, allocations: 83.53 MB / 426.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.582, allocations: 74.34 kB / 426.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0701/0.6521, allocations: 15.63 MB / 442.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6521, allocations: 4 kB / 442.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.659e-05/0.6522, allocations: 16 kB / 442.4 MB, free: 13.24 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00297/0.6552, allocations: 0.9731 MB / 443.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.6553, allocations: 12.03 kB / 443.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003075/0.6556, allocations: 98.78 kB / 443.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.656, allocations: 110.5 kB / 443.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6572, allocations: 474.4 kB / 444.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.6575, allocations: 106.9 kB / 444.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.6576, allocations: 57.41 kB / 444.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.6593, allocations: 0.7446 MB / 445 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.6594, allocations: 3.953 kB / 445 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.6595, allocations: 25.62 kB / 445 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6596, allocations: 12 kB / 445 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6609, allocations: 440.2 kB / 445.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006104/0.6671, allocations: 2.066 MB / 447.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.6688, allocations: 0.4911 MB / 448 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.6695, allocations: 232.2 kB / 448.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-05/0.6696, allocations: 13.64 kB / 448.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007809/0.6704, allocations: 288.5 kB / 448.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.448e-06/0.6704, allocations: 0 / 448.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002955/0.6734, allocations: 0.7058 MB / 449.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004537/0.6739, allocations: 0.8226 MB / 450 MB, free: 6.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.675, allocations: 0.5101 MB / 450.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.6752, allocations: 42.83 kB / 450.6 MB, free: 6.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.6756, allocations: 334.6 kB / 450.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.676, allocations: 200.2 kB / 451.1 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.676, allocations: 10.81 kB / 451.1 MB, free: 5.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.6763, allocations: 384.7 kB / 451.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.6769, allocations: 172.2 kB / 451.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.6778, allocations: 491.7 kB / 452.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.6786, allocations: 277.9 kB / 452.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6786, allocations: 0 / 452.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003219/0.6818, allocations: 0.8351 MB / 453.3 MB, free: 3.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.682, allocations: 63.39 kB / 453.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.682, allocations: 0 / 453.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009576/0.683, allocations: 197.6 kB / 453.5 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.6844, allocations: 131.8 kB / 453.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/0.6936, allocations: 4.093 MB / 457.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6949, allocations: 95.61 kB / 457.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.6951, allocations: 23.98 kB / 457.8 MB, free: 14.85 MB / 378.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.0002919/0.6954, allocations: 156.9 kB / 458 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.6956, allocations: 79.06 kB / 458.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.6959, allocations: 86.81 kB / 458.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.696, allocations: 4 kB / 458.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.696, allocations: 0 / 458.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002742/0.6987, allocations: 0.9997 MB / 459.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.703, allocations: 1.49 MB / 460.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.703, allocations: 0 / 460.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7044, allocations: 119.8 kB / 460.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/0.7052, allocations: 145.6 kB / 460.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7053, allocations: 11.98 kB / 460.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006803/0.7121, allocations: 3.511 MB / 464.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7122, allocations: 0 / 464.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.7151, allocations: 0.9296 MB / 465.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/0.7157, allocations: 216 kB / 465.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.716, allocations: 20 kB / 465.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.717, allocations: 51.98 kB / 465.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.7173, allocations: 56.41 kB / 465.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.7173, allocations: 16 kB / 465.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008403/0.7182, allocations: 411.2 kB / 466.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.996e-06/0.7182, allocations: 112 / 466.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001482/0.7197, allocations: 271.6 kB / 466.4 MB, free: 5.805 MB / 378.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.003391/0.7231, allocations: 1.51 MB / 467.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.7259, allocations: 0.9096 MB / 468.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.7259, allocations: 4.562 kB / 468.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.7273, allocations: 0.5012 MB / 469.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.729, allocations: 195 kB / 469.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.7331, allocations: 0.9749 MB / 470.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.7339, allocations: 0.9356 MB / 471.4 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006979/0.7346, allocations: 77.2 kB / 471.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.7352, allocations: 259.3 kB / 471.7 MB, free: 292 kB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7352, allocations: 0 / 471.7 MB, free: 292 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.8433, allocations: 20.47 MB / 492.2 MB, free: 12.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8436, allocations: 185.6 kB / 492.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/4.568, allocations: 0 / 492.4 MB, free: 11.83 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat does not exist to compare? outputFormat=mat