Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.34e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 38.76 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4498, allocations: 71.29 MB / 335.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.4502, allocations: 71.97 kB / 335.2 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08825/0.5384, allocations: 18.06 MB / 353.3 MB, free: 48 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5385, allocations: 0 / 353.3 MB, free: 48 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.757e-05/0.5386, allocations: 19.94 kB / 353.3 MB, free: 28 kB / 298.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.003051/0.5416, allocations: 1.127 MB / 354.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.5417, allocations: 8.031 kB / 354.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002907/0.542, allocations: 124.4 kB / 354.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.5423, allocations: 126.6 kB / 354.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5439, allocations: 0.5681 MB / 355.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.5443, allocations: 155 kB / 355.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.5445, allocations: 71.98 kB / 355.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.5466, allocations: 0.9122 MB / 356.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.5467, allocations: 4 kB / 356.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5468, allocations: 32 kB / 356.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.5468, allocations: 16 kB / 356.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.5485, allocations: 0.5546 MB / 357 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006685/0.5553, allocations: 2.52 MB / 359.5 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004788/0.5601, allocations: 0.8844 MB / 360.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.5612, allocations: 319.1 kB / 360.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.5613, allocations: 12.78 kB / 360.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.5614, allocations: 51.34 kB / 360.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.068e-06/0.5614, allocations: 4 kB / 360.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002462/0.5639, allocations: 0.7179 MB / 361.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000488/0.5644, allocations: 0.9529 MB / 362.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5658, allocations: 0.6526 MB / 363.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.5661, allocations: 49.7 kB / 363.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.5665, allocations: 404.4 kB / 363.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.5669, allocations: 244.4 kB / 363.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.5669, allocations: 16 kB / 363.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5671, allocations: 334 kB / 364.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.5678, allocations: 225.5 kB / 364.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.569, allocations: 0.5389 MB / 364.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.5699, allocations: 366.2 kB / 365.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5699, allocations: 0 / 365.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002777/0.5727, allocations: 0.9259 MB / 366.2 MB, free: 2.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/0.5728, allocations: 93.09 kB / 366.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5728, allocations: 3.938 kB / 366.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.5738, allocations: 176.3 kB / 366.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5752, allocations: 151.8 kB / 366.6 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2698/0.845, allocations: 6.899 MB / 373.5 MB, free: 81.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.8465, allocations: 112.9 kB / 373.6 MB, free: 81.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.8467, allocations: 28.38 kB / 373.6 MB, free: 81.17 MB / 314.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 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.847, allocations: 158.9 kB / 373.8 MB, free: 81.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.8474, allocations: 99.41 kB / 373.9 MB, free: 81.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.8478, allocations: 100.5 kB / 374 MB, free: 81.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.8478, allocations: 7.156 kB / 374 MB, free: 81.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.8478, allocations: 5.016 kB / 374 MB, free: 81.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.8495, allocations: 0.9204 MB / 374.9 MB, free: 80.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.8533, allocations: 1.672 MB / 376.6 MB, free: 80.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8533, allocations: 0 / 376.6 MB, free: 80.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.8548, allocations: 166.9 kB / 376.7 MB, free: 80.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.8549, allocations: 33.67 kB / 376.8 MB, free: 80.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.855, allocations: 15.92 kB / 376.8 MB, free: 80.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.8562, allocations: 1.442 MB / 378.2 MB, free: 78.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8562, allocations: 0 / 378.2 MB, free: 78.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.8585, allocations: 0.9931 MB / 379.2 MB, free: 78.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.8589, allocations: 180.4 kB / 379.4 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.8591, allocations: 25.84 kB / 379.4 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.86, allocations: 47.05 kB / 379.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.8602, allocations: 50.53 kB / 379.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.8602, allocations: 17.31 kB / 379.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008924/0.8611, allocations: 0.5147 MB / 380 MB, free: 78.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8612, allocations: 0 / 380 MB, free: 78.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001223/0.8624, allocations: 292.1 kB / 380.3 MB, free: 78.28 MB / 314.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.002632/0.865, allocations: 1.578 MB / 381.9 MB, free: 77.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.8684, allocations: 1.362 MB / 383.3 MB, free: 76.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8684, allocations: 0 / 383.3 MB, free: 76.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.8693, allocations: 402 kB / 383.7 MB, free: 76.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.8711, allocations: 236.2 kB / 383.9 MB, free: 76.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.876, allocations: 1.437 MB / 385.3 MB, free: 76.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.8765, allocations: 0.9898 MB / 386.3 MB, free: 75.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008408/0.8774, allocations: 113.3 kB / 386.4 MB, free: 75.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.878, allocations: 343.5 kB / 386.8 MB, free: 75.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.543e-06/0.878, allocations: 0 / 386.8 MB, free: 75.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0867/0.9648, allocations: 22.93 MB / 409.7 MB, free: 58.47 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.9651, allocations: 191.8 kB / 409.9 MB, free: 58.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/4.899, allocations: 4 kB / 409.9 MB, free: 58.24 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat