Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.299e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5658, allocations: 82.29 MB / 399.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.5662, allocations: 73.33 kB / 399.4 MB, free: 5.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09086/0.6571, allocations: 16.4 MB / 415.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6571, allocations: 0 / 415.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.546e-05/0.6572, allocations: 20 kB / 415.8 MB, free: 7.512 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003626/0.6609, allocations: 1.069 MB / 416.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.661, allocations: 8.031 kB / 416.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003806/0.6614, allocations: 123.2 kB / 417 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.6617, allocations: 106.9 kB / 417.1 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.6634, allocations: 0.5317 MB / 417.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.6638, allocations: 150.4 kB / 417.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.6641, allocations: 56.03 kB / 417.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.666, allocations: 0.7986 MB / 418.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.6661, allocations: 3.938 kB / 418.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.6663, allocations: 27.06 kB / 418.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.6663, allocations: 12 kB / 418.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.6681, allocations: 0.4948 MB / 419.2 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006724/0.6749, allocations: 2.131 MB / 421.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6768, allocations: 0.8931 MB / 422.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000958/0.6779, allocations: 334.1 kB / 422.5 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.678, allocations: 8.781 kB / 422.5 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.6781, allocations: 47.22 kB / 422.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 4.268e-06/0.6781, allocations: 4 kB / 422.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.00374/0.6818, allocations: 0.8619 MB / 423.4 MB, free: 1.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004287/0.6823, allocations: 0.8195 MB / 424.3 MB, free: 172 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6836, allocations: 0.5456 MB / 424.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.6839, allocations: 44.14 kB / 424.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.6842, allocations: 350 kB / 425.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.6847, allocations: 251.3 kB / 425.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.6848, allocations: 22.06 kB / 425.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.685, allocations: 386.7 kB / 425.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.6857, allocations: 217.9 kB / 426 MB, free: 14.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6868, allocations: 490.8 kB / 426.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.6878, allocations: 354.9 kB / 426.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.6878, allocations: 7.875 kB / 426.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003863/0.6917, allocations: 0.9994 MB / 427.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.6919, allocations: 92.66 kB / 428 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6919, allocations: 0 / 428 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/0.6928, allocations: 200.8 kB / 428.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.6942, allocations: 143.2 kB / 428.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.7048, allocations: 6.223 MB / 434.5 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7064, allocations: 110.8 kB / 434.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.7066, allocations: 27.75 kB / 434.7 MB, free: 6.539 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003048/0.7069, allocations: 157.9 kB / 434.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.7072, allocations: 91.2 kB / 434.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.7075, allocations: 91.55 kB / 435 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.7075, allocations: 11.98 kB / 435 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7076, allocations: 0 / 435 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003455/0.711, allocations: 1.158 MB / 436.2 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/0.7173, allocations: 1.861 MB / 438 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.7174, allocations: 0 / 438 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.719, allocations: 147.4 kB / 438.2 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.7197, allocations: 169.5 kB / 438.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.7199, allocations: 11.75 kB / 438.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.7306, allocations: 4.788 MB / 443.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7306, allocations: 3.938 kB / 443.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/0.7396, allocations: 1.262 MB / 444.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.7412, allocations: 232.4 kB / 444.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004723/0.7418, allocations: 18.38 kB / 444.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/0.7442, allocations: 66.2 kB / 444.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.7448, allocations: 61.75 kB / 444.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.745, allocations: 26.86 kB / 444.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001899/0.7469, allocations: 442.9 kB / 445.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.904e-06/0.747, allocations: 0 / 445.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003381/0.7504, allocations: 287.7 kB / 445.5 MB, free: 12.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009906/0.7604, allocations: 1.861 MB / 447.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005293/0.7658, allocations: 1.205 MB / 448.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.7658, allocations: 0 / 448.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.7695, allocations: 0.6994 MB / 449.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.7726, allocations: 219.6 kB / 449.5 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009811/0.7825, allocations: 1.39 MB / 450.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.7841, allocations: 0.9674 MB / 451.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001771/0.786, allocations: 94.22 kB / 451.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.7872, allocations: 299.3 kB / 452.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of SimCode: time 2.145e-06/0.7872, allocations: 0 / 452.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08904/0.8763, allocations: 22.69 MB / 474.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000375/0.8767, allocations: 179.1 kB / 475.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/4.643, allocations: 3.938 kB / 475.1 MB, free: 15.05 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat