Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.359/2.359, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.869e-05, allocations: 10.02 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.5867, allocations: 81.78 MB / 424.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.587, allocations: 67.03 kB / 425 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07543/0.6624, allocations: 16.09 MB / 441.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6625, allocations: 4 kB / 441.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.6627, allocations: 15.98 kB / 441.1 MB, free: 14.93 MB / 362.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.00605/0.6688, allocations: 1.072 MB / 442.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.86e-05/0.6689, allocations: 12.03 kB / 442.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005714/0.6695, allocations: 112.9 kB / 442.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005207/0.67, allocations: 106.9 kB / 442.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.6727, allocations: 0.532 MB / 442.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/0.6733, allocations: 153.9 kB / 443.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.6737, allocations: 62.47 kB / 443.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.6769, allocations: 0.7911 MB / 444 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.677, allocations: 0 / 444 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.6772, allocations: 29.94 kB / 444 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.6773, allocations: 19.94 kB / 444 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.6803, allocations: 0.4947 MB / 444.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.691, allocations: 2.123 MB / 446.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.6942, allocations: 0.9082 MB / 447.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.6958, allocations: 323.9 kB / 447.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.696, allocations: 28.06 kB / 447.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.666e-05/0.6961, allocations: 48.78 kB / 447.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 6.372e-06/0.6962, allocations: 0 / 447.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005932/0.7021, allocations: 0.8465 MB / 448.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005577/0.7027, allocations: 0.8266 MB / 449.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.7047, allocations: 0.5567 MB / 450.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.7052, allocations: 45.7 kB / 450.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.7058, allocations: 337 kB / 450.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/0.7065, allocations: 264.2 kB / 450.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.7066, allocations: 12 kB / 450.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003727/0.707, allocations: 386.8 kB / 451.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.7082, allocations: 217.6 kB / 451.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.7102, allocations: 0.4931 MB / 451.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.7119, allocations: 341.3 kB / 452.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.7119, allocations: 0 / 452.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006374/0.7183, allocations: 1.003 MB / 453.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.7185, allocations: 85.11 kB / 453.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.7186, allocations: 0 / 453.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.72, allocations: 199.3 kB / 453.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.7222, allocations: 155.8 kB / 453.6 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.7386, allocations: 6.215 MB / 459.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.741, allocations: 119.4 kB / 460 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.7413, allocations: 20 kB / 460 MB, free: 12.45 MB / 378.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.000504/0.7418, allocations: 160.8 kB / 460.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.7423, allocations: 90.92 kB / 460.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.7428, allocations: 96.06 kB / 460.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.7428, allocations: 4 kB / 460.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.7428, allocations: 0 / 460.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004918/0.7478, allocations: 1.162 MB / 461.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/0.7561, allocations: 1.843 MB / 463.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.7562, allocations: 3.938 kB / 463.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.7577, allocations: 147.8 kB / 463.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007178/0.7585, allocations: 162.6 kB / 463.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.7587, allocations: 19.94 kB / 463.7 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009047/0.7677, allocations: 4.794 MB / 468.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7678, allocations: 0 / 468.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.7725, allocations: 1.266 MB / 469.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/0.7734, allocations: 243.9 kB / 470 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.7737, allocations: 27.97 kB / 470 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7749, allocations: 51.97 kB / 470 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.7752, allocations: 72.67 kB / 470.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.7753, allocations: 16 kB / 470.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009733/0.7763, allocations: 443.2 kB / 470.6 MB, free: 1.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.7763, allocations: 0 / 470.6 MB, free: 1.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001716/0.7781, allocations: 295.7 kB / 470.9 MB, free: 0.9375 MB / 378.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.005302/0.7834, allocations: 1.854 MB / 472.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.7864, allocations: 1.205 MB / 473.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.7865, allocations: 4.125 kB / 473.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.7887, allocations: 0.7071 MB / 474.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7908, allocations: 211.2 kB / 474.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.796, allocations: 1.393 MB / 476.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.7967, allocations: 0.9636 MB / 477.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.7975, allocations: 94.2 kB / 477.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.7982, allocations: 291.3 kB / 477.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of SimCode: time 5.771e-06/0.7982, allocations: 3.938 kB / 477.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.8816, allocations: 22.7 MB / 0.4885 GB, free: 3.523 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003964/0.8821, allocations: 189.1 kB / 0.4887 GB, free: 3.289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/4.674, allocations: 0 / 0.4887 GB, free: 3.289 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat