Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.57e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.5565, allocations: 81.56 MB / 398.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5568, allocations: 68.28 kB / 398.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04539/0.6022, allocations: 10.02 MB / 408.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6023, allocations: 0 / 408.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.6024, allocations: 12 kB / 408.7 MB, free: 13.62 MB / 330.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.001936/0.6043, allocations: 0.736 MB / 409.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.6044, allocations: 12.03 kB / 409.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.6046, allocations: 78.19 kB / 409.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.6048, allocations: 63.25 kB / 409.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.6057, allocations: 395.5 kB / 410 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.6059, allocations: 62 kB / 410 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/0.606, allocations: 31.38 kB / 410 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.6071, allocations: 444.3 kB / 410.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.6071, allocations: 0 / 410.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.6072, allocations: 23.81 kB / 410.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6072, allocations: 8 kB / 410.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.6081, allocations: 277 kB / 410.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.6118, allocations: 1.29 MB / 412.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.6127, allocations: 365.2 kB / 412.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.6131, allocations: 152.5 kB / 412.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.6132, allocations: 15.23 kB / 412.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6132, allocations: 34 kB / 412.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.456e-06/0.6133, allocations: 4 kB / 412.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001091/0.6144, allocations: 365.1 kB / 413 MB, free: 9.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002558/0.6146, allocations: 441 kB / 413.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/0.6154, allocations: 411.3 kB / 413.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.6155, allocations: 36.2 kB / 413.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.6158, allocations: 237 kB / 414.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.616, allocations: 125.4 kB / 414.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.616, allocations: 10.69 kB / 414.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6162, allocations: 354.2 kB / 414.6 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.6166, allocations: 113.4 kB / 414.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.6171, allocations: 244.6 kB / 414.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.6175, allocations: 162.2 kB / 415.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6175, allocations: 0 / 415.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001173/0.6187, allocations: 423.1 kB / 415.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.6187, allocations: 29.7 kB / 415.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6188, allocations: 0 / 415.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.619, allocations: 46.89 kB / 415.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.6199, allocations: 102.7 kB / 415.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.6232, allocations: 2.729 MB / 418.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008246/0.6241, allocations: 67.44 kB / 418.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6241, allocations: 11.98 kB / 418.5 MB, free: 4.629 MB / 330.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 (38): * Single equations (assignments): 35 * 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.0001957/0.6244, allocations: 130.7 kB / 418.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6245, allocations: 59.34 kB / 418.6 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.6247, allocations: 54.34 kB / 418.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6247, allocations: 4.234 kB / 418.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6247, allocations: 0 / 418.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009491/0.6257, allocations: 0.6696 MB / 419.4 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.6278, allocations: 0.9767 MB / 420.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6279, allocations: 0 / 420.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.6288, allocations: 99.25 kB / 420.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.6288, allocations: 4 kB / 420.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.6288, allocations: 7.234 kB / 420.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.6289, allocations: 7.953 kB / 420.5 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6289, allocations: 0 / 420.5 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6301, allocations: 0.555 MB / 421 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.6305, allocations: 167.4 kB / 421.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6306, allocations: 10.19 kB / 421.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.6312, allocations: 38.41 kB / 421.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.6313, allocations: 23.36 kB / 421.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.6313, allocations: 8 kB / 421.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005931/0.632, allocations: 325.1 kB / 421.6 MB, free: 1.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.632, allocations: 0 / 421.6 MB, free: 1.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000718/0.6327, allocations: 147.3 kB / 421.7 MB, free: 1.789 MB / 330.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 (36): * Single equations (assignments): 36 * 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.001831/0.6345, allocations: 1.127 MB / 422.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.636, allocations: 0.5528 MB / 423.4 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.636, allocations: 4 kB / 423.4 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.6364, allocations: 143.7 kB / 423.5 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.6376, allocations: 145.4 kB / 423.7 MB, free: 108 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.6403, allocations: 0.7451 MB / 424.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.6409, allocations: 0.8394 MB / 425.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.6413, allocations: 60.34 kB / 425.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.6417, allocations: 171.7 kB / 425.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6417, allocations: 4 kB / 425.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/0.6938, allocations: 12.05 MB / 437.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/0.6942, allocations: 175 kB / 437.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/3.741, allocations: 0 / 437.7 MB, free: 2.234 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat