Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.965e-05, allocations: 0 / 225.1 MB, free: 2.742 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.302, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4341, allocations: 71.23 MB / 335.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.4345, allocations: 67.95 kB / 335.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04259/0.4771, allocations: 9.716 MB / 344.8 MB, free: 8.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4771, allocations: 0 / 344.8 MB, free: 8.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.98e-05/0.4772, allocations: 8 kB / 344.9 MB, free: 8.684 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001925/0.4791, allocations: 0.7454 MB / 345.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.4792, allocations: 8.031 kB / 345.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.4794, allocations: 75.22 kB / 345.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.4796, allocations: 63.34 kB / 345.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.4805, allocations: 393.7 kB / 346.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.4807, allocations: 54.83 kB / 346.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.4808, allocations: 39.95 kB / 346.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4819, allocations: 470.9 kB / 346.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4819, allocations: 0 / 346.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.482, allocations: 16 kB / 346.7 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.482, allocations: 12 kB / 346.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.4829, allocations: 287.1 kB / 347 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.4865, allocations: 1.331 MB / 348.3 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4879, allocations: 437.6 kB / 348.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.4884, allocations: 164.8 kB / 348.9 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.4885, allocations: 4 kB / 348.9 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4886, allocations: 42.56 kB / 348.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.095e-06/0.4886, allocations: 0 / 348.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001359/0.49, allocations: 398.9 kB / 349.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.4902, allocations: 441 kB / 349.8 MB, free: 3.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/0.4911, allocations: 399.2 kB / 350.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.4912, allocations: 29.7 kB / 350.2 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.4915, allocations: 278.9 kB / 350.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4917, allocations: 134.1 kB / 350.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.4917, allocations: 11.94 kB / 350.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4919, allocations: 326.8 kB / 350.9 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.4922, allocations: 108 kB / 351 MB, free: 2.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.4928, allocations: 254.4 kB / 351.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.4932, allocations: 162.3 kB / 351.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4933, allocations: 4 kB / 351.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001263/0.4945, allocations: 416.7 kB / 351.8 MB, free: 1.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.4946, allocations: 29.7 kB / 351.9 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4946, allocations: 0 / 351.9 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.495, allocations: 65.61 kB / 351.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.4959, allocations: 99.91 kB / 352 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.4992, allocations: 2.736 MB / 354.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.5, allocations: 63.8 kB / 354.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.5001, allocations: 12 kB / 354.8 MB, free: 13.91 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.0001937/0.5003, allocations: 128.9 kB / 355 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5005, allocations: 51.44 kB / 355 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.5007, allocations: 61.11 kB / 355.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5007, allocations: 11.94 kB / 355.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5007, allocations: 0 / 355.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.5017, allocations: 0.6763 MB / 355.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.504, allocations: 0.9963 MB / 356.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.5041, allocations: 0 / 356.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/0.505, allocations: 107.8 kB / 356.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.505, allocations: 3.938 kB / 356.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.5051, allocations: 11.98 kB / 356.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5051, allocations: 0 / 356.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5051, allocations: 4 kB / 356.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.5065, allocations: 0.5733 MB / 357.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5068, allocations: 128.5 kB / 357.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5069, allocations: 15.95 kB / 357.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.5075, allocations: 31.97 kB / 357.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5076, allocations: 27.95 kB / 357.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.5077, allocations: 11.94 kB / 357.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005982/0.5083, allocations: 317.3 kB / 358 MB, free: 10.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5083, allocations: 0 / 358 MB, free: 10.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.509, allocations: 155.7 kB / 358.1 MB, free: 10.4 MB / 314.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.002507/0.5115, allocations: 1.142 MB / 359.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.5134, allocations: 0.5861 MB / 359.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.5135, allocations: 0 / 359.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.5141, allocations: 155.9 kB / 360 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.5155, allocations: 126 kB / 360.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.5189, allocations: 0.8091 MB / 360.9 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.5197, allocations: 0.8394 MB / 361.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/0.5203, allocations: 171.4 kB / 362 MB, free: 6.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5204, allocations: 0 / 362 MB, free: 6.441 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.198/3.718, allocations: 10.63 MB / 372.6 MB, free: 90.79 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat