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 2.002/2.002, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.606e-05, allocations: 4 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4047, allocations: 69.62 MB / 328 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4051, allocations: 71.97 kB / 328 MB, free: 8.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03767/0.4427, allocations: 8.861 MB / 336.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4428, allocations: 0 / 336.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.904e-05/0.4429, allocations: 12 kB / 336.9 MB, free: 15.16 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.001451/0.4443, allocations: 0.6713 MB / 337.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.4444, allocations: 8.031 kB / 337.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4446, allocations: 59.34 kB / 337.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.4453, allocations: 368.3 kB / 338 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.4455, allocations: 46.47 kB / 338.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.4456, allocations: 24.28 kB / 338.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007074/0.4463, allocations: 241.5 kB / 338.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.4471, allocations: 388.1 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4472, allocations: 0 / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.4472, allocations: 4 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.4473, allocations: 8 kB / 338.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.4501, allocations: 1.147 MB / 339.8 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4519, allocations: 413.3 kB / 340.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.4522, allocations: 125.3 kB / 340.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.4523, allocations: 8.266 kB / 340.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.4523, allocations: 42.78 kB / 340.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/0.4524, allocations: 4 kB / 340.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001013/0.4534, allocations: 309.2 kB / 340.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.4536, allocations: 452.9 kB / 341.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.4542, allocations: 314.3 kB / 341.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.4542, allocations: 25.7 kB / 341.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4545, allocations: 228.5 kB / 341.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.4546, allocations: 110.3 kB / 341.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.4547, allocations: 4 kB / 341.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4548, allocations: 350.8 kB / 342.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.4551, allocations: 87.78 kB / 342.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.4555, allocations: 230.8 kB / 342.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.4559, allocations: 110 kB / 342.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4559, allocations: 0 / 342.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00105/0.4569, allocations: 376.6 kB / 343 MB, free: 8.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.457, allocations: 33.3 kB / 343 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.457, allocations: 0 / 343 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/0.4575, allocations: 69.67 kB / 343.1 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.4581, allocations: 75.89 kB / 343.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.4614, allocations: 2.63 MB / 345.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.462, allocations: 39.83 kB / 345.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.4621, allocations: 8 kB / 345.8 MB, free: 5.547 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.000256/0.4624, allocations: 124.9 kB / 345.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009223/0.4633, allocations: 315 kB / 346.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4634, allocations: 47.48 kB / 346.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.4636, allocations: 44.69 kB / 346.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.4636, allocations: 4 kB / 346.3 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4636, allocations: 4 kB / 346.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007657/0.4644, allocations: 0.614 MB / 347 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.4662, allocations: 0.7948 MB / 347.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4662, allocations: 4 kB / 347.8 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.4669, allocations: 75.89 kB / 347.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.467, allocations: 4 kB / 347.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.467, allocations: 0 / 347.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.467, allocations: 3.938 kB / 347.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.467, allocations: 4 kB / 347.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4681, allocations: 486.8 kB / 348.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.4683, allocations: 132.4 kB / 348.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.4684, allocations: 8.062 kB / 348.5 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.4688, allocations: 11.98 kB / 348.5 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.4689, allocations: 15.97 kB / 348.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.469, allocations: 12 kB / 348.5 MB, free: 2.656 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004213/0.4694, allocations: 244.6 kB / 348.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4694, allocations: 0 / 348.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006943/0.4701, allocations: 119.8 kB / 348.9 MB, free: 2.297 MB / 298.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.001403/0.4715, allocations: 1.025 MB / 349.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.473, allocations: 0.5185 MB / 350.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.473, allocations: 8.125 kB / 350.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.4733, allocations: 115.9 kB / 350.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.4741, allocations: 105.1 kB / 350.6 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.4767, allocations: 0.6753 MB / 351.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4772, allocations: 0.8236 MB / 352.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.4776, allocations: 55.28 kB / 352.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.4779, allocations: 147.4 kB / 352.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4779, allocations: 0 / 352.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05684/0.5348, allocations: 9.552 MB / 361.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.5351, allocations: 145.1 kB / 362 MB, free: 4.969 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.408, allocations: 0 / 362 MB, free: 4.969 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