Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.511e-05/4.532e-05, allocations: 0 / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6099, allocations: 76.23 MB / 376.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6103, allocations: 68.66 kB / 376.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04042/0.6507, allocations: 9.459 MB / 385.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6508, allocations: 0 / 385.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.983e-05/0.6508, allocations: 9.281 kB / 385.7 MB, free: 11.69 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001619/0.6525, allocations: 0.7193 MB / 386.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6525, allocations: 11.62 kB / 386.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.6527, allocations: 80.36 kB / 386.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.6528, allocations: 58.31 kB / 386.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.6536, allocations: 390.8 kB / 387 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.6537, allocations: 62.52 kB / 387 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.6538, allocations: 32.25 kB / 387.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.6548, allocations: 445.7 kB / 387.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6549, allocations: 3.047 kB / 387.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.6549, allocations: 14.94 kB / 387.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.655, allocations: 7.75 kB / 387.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.6557, allocations: 274.1 kB / 387.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.6587, allocations: 1.278 MB / 389.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.6594, allocations: 374.9 kB / 389.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.6598, allocations: 155.5 kB / 389.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.6598, allocations: 7.078 kB / 389.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.6599, allocations: 41.97 kB / 389.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/0.6599, allocations: 0 / 389.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0011/0.661, allocations: 375.6 kB / 390 MB, free: 9.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6611, allocations: 450.8 kB / 390.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.6617, allocations: 379.5 kB / 390.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.6618, allocations: 37.17 kB / 390.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.662, allocations: 238.4 kB / 391.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.6621, allocations: 127.1 kB / 391.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6621, allocations: 6.75 kB / 391.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.6622, allocations: 356.7 kB / 391.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.6625, allocations: 110.2 kB / 391.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.6629, allocations: 247.4 kB / 391.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.6633, allocations: 153.5 kB / 392.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6633, allocations: 2.484 kB / 392.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001111/0.6644, allocations: 443.2 kB / 392.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.6645, allocations: 33.45 kB / 392.5 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6645, allocations: 0 / 392.5 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.6649, allocations: 55.45 kB / 392.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.6657, allocations: 96.25 kB / 392.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.6681, allocations: 2.747 MB / 395.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.6689, allocations: 65.11 kB / 395.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.669, allocations: 11.28 kB / 395.5 MB, free: 5.766 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 (38): * Single equations (assignments): 35 * 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.0001542/0.6691, allocations: 135.4 kB / 395.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6693, allocations: 46.66 kB / 395.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.6694, allocations: 54.64 kB / 395.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6694, allocations: 7.828 kB / 395.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6695, allocations: 4 kB / 395.7 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.6705, allocations: 0.6703 MB / 396.4 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.6725, allocations: 0.9496 MB / 397.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6725, allocations: 0 / 397.4 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.6734, allocations: 105.2 kB / 397.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.6734, allocations: 0 / 397.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.6735, allocations: 10.94 kB / 397.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6735, allocations: 0 / 397.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6735, allocations: 0 / 397.5 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.6747, allocations: 0.5578 MB / 398 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.6749, allocations: 129.4 kB / 398.2 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.6751, allocations: 11.64 kB / 398.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.6757, allocations: 45.41 kB / 398.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6758, allocations: 21.92 kB / 398.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.6758, allocations: 11.84 kB / 398.2 MB, free: 20.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005001/0.6764, allocations: 309.4 kB / 398.5 MB, free: 20.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6764, allocations: 0 / 398.5 MB, free: 20.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006495/0.677, allocations: 146.1 kB / 398.7 MB, free: 20.3 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 (36): * Single equations (assignments): 36 * 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.001537/0.6786, allocations: 1.115 MB / 399.8 MB, free: 19.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.6798, allocations: 0.5783 MB / 400.4 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6798, allocations: 0 / 400.4 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.6801, allocations: 151.6 kB / 400.5 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.6811, allocations: 127.1 kB / 400.7 MB, free: 19.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6833, allocations: 0.7415 MB / 401.4 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.6838, allocations: 0.8384 MB / 402.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003845/0.6842, allocations: 59.52 kB / 402.3 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.6845, allocations: 163.3 kB / 402.5 MB, free: 18.21 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6845, allocations: 0 / 402.5 MB, free: 18.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.7257, allocations: 11.82 MB / 414.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.7259, allocations: 172.4 kB / 414.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.905, allocations: 3.938 kB / 414.4 MB, free: 14.29 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat