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.982/1.982, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.785e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09471, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.6047, allocations: 78.12 MB / 378 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.6051, allocations: 71.06 kB / 378.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07585/0.6809, allocations: 13.78 MB / 391.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.681, allocations: 0 / 391.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.754e-05/0.681, allocations: 11.69 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.002177/0.6832, allocations: 0.8865 MB / 392.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6833, allocations: 11.75 kB / 392.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.6835, allocations: 88.64 kB / 392.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.6837, allocations: 81.97 kB / 393 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.6847, allocations: 456 kB / 393.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.6849, allocations: 103.2 kB / 393.5 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.685, allocations: 49.72 kB / 393.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.6863, allocations: 0.6013 MB / 394.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.6863, allocations: 3.906 kB / 394.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.6864, allocations: 26.81 kB / 394.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.6864, allocations: 11.62 kB / 394.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009894/0.6874, allocations: 394.1 kB / 394.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004363/0.6918, allocations: 1.88 MB / 396.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.6957, allocations: 0.6777 MB / 397.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.6965, allocations: 235.2 kB / 397.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.59e-05/0.6966, allocations: 12.16 kB / 397.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.6967, allocations: 46.34 kB / 397.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 4.509e-06/0.6967, allocations: 0 / 397.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.004147/0.7009, allocations: 0.6966 MB / 398.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.7011, allocations: 0.5676 MB / 398.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.7022, allocations: 455.8 kB / 399.1 MB, free: 7.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.7024, allocations: 44.02 kB / 399.2 MB, free: 7.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.7027, allocations: 305.4 kB / 399.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.7029, allocations: 196.5 kB / 399.7 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.703, allocations: 9.625 kB / 399.7 MB, free: 7.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.7031, allocations: 333.2 kB / 400 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.7038, allocations: 156.7 kB / 400.2 MB, free: 7.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.7048, allocations: 378 kB / 400.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.7055, allocations: 229.5 kB / 400.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7056, allocations: 3.953 kB / 400.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004202/0.7098, allocations: 0.744 MB / 401.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.7099, allocations: 33.25 kB / 401.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7099, allocations: 3.906 kB / 401.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.7119, allocations: 209 kB / 401.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.7136, allocations: 137.5 kB / 401.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008936/0.7225, allocations: 5.029 MB / 406.9 MB, free: 18.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.7237, allocations: 84.48 kB / 407 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.7238, allocations: 18.84 kB / 407 MB, free: 18.84 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.0002446/0.7241, allocations: 147.9 kB / 407.2 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.7242, allocations: 73.56 kB / 407.2 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.7274, allocations: 0.7402 MB / 408 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.7275, allocations: 7.75 kB / 408 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7275, allocations: 4 kB / 408 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002821/0.7303, allocations: 0.985 MB / 409 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.7349, allocations: 1.462 MB / 410.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.735, allocations: 0 / 410.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.7366, allocations: 144.8 kB / 410.6 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.7378, allocations: 155.7 kB / 410.7 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.7379, allocations: 11.3 kB / 410.7 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/0.7446, allocations: 3.408 MB / 414.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7447, allocations: 3.953 kB / 414.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.7481, allocations: 0.9839 MB / 415.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.7487, allocations: 199.1 kB / 415.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.7488, allocations: 22.34 kB / 415.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/0.7496, allocations: 42.44 kB / 415.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.7498, allocations: 42.53 kB / 415.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.7499, allocations: 19.48 kB / 415.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006593/0.7505, allocations: 367.6 kB / 415.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7506, allocations: 0 / 415.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001041/0.7516, allocations: 226.2 kB / 416 MB, free: 14.09 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.003801/0.7554, allocations: 1.562 MB / 417.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.7579, allocations: 0.9296 MB / 418.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.758, allocations: 0 / 418.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.7593, allocations: 0.4995 MB / 419 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.7607, allocations: 171 kB / 419.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.7638, allocations: 1.035 MB / 420.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.7644, allocations: 0.8999 MB / 421.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.7649, allocations: 231.4 kB / 421.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.765, allocations: 0 / 421.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.204/3.969, allocations: 17 MB / 438.3 MB, free: 2.52 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