Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.9e-05/4.912e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.297, allocations: 38.77 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.4474, allocations: 72.79 MB / 336.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.4478, allocations: 71.97 kB / 336.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06806/0.5159, allocations: 13.75 MB / 350.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5159, allocations: 0 / 350.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.516, allocations: 16 kB / 350.5 MB, free: 3.02 MB / 298.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.002593/0.5186, allocations: 0.88 MB / 351.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.5187, allocations: 12.03 kB / 351.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.519, allocations: 99.34 kB / 351.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.5193, allocations: 79.16 kB / 351.6 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5204, allocations: 447.8 kB / 352 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.5206, allocations: 104.3 kB / 352.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.5208, allocations: 48 kB / 352.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5223, allocations: 0.6034 MB / 352.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.5223, allocations: 0 / 352.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.5225, allocations: 24 kB / 352.8 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5225, allocations: 12 kB / 352.8 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.5236, allocations: 373.9 kB / 353.1 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.529, allocations: 1.883 MB / 355 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.5322, allocations: 0.6627 MB / 355.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/0.533, allocations: 230.5 kB / 355.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-05/0.5331, allocations: 24.42 kB / 355.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.5331, allocations: 43.08 kB / 356 MB, free: 13.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.216e-06/0.5331, allocations: 0 / 356 MB, free: 13.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.003157/0.5363, allocations: 0.6686 MB / 356.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000312/0.5367, allocations: 0.5684 MB / 357.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/0.5377, allocations: 460.8 kB / 357.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.5379, allocations: 37.7 kB / 357.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5382, allocations: 280.7 kB / 358 MB, free: 11.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.5385, allocations: 197.1 kB / 358.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.5386, allocations: 12 kB / 358.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5388, allocations: 366.8 kB / 358.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.5394, allocations: 157.1 kB / 358.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.5402, allocations: 371.5 kB / 359.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.5409, allocations: 232.3 kB / 359.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.5409, allocations: 0 / 359.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00366/0.5446, allocations: 0.7483 MB / 360 MB, free: 8.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.5447, allocations: 33.7 kB / 360.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.5448, allocations: 3.953 kB / 360.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.5462, allocations: 206.3 kB / 360.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.5478, allocations: 139.8 kB / 360.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.5581, allocations: 5.027 MB / 365.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.5594, allocations: 91.66 kB / 365.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.5595, allocations: 19.98 kB / 365.5 MB, free: 2.922 MB / 314.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.0002565/0.5597, allocations: 149 kB / 365.7 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5599, allocations: 71.25 kB / 365.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.5632, allocations: 0.7106 MB / 366.5 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.5632, allocations: 4 kB / 366.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5632, allocations: 4 kB / 366.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/0.5662, allocations: 0.9802 MB / 367.5 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2482/0.8144, allocations: 1.449 MB / 368.9 MB, free: 89.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.8145, allocations: 0 / 368.9 MB, free: 89.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.8162, allocations: 140.5 kB / 369 MB, free: 89.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.8175, allocations: 160.2 kB / 369.2 MB, free: 89.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.8176, allocations: 12.2 kB / 369.2 MB, free: 89.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.8244, allocations: 3.397 MB / 372.6 MB, free: 86.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8244, allocations: 0 / 372.6 MB, free: 86.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.8279, allocations: 0.9893 MB / 373.6 MB, free: 86.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.8284, allocations: 196 kB / 373.8 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.8286, allocations: 21.17 kB / 373.8 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.8294, allocations: 40.78 kB / 373.9 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.8296, allocations: 52.34 kB / 373.9 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.8297, allocations: 14.38 kB / 373.9 MB, free: 86.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006221/0.8303, allocations: 363.6 kB / 374.3 MB, free: 86.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8303, allocations: 2.625 kB / 374.3 MB, free: 86.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001154/0.8315, allocations: 218.3 kB / 374.5 MB, free: 86.39 MB / 314.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.003849/0.8354, allocations: 1.555 MB / 376 MB, free: 85.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.838, allocations: 0.8929 MB / 376.9 MB, free: 85.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.838, allocations: 3 kB / 376.9 MB, free: 85.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.8394, allocations: 494.6 kB / 377.4 MB, free: 85.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.8407, allocations: 168.6 kB / 377.6 MB, free: 85.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.8443, allocations: 1.054 MB / 378.6 MB, free: 84.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.8448, allocations: 0.8977 MB / 379.5 MB, free: 84.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005536/0.8454, allocations: 69.67 kB / 379.6 MB, free: 84.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.8458, allocations: 223.5 kB / 379.8 MB, free: 84.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8458, allocations: 4 kB / 379.8 MB, free: 84.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.9063, allocations: 17.56 MB / 397.4 MB, free: 72.32 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.9067, allocations: 184 kB / 397.6 MB, free: 72.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/4.292, allocations: 0 / 397.6 MB, free: 72.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat