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.021/2.021, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.622e-05, allocations: 0 / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4214, allocations: 72.78 MB / 336.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.4217, allocations: 67.97 kB / 336.7 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06256/0.4843, allocations: 13.75 MB / 350.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4844, allocations: 0 / 350.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.4844, allocations: 12 kB / 350.5 MB, free: 2.922 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.002471/0.4869, allocations: 0.88 MB / 351.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.487, allocations: 8.031 kB / 351.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.4873, allocations: 91.42 kB / 351.4 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.4875, allocations: 83.09 kB / 351.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4886, allocations: 447.8 kB / 352 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.4888, allocations: 108.3 kB / 352.1 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.489, allocations: 44 kB / 352.1 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.4904, allocations: 0.6132 MB / 352.7 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.4905, allocations: 0 / 352.7 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.4906, allocations: 27.94 kB / 352.8 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.4906, allocations: 12 kB / 352.8 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4918, allocations: 379.9 kB / 353.1 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/0.497, allocations: 1.879 MB / 355 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.5002, allocations: 0.6793 MB / 355.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.5009, allocations: 234.5 kB / 355.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.58e-05/0.501, allocations: 12.55 kB / 355.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5011, allocations: 51.08 kB / 356 MB, free: 13.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.858e-06/0.5011, allocations: 0 / 356 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.003355/0.5045, allocations: 0.6999 MB / 356.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003521/0.5049, allocations: 0.5645 MB / 357.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5059, allocations: 460.8 kB / 357.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.5061, allocations: 41.7 kB / 357.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.5064, allocations: 276.8 kB / 358 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.5067, allocations: 197 kB / 358.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.5068, allocations: 12 kB / 358.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.507, allocations: 370.8 kB / 358.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.5075, allocations: 161.1 kB / 358.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.5084, allocations: 372.6 kB / 359.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.509, allocations: 232.2 kB / 359.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.509, allocations: 0 / 359.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003471/0.5125, allocations: 0.7794 MB / 360.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.5126, allocations: 33.69 kB / 360.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5126, allocations: 4 kB / 360.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.5142, allocations: 210.4 kB / 360.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.5157, allocations: 135.8 kB / 360.5 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.5256, allocations: 5.04 MB / 365.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.5268, allocations: 83.66 kB / 365.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.5269, allocations: 19.98 kB / 365.6 MB, free: 2.727 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.0002342/0.5271, allocations: 149.1 kB / 365.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5273, allocations: 67.25 kB / 365.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.5307, allocations: 0.7496 MB / 366.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.5308, allocations: 8 kB / 366.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5308, allocations: 0 / 366.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003088/0.5339, allocations: 0.9841 MB / 367.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2279/0.7619, allocations: 1.446 MB / 369 MB, free: 89.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7619, allocations: 4.562 kB / 369 MB, free: 89.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.7637, allocations: 136.5 kB / 369.2 MB, free: 89.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.765, allocations: 159.2 kB / 369.3 MB, free: 89.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.7651, allocations: 14.05 kB / 369.3 MB, free: 89.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.7717, allocations: 3.399 MB / 372.7 MB, free: 86.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7717, allocations: 0 / 372.7 MB, free: 86.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.7754, allocations: 0.99 MB / 373.7 MB, free: 86.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.7759, allocations: 203.9 kB / 373.9 MB, free: 86.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7761, allocations: 10.69 kB / 373.9 MB, free: 86.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007791/0.7768, allocations: 46.84 kB / 374 MB, free: 86.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.7771, allocations: 44.81 kB / 374 MB, free: 86.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.7771, allocations: 16.25 kB / 374 MB, free: 86.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006386/0.7778, allocations: 369.3 kB / 374.4 MB, free: 86.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7778, allocations: 0 / 374.4 MB, free: 86.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001049/0.7789, allocations: 224.6 kB / 374.6 MB, free: 86.16 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.003784/0.7827, allocations: 1.557 MB / 376.2 MB, free: 85.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.7852, allocations: 0.9205 MB / 377.1 MB, free: 85.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7853, allocations: 0 / 377.1 MB, free: 85.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7866, allocations: 0.5121 MB / 377.6 MB, free: 84.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.7879, allocations: 159.3 kB / 377.8 MB, free: 84.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.7916, allocations: 1.054 MB / 378.8 MB, free: 84.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.792, allocations: 0.9022 MB / 379.7 MB, free: 83.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005475/0.7926, allocations: 73.83 kB / 379.8 MB, free: 83.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.793, allocations: 234.6 kB / 380 MB, free: 83.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.793, allocations: 0 / 380 MB, free: 83.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/0.8634, allocations: 17.61 MB / 397.6 MB, free: 71.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.8637, allocations: 185.3 kB / 397.8 MB, free: 71.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.578/4.442, allocations: 0 / 397.8 MB, free: 71.58 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