Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.934e-05, allocations: 4 kB / 225.1 MB, free: 2.75 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 38.77 MB / 263.8 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.3955, allocations: 72.78 MB / 336.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.3958, allocations: 71.95 kB / 336.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06278/0.4586, allocations: 13.75 MB / 350.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4587, allocations: 0 / 350.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.599e-05/0.4588, allocations: 12 kB / 350.4 MB, free: 2.984 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.00257/0.4614, allocations: 0.8799 MB / 351.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4614, allocations: 15.97 kB / 351.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/0.4617, allocations: 91.42 kB / 351.4 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.462, allocations: 79.16 kB / 351.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4631, allocations: 451.8 kB / 351.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.4633, allocations: 100.4 kB / 352 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4635, allocations: 47.94 kB / 352.1 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.465, allocations: 0.6055 MB / 352.7 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.4651, allocations: 4 kB / 352.7 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.4652, allocations: 24 kB / 352.7 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4652, allocations: 11.94 kB / 352.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4664, allocations: 387.9 kB / 353.1 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.4717, allocations: 1.879 MB / 355 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.475, allocations: 0.6719 MB / 355.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007038/0.4757, allocations: 234.5 kB / 355.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.4758, allocations: 20.52 kB / 355.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.4759, allocations: 47.08 kB / 356 MB, free: 13.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.075e-06/0.4759, allocations: 0 / 356 MB, free: 13.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.00341/0.4793, allocations: 0.6958 MB / 356.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/0.4797, allocations: 0.5645 MB / 357.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/0.4806, allocations: 468.8 kB / 357.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.4809, allocations: 37.7 kB / 357.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.4812, allocations: 299.3 kB / 358 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.4815, allocations: 201 kB / 358.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4816, allocations: 16 kB / 358.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4817, allocations: 330.8 kB / 358.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.4823, allocations: 157.1 kB / 358.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/0.4831, allocations: 376.7 kB / 359.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4838, allocations: 226.2 kB / 359.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4838, allocations: 0 / 359.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003319/0.4871, allocations: 0.737 MB / 360 MB, free: 8.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.4872, allocations: 33.7 kB / 360.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4872, allocations: 3.984 kB / 360.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.4888, allocations: 206.5 kB / 360.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.4904, allocations: 139.8 kB / 360.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.5006, allocations: 5.039 MB / 365.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5018, allocations: 87.73 kB / 365.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.5019, allocations: 23.98 kB / 365.5 MB, free: 2.844 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.0002433/0.5022, allocations: 145.1 kB / 365.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.5024, allocations: 63.25 kB / 365.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.5059, allocations: 0.7456 MB / 366.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.5059, allocations: 8 kB / 366.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5059, allocations: 0 / 366.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003065/0.509, allocations: 0.988 MB / 367.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2315/0.7405, allocations: 1.445 MB / 368.9 MB, free: 89.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.7406, allocations: 4.469 kB / 368.9 MB, free: 89.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.7423, allocations: 143 kB / 369.1 MB, free: 89.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.7436, allocations: 154.5 kB / 369.2 MB, free: 89.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.7438, allocations: 11.84 kB / 369.2 MB, free: 89.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.7504, allocations: 3.411 MB / 372.7 MB, free: 86.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7505, allocations: 0 / 372.7 MB, free: 86.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.754, allocations: 0.9865 MB / 373.6 MB, free: 86.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/0.7546, allocations: 207.1 kB / 373.8 MB, free: 86.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.7547, allocations: 17.28 kB / 373.9 MB, free: 86.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.7555, allocations: 38.36 kB / 373.9 MB, free: 86.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.7557, allocations: 50.81 kB / 373.9 MB, free: 86.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.7558, allocations: 17 kB / 374 MB, free: 86.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006246/0.7564, allocations: 363.8 kB / 374.3 MB, free: 86.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7564, allocations: 0 / 374.3 MB, free: 86.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001081/0.7575, allocations: 224 kB / 374.5 MB, free: 86.3 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.003761/0.7613, allocations: 1.56 MB / 376.1 MB, free: 85.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.7638, allocations: 0.9185 MB / 377 MB, free: 85.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7639, allocations: 2.844 kB / 377 MB, free: 85.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.7653, allocations: 0.5077 MB / 377.5 MB, free: 84.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7665, allocations: 159.5 kB / 377.7 MB, free: 84.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.77, allocations: 1.078 MB / 378.8 MB, free: 84.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.7704, allocations: 0.896 MB / 379.7 MB, free: 83.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.7709, allocations: 237.7 kB / 379.9 MB, free: 83.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7709, allocations: 0 / 379.9 MB, free: 83.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/3.837, allocations: 16.96 MB / 396.8 MB, free: 72.71 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat