Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.685e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09741, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5266, allocations: 76.55 MB / 376.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5269, allocations: 70.09 kB / 376.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04163/0.5685, allocations: 9.742 MB / 386.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5686, allocations: 0 / 386.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.854e-05/0.5687, allocations: 11.62 kB / 386.3 MB, free: 11.72 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001681/0.5703, allocations: 0.7334 MB / 387.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5704, allocations: 11.69 kB / 387.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.5706, allocations: 78.72 kB / 387.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.5707, allocations: 70.05 kB / 387.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.5715, allocations: 394 kB / 387.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5716, allocations: 64.62 kB / 387.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.5718, allocations: 34.56 kB / 387.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.5727, allocations: 469.2 kB / 388.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5728, allocations: 3.875 kB / 388.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.5729, allocations: 15.31 kB / 388.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5729, allocations: 7.75 kB / 388.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.5737, allocations: 289.6 kB / 388.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.577, allocations: 1.331 MB / 389.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5782, allocations: 438.5 kB / 390.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.5786, allocations: 151.9 kB / 390.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.5787, allocations: 21.97 kB / 390.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5787, allocations: 38.59 kB / 390.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.796e-06/0.5787, allocations: 0 / 390.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001327/0.5801, allocations: 389.8 kB / 390.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5802, allocations: 451 kB / 391.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.5809, allocations: 399.1 kB / 391.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.581, allocations: 39.27 kB / 391.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5813, allocations: 240.5 kB / 391.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.5814, allocations: 131.6 kB / 392.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.5815, allocations: 3.719 kB / 392.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5816, allocations: 362.2 kB / 392.4 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.5819, allocations: 110.7 kB / 392.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.5824, allocations: 256.2 kB / 392.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.5828, allocations: 166.3 kB / 392.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5828, allocations: 0 / 392.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001249/0.5841, allocations: 456.9 kB / 393.4 MB, free: 8.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.5841, allocations: 33.48 kB / 393.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5841, allocations: 4 kB / 393.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.5845, allocations: 58.09 kB / 393.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.5854, allocations: 94.56 kB / 393.6 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.5879, allocations: 2.74 MB / 396.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/0.5888, allocations: 62.09 kB / 396.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.5889, allocations: 11.09 kB / 396.4 MB, free: 5.773 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.589, allocations: 133 kB / 396.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5892, allocations: 60.44 kB / 396.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.5894, allocations: 56.19 kB / 396.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5894, allocations: 3.875 kB / 396.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5894, allocations: 3.938 kB / 396.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.5904, allocations: 0.6742 MB / 397.3 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5925, allocations: 0.9945 MB / 398.3 MB, free: 20.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5926, allocations: 4 kB / 398.3 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/0.5935, allocations: 99.7 kB / 398.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.5935, allocations: 0 / 398.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.5936, allocations: 10.94 kB / 398.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.5936, allocations: 0 / 398.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5936, allocations: 4 kB / 398.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.5949, allocations: 0.5876 MB / 399 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.5951, allocations: 135.4 kB / 399.1 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5952, allocations: 13.81 kB / 399.1 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.5958, allocations: 34.17 kB / 399.2 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5959, allocations: 25.34 kB / 399.2 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.596, allocations: 11.78 kB / 399.2 MB, free: 20.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.5966, allocations: 315.7 kB / 399.5 MB, free: 20.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5966, allocations: 0 / 399.5 MB, free: 20.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007981/0.5974, allocations: 157.1 kB / 399.7 MB, free: 20.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/0.5992, allocations: 1.149 MB / 400.8 MB, free: 19.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.6006, allocations: 0.5872 MB / 401.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6006, allocations: 0 / 401.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.601, allocations: 152.2 kB / 401.6 MB, free: 19.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6021, allocations: 136.8 kB / 401.7 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.6046, allocations: 0.7621 MB / 402.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.6051, allocations: 0.8381 MB / 403.3 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.6056, allocations: 61.98 kB / 403.4 MB, free: 18.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.606, allocations: 169.7 kB / 403.5 MB, free: 18.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.606, allocations: 0 / 403.5 MB, free: 18.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.6493, allocations: 12.11 MB / 415.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.6496, allocations: 192.5 kB / 415.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/3.934, allocations: 0 / 415.8 MB, free: 13.86 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat