Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.143e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09511, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5043, allocations: 78.11 MB / 378.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5047, allocations: 71.06 kB / 378.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05958/0.5643, allocations: 13.79 MB / 391.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5644, allocations: 3.844 kB / 391.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.886e-05/0.5644, allocations: 11.78 kB / 391.9 MB, free: 11.02 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00235/0.5668, allocations: 0.8798 MB / 392.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5668, allocations: 7.594 kB / 392.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.5671, allocations: 91.73 kB / 392.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.5673, allocations: 92.45 kB / 393 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/0.5683, allocations: 447.2 kB / 393.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.5685, allocations: 103.2 kB / 393.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5687, allocations: 47.81 kB / 393.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5699, allocations: 0.5951 MB / 394.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.57, allocations: 3.906 kB / 394.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.57, allocations: 20.44 kB / 394.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.5701, allocations: 15.47 kB / 394.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5711, allocations: 386.5 kB / 394.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.5758, allocations: 1.892 MB / 396.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.5788, allocations: 0.6607 MB / 397.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.5795, allocations: 233.2 kB / 397.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.5796, allocations: 16.12 kB / 397.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5796, allocations: 42.59 kB / 397.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.387e-06/0.5796, allocations: 0 / 397.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002937/0.5826, allocations: 0.6694 MB / 398.1 MB, free: 8.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.5828, allocations: 0.5712 MB / 398.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.5836, allocations: 453.2 kB / 399.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.5838, allocations: 43.39 kB / 399.2 MB, free: 7.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.584, allocations: 306.2 kB / 399.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5842, allocations: 197.7 kB / 399.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.5843, allocations: 7.125 kB / 399.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.5844, allocations: 341.1 kB / 400 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.5849, allocations: 160.1 kB / 400.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.5855, allocations: 376.9 kB / 400.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.5861, allocations: 225.4 kB / 400.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5861, allocations: 3.875 kB / 400.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002804/0.5889, allocations: 0.6987 MB / 401.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.589, allocations: 37.3 kB / 401.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.589, allocations: 0 / 401.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.5903, allocations: 200.4 kB / 401.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.5918, allocations: 137.4 kB / 401.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008942/0.6007, allocations: 5.025 MB / 406.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.6019, allocations: 92.36 kB / 406.9 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.602, allocations: 19.5 kB / 407 MB, free: 18.85 MB / 330.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.0002299/0.6023, allocations: 147.9 kB / 407.1 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6024, allocations: 65.81 kB / 407.2 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.6054, allocations: 0.7169 MB / 407.9 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6054, allocations: 11.27 kB / 407.9 MB, free: 18.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6055, allocations: 0 / 407.9 MB, free: 18.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002796/0.6083, allocations: 0.977 MB / 408.9 MB, free: 18.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.6127, allocations: 1.45 MB / 410.3 MB, free: 17.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6127, allocations: 3.328 kB / 410.3 MB, free: 17.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6143, allocations: 146.5 kB / 410.5 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.6154, allocations: 150.9 kB / 410.6 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.6156, allocations: 12.66 kB / 410.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.6225, allocations: 3.411 MB / 414 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6226, allocations: 0 / 414 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.626, allocations: 0.9814 MB / 415 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.6266, allocations: 208 kB / 415.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6267, allocations: 10.81 kB / 415.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.6275, allocations: 46.81 kB / 415.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6277, allocations: 45.83 kB / 415.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.6278, allocations: 19.36 kB / 415.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006267/0.6284, allocations: 365.7 kB / 415.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6284, allocations: 0 / 415.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001114/0.6296, allocations: 224.7 kB / 415.9 MB, free: 14.16 MB / 330.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.003736/0.6333, allocations: 1.562 MB / 417.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.6359, allocations: 0.8879 MB / 418.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6359, allocations: 4.25 kB / 418.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.6373, allocations: 496 kB / 418.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6387, allocations: 172.1 kB / 419 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.6418, allocations: 1.034 MB / 420.1 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.6424, allocations: 0.8995 MB / 421 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.6429, allocations: 227 kB / 421.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6429, allocations: 0 / 421.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.118/3.761, allocations: 16.98 MB / 438.2 MB, free: 2.648 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat