Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.162e-05/4.169e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5533, allocations: 76.64 MB / 376.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5536, allocations: 68.11 kB / 376.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08119/0.6348, allocations: 18.13 MB / 394.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6349, allocations: 4 kB / 394.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.635, allocations: 26.86 kB / 394.8 MB, free: 10.55 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003991/0.639, allocations: 1.113 MB / 396 MB, free: 9.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.6391, allocations: 15.75 kB / 396 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/0.6395, allocations: 119.8 kB / 396.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.64, allocations: 125.3 kB / 396.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.6419, allocations: 0.5697 MB / 396.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.6423, allocations: 160.4 kB / 396.9 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.6425, allocations: 69.81 kB / 397 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.6451, allocations: 0.9032 MB / 397.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.6452, allocations: 0 / 397.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.6454, allocations: 35.06 kB / 397.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.6454, allocations: 19.25 kB / 398 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.6475, allocations: 0.5373 MB / 398.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008172/0.6557, allocations: 2.546 MB / 401 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006192/0.662, allocations: 0.8711 MB / 401.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.6633, allocations: 321.8 kB / 402.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.6634, allocations: 18.25 kB / 402.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.6635, allocations: 52.77 kB / 402.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 5.801e-06/0.6635, allocations: 0 / 402.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002742/0.6663, allocations: 0.6799 MB / 403 MB, free: 7.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003012/0.6666, allocations: 0.9482 MB / 403.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.6684, allocations: 0.6519 MB / 404.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.6687, allocations: 43.52 kB / 404.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.6691, allocations: 400.3 kB / 405 MB, free: 6.027 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.6696, allocations: 246.5 kB / 405.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.6697, allocations: 13.78 kB / 405.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6698, allocations: 338.1 kB / 405.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/0.6707, allocations: 223 kB / 405.8 MB, free: 5.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.672, allocations: 0.5352 MB / 406.3 MB, free: 5.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6731, allocations: 376.3 kB / 406.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6732, allocations: 3.812 kB / 406.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003101/0.6763, allocations: 0.8773 MB / 407.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.6764, allocations: 92.59 kB / 407.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.6764, allocations: 7.672 kB / 407.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.6771, allocations: 123.1 kB / 407.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.679, allocations: 166.2 kB / 408 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009774/0.6888, allocations: 6.903 MB / 414.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6905, allocations: 115.7 kB / 415 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.6907, allocations: 22.92 kB / 415 MB, free: 13.87 MB / 330.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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003186/0.691, allocations: 172 kB / 415.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.6913, allocations: 93.59 kB / 415.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.6916, allocations: 100.7 kB / 415.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6917, allocations: 7.75 kB / 415.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.6917, allocations: 0 / 415.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/0.6935, allocations: 0.9237 MB / 416.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.6981, allocations: 1.68 MB / 418 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6981, allocations: 0 / 418 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.6996, allocations: 170.6 kB / 418.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.6999, allocations: 27.41 kB / 418.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.7, allocations: 18.08 kB / 418.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.7016, allocations: 1.445 MB / 419.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7016, allocations: 0 / 419.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.7041, allocations: 1.001 MB / 420.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.7046, allocations: 178.1 kB / 420.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.7049, allocations: 21.75 kB / 420.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.7059, allocations: 53.52 kB / 420.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7061, allocations: 39.78 kB / 420.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.7062, allocations: 21.86 kB / 420.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.7072, allocations: 0.515 MB / 421.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7073, allocations: 3.938 kB / 421.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001592/0.7089, allocations: 295.7 kB / 421.8 MB, free: 10.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003224/0.7121, allocations: 1.582 MB / 423.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.7151, allocations: 1.289 MB / 424.6 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.7151, allocations: 3.875 kB / 424.6 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.7163, allocations: 394.2 kB / 425 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.719, allocations: 231.8 kB / 425.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00679/0.7259, allocations: 1.4 MB / 426.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000945/0.7269, allocations: 0.988 MB / 427.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001432/0.7283, allocations: 116.8 kB / 427.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.7295, allocations: 346.1 kB / 428.1 MB, free: 6.848 MB / 330.7 MB Notification: Performance of SimCode: time 3.426e-06/0.7296, allocations: 0 / 428.1 MB, free: 6.848 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.8458, allocations: 22.65 MB / 450.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.8462, allocations: 198.9 kB / 450.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/4.642, allocations: 4 kB / 450.9 MB, free: 7.77 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat