Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.381e-05, allocations: 0 / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 38.76 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4448, allocations: 70.3 MB / 334.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4452, allocations: 71.95 kB / 334.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0377/0.4829, allocations: 8.975 MB / 343.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4829, allocations: 0 / 343.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.483, allocations: 12 kB / 343.2 MB, free: 10.29 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001483/0.4845, allocations: 0.6674 MB / 343.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4846, allocations: 8.031 kB / 343.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.4847, allocations: 79.22 kB / 344 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.4849, allocations: 59.42 kB / 344 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.4857, allocations: 364.3 kB / 344.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.4858, allocations: 58.83 kB / 344.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.4859, allocations: 35.95 kB / 344.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4869, allocations: 442.9 kB / 344.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.487, allocations: 0 / 344.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.487, allocations: 16 kB / 344.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4871, allocations: 12 kB / 344.9 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.4878, allocations: 259.1 kB / 345.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.4911, allocations: 1.241 MB / 346.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.493, allocations: 433.5 kB / 346.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.4933, allocations: 129.4 kB / 347 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/0.4934, allocations: 16.25 kB / 347 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.4935, allocations: 42.78 kB / 347 MB, free: 6.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.4935, allocations: 0 / 347 MB, free: 6.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001137/0.4946, allocations: 340.8 kB / 347.4 MB, free: 5.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.4949, allocations: 449 kB / 347.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.4956, allocations: 379.2 kB / 348.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/0.4957, allocations: 41.7 kB / 348.2 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.496, allocations: 224.4 kB / 348.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4961, allocations: 110.4 kB / 348.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.4962, allocations: 11.94 kB / 348.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4964, allocations: 354.8 kB / 348.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.4967, allocations: 100 kB / 349 MB, free: 4.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.4972, allocations: 246.4 kB / 349.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.4976, allocations: 154.4 kB / 349.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.4976, allocations: 0 / 349.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001226/0.4989, allocations: 422.3 kB / 349.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.4989, allocations: 29.7 kB / 349.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4989, allocations: 0 / 349.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.4994, allocations: 81.67 kB / 349.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.5001, allocations: 67.91 kB / 350 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.5036, allocations: 2.752 MB / 352.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.5043, allocations: 43.62 kB / 352.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.5043, allocations: 16 kB / 352.8 MB, free: 15.93 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 (37): * Single equations (assignments): 34 * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.5045, allocations: 126.5 kB / 352.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5047, allocations: 59.64 kB / 353 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.5048, allocations: 48.64 kB / 353 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5048, allocations: 4 kB / 353 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5049, allocations: 3.953 kB / 353 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008587/0.5057, allocations: 0.6335 MB / 353.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.5076, allocations: 0.88 MB / 354.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5076, allocations: 0 / 354.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.5083, allocations: 71.91 kB / 354.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.5083, allocations: 11.94 kB / 354.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.5084, allocations: 4 kB / 354.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5084, allocations: 0 / 354.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5084, allocations: 7.938 kB / 354.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5095, allocations: 0.4987 MB / 355.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.5097, allocations: 124.6 kB / 355.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.5098, allocations: 12.02 kB / 355.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.5103, allocations: 23.89 kB / 355.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.5104, allocations: 15.98 kB / 355.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.5104, allocations: 15.98 kB / 355.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005526/0.511, allocations: 297.2 kB / 355.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.511, allocations: 0 / 355.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006385/0.5116, allocations: 135.8 kB / 355.7 MB, free: 12.77 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 (33): * Single equations (assignments): 33 * 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.001497/0.5131, allocations: 1.052 MB / 356.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5147, allocations: 0.5511 MB / 357.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.5147, allocations: 8.125 kB / 357.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.5151, allocations: 115.9 kB / 357.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.516, allocations: 121.3 kB / 357.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.5185, allocations: 0.715 MB / 358.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.519, allocations: 0.8237 MB / 359.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000376/0.5194, allocations: 60.23 kB / 359.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.5197, allocations: 155.4 kB / 359.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5197, allocations: 0 / 359.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.267/0.7868, allocations: 11.17 MB / 370.5 MB, free: 92.26 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.787, allocations: 182.2 kB / 370.7 MB, free: 92.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/3.932, allocations: 0 / 370.7 MB, free: 92.04 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat