Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.706e-05/4.751e-05, allocations: 8 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 44.49 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5518, allocations: 75.63 MB / 375.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5522, allocations: 71.58 kB / 375.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03742/0.5896, allocations: 9.001 MB / 384.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5897, allocations: 0 / 384.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.5897, allocations: 13.22 kB / 384.7 MB, free: 11.72 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00135/0.5911, allocations: 0.6675 MB / 385.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5911, allocations: 11.73 kB / 385.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.5913, allocations: 75.44 kB / 385.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.5914, allocations: 59.28 kB / 385.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.5922, allocations: 367.9 kB / 385.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5923, allocations: 61.39 kB / 385.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.5924, allocations: 31.78 kB / 385.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.5933, allocations: 442.7 kB / 386.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5934, allocations: 1.281 kB / 386.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.5934, allocations: 14.81 kB / 386.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.5935, allocations: 7.906 kB / 386.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.5943, allocations: 256.9 kB / 386.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.5972, allocations: 1.251 MB / 387.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5989, allocations: 433 kB / 388.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.5992, allocations: 127.9 kB / 388.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.5993, allocations: 11.42 kB / 388.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5993, allocations: 35.53 kB / 388.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/0.5993, allocations: 3.875 kB / 388.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008955/0.6002, allocations: 335.8 kB / 388.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6004, allocations: 450.1 kB / 389.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.601, allocations: 381.8 kB / 389.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.601, allocations: 36.58 kB / 389.7 MB, free: 9.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.6012, allocations: 217 kB / 389.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6013, allocations: 118.4 kB / 390 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.6014, allocations: 6 kB / 390 MB, free: 9.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6015, allocations: 354.9 kB / 390.4 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.6018, allocations: 99.78 kB / 390.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.6022, allocations: 236 kB / 390.7 MB, free: 8.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.6025, allocations: 152.5 kB / 390.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6025, allocations: 0 / 390.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008961/0.6034, allocations: 401.2 kB / 391.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.6035, allocations: 33.67 kB / 391.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.6035, allocations: 11.17 kB / 391.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.6037, allocations: 49.66 kB / 391.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.6043, allocations: 66.5 kB / 391.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.6067, allocations: 2.749 MB / 394.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.6075, allocations: 49.48 kB / 394.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.6075, allocations: 10.95 kB / 394.2 MB, free: 5.832 MB / 314.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.000151/0.6077, allocations: 128.5 kB / 394.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.6078, allocations: 46.89 kB / 394.4 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.608, allocations: 54.81 kB / 394.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.608, allocations: 3.875 kB / 394.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.608, allocations: 0 / 394.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009566/0.609, allocations: 0.6332 MB / 395.1 MB, free: 21.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.6107, allocations: 0.8916 MB / 395.9 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6107, allocations: 0 / 395.9 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.6113, allocations: 76.03 kB / 396 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.6114, allocations: 0 / 396 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.6114, allocations: 7.594 kB / 396 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6114, allocations: 0 / 396 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6114, allocations: 0 / 396 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.6124, allocations: 0.4932 MB / 396.5 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.6126, allocations: 133.5 kB / 396.7 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.6127, allocations: 7.812 kB / 396.7 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.6131, allocations: 17.92 kB / 396.7 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.6132, allocations: 22.45 kB / 396.7 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.6133, allocations: 7.344 kB / 396.7 MB, free: 20.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004618/0.6137, allocations: 300.4 kB / 397 MB, free: 20.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6137, allocations: 0 / 397 MB, free: 20.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.6144, allocations: 140.2 kB / 397.1 MB, free: 20.39 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.001426/0.6158, allocations: 1.073 MB / 398.2 MB, free: 19.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.617, allocations: 0.5268 MB / 398.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.617, allocations: 0 / 398.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.6173, allocations: 122.7 kB / 398.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.6182, allocations: 117 kB / 399 MB, free: 19.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.6203, allocations: 0.6871 MB / 399.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.6208, allocations: 0.8206 MB / 400.5 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.6212, allocations: 55.94 kB / 400.5 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.6215, allocations: 160.4 kB / 400.7 MB, free: 18.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6215, allocations: 0 / 400.7 MB, free: 18.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.6611, allocations: 11.06 MB / 411.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.6614, allocations: 177.4 kB / 411.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/3.974, allocations: 0 / 411.9 MB, free: 15.12 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat