Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.289/2.289, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.504e-05, allocations: 8 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5652, allocations: 80.86 MB / 397.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5655, allocations: 71.33 kB / 397.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04039/0.6059, allocations: 9.489 MB / 407.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.606, allocations: 4 kB / 407.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.848e-05/0.606, allocations: 10.19 kB / 407.4 MB, free: 14.79 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001588/0.6076, allocations: 0.686 MB / 408.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.6077, allocations: 12.03 kB / 408.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.6079, allocations: 75.59 kB / 408.2 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.6081, allocations: 71.33 kB / 408.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.6089, allocations: 364.4 kB / 408.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.609, allocations: 65.69 kB / 408.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.6091, allocations: 34.69 kB / 408.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.6101, allocations: 441 kB / 409.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.6101, allocations: 0 / 409.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.6102, allocations: 20.25 kB / 409.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6102, allocations: 8 kB / 409.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.611, allocations: 260.6 kB / 409.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.6144, allocations: 1.266 MB / 410.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.6163, allocations: 428.1 kB / 411.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.6167, allocations: 138.4 kB / 411.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-05/0.6168, allocations: 4.281 kB / 411.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.6169, allocations: 38.41 kB / 411.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.486e-06/0.6169, allocations: 0 / 411.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001068/0.618, allocations: 326.2 kB / 411.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/0.6182, allocations: 460.7 kB / 412.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.619, allocations: 389.8 kB / 412.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.6191, allocations: 33.52 kB / 412.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.6193, allocations: 239.9 kB / 412.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6194, allocations: 113.7 kB / 412.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.6195, allocations: 7.938 kB / 412.8 MB, free: 10 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.6197, allocations: 354.2 kB / 413.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.62, allocations: 101.5 kB / 413.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.6205, allocations: 236.6 kB / 413.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.6209, allocations: 160.9 kB / 413.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6209, allocations: 0 / 413.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001087/0.622, allocations: 398.2 kB / 414.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.6221, allocations: 33.69 kB / 414.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6221, allocations: 4 kB / 414.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.6223, allocations: 49.11 kB / 414.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.623, allocations: 75.92 kB / 414.2 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.6261, allocations: 2.737 MB / 417 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.6268, allocations: 55.47 kB / 417 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.6269, allocations: 12 kB / 417 MB, free: 5.898 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 (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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.6271, allocations: 124.4 kB / 417.2 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6272, allocations: 51.44 kB / 417.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.6274, allocations: 59.75 kB / 417.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.6274, allocations: 7.953 kB / 417.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6274, allocations: 4 kB / 417.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008786/0.6283, allocations: 0.6336 MB / 417.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.6302, allocations: 0.8901 MB / 418.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6303, allocations: 3.938 kB / 418.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.631, allocations: 71.11 kB / 418.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.631, allocations: 0 / 418.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.6311, allocations: 15.23 kB / 418.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6311, allocations: 0 / 418.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6311, allocations: 0 / 418.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.6323, allocations: 0.4999 MB / 419.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.6326, allocations: 161.7 kB / 419.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6327, allocations: 17.7 kB / 419.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.6332, allocations: 15.23 kB / 419.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.6333, allocations: 27.28 kB / 419.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.6333, allocations: 7.5 kB / 419.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005775/0.6339, allocations: 309.3 kB / 419.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6339, allocations: 0 / 419.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007386/0.6347, allocations: 150.5 kB / 420.1 MB, free: 3.219 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 (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.001598/0.6363, allocations: 1.05 MB / 421.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.6376, allocations: 0.5305 MB / 421.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6376, allocations: 4 kB / 421.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.6379, allocations: 118.9 kB / 421.8 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.639, allocations: 137 kB / 421.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6414, allocations: 0.705 MB / 422.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.642, allocations: 0.8352 MB / 423.4 MB, free: 68 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.6424, allocations: 56.19 kB / 423.5 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.6427, allocations: 161.8 kB / 423.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.884e-06/0.6428, allocations: 4 kB / 423.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/0.7027, allocations: 11.34 MB / 435 MB, free: 4.711 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.703, allocations: 185.5 kB / 435.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/3.606, allocations: 0 / 435.2 MB, free: 4.48 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat