Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.332e-05, allocations: 0 / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.5545, allocations: 76.57 MB / 376.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5548, allocations: 67.33 kB / 376.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04101/0.5959, allocations: 9.741 MB / 386.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5959, allocations: 0 / 386.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.399e-05/0.596, allocations: 10.5 kB / 386.3 MB, free: 11.73 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.001746/0.5977, allocations: 0.741 MB / 387 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5978, allocations: 8.844 kB / 387.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.598, allocations: 82.31 kB / 387.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.5982, allocations: 66.25 kB / 387.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.599, allocations: 394.7 kB / 387.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5992, allocations: 66.22 kB / 387.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.5993, allocations: 34 kB / 387.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.6003, allocations: 464.2 kB / 388.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.6003, allocations: 3.938 kB / 388.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.6004, allocations: 15.69 kB / 388.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6004, allocations: 7.719 kB / 388.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.6013, allocations: 293 kB / 388.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.6047, allocations: 1.324 MB / 389.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.6059, allocations: 442.8 kB / 390.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.6064, allocations: 159.5 kB / 390.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/0.6064, allocations: 7.719 kB / 390.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6065, allocations: 50.06 kB / 390.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.916e-06/0.6065, allocations: 0 / 390.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001187/0.6077, allocations: 399 kB / 390.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.6078, allocations: 440.8 kB / 391.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.6085, allocations: 403.6 kB / 391.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.6086, allocations: 33.42 kB / 391.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.6088, allocations: 275.5 kB / 391.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6089, allocations: 131.3 kB / 392.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.6089, allocations: 10.88 kB / 392.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.609, allocations: 329 kB / 392.4 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.6093, allocations: 111.8 kB / 392.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.6098, allocations: 255.6 kB / 392.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.6102, allocations: 159.9 kB / 392.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6102, allocations: 0 / 392.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001099/0.6113, allocations: 423.7 kB / 393.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.6113, allocations: 35.11 kB / 393.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6114, allocations: 0 / 393.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.6117, allocations: 60.27 kB / 393.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.6125, allocations: 96.05 kB / 393.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6149, allocations: 2.732 MB / 396.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.6158, allocations: 65.95 kB / 396.3 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.6159, allocations: 11.62 kB / 396.3 MB, free: 5.738 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.0001606/0.6161, allocations: 127.7 kB / 396.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6162, allocations: 64.91 kB / 396.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.6164, allocations: 53.41 kB / 396.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6164, allocations: 7.844 kB / 396.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6164, allocations: 0 / 396.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.6175, allocations: 0.673 MB / 397.2 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.6196, allocations: 0.9986 MB / 398.2 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.6197, allocations: 0 / 398.2 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.6206, allocations: 105.2 kB / 398.3 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6206, allocations: 0 / 398.3 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.6206, allocations: 14.86 kB / 398.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6206, allocations: 0 / 398.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6207, allocations: 0 / 398.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.622, allocations: 0.5888 MB / 398.9 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.6223, allocations: 134.8 kB / 399.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6224, allocations: 7.812 kB / 399.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.623, allocations: 37.48 kB / 399.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6231, allocations: 25.84 kB / 399.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.6232, allocations: 7.75 kB / 399.2 MB, free: 20.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005532/0.6238, allocations: 317.8 kB / 399.5 MB, free: 20.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6238, allocations: 7.938 kB / 399.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007165/0.6245, allocations: 151.6 kB / 399.6 MB, free: 20.26 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.001631/0.6261, allocations: 1.147 MB / 400.8 MB, free: 19.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.6275, allocations: 0.5853 MB / 401.4 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6275, allocations: 3.875 kB / 401.4 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.6278, allocations: 153.2 kB / 401.5 MB, free: 19.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6289, allocations: 122.5 kB / 401.6 MB, free: 19.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.6313, allocations: 0.7995 MB / 402.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.6318, allocations: 0.843 MB / 403.3 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.6322, allocations: 171.8 kB / 403.4 MB, free: 18.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6323, allocations: 0 / 403.4 MB, free: 18.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.988/3.62, allocations: 10.69 MB / 414.1 MB, free: 14.76 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat