Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.678e-05, allocations: 0 / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5749, allocations: 75.56 MB / 392.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5753, allocations: 65.41 kB / 392.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007863/0.5832, allocations: 1.789 MB / 394.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5832, allocations: 0 / 394.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.5832, allocations: 0 / 394.4 MB, free: 10.51 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005126/0.5838, allocations: 373.7 kB / 394.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5838, allocations: 12.03 kB / 394.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.5839, allocations: 38.06 kB / 394.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.5841, allocations: 11.89 kB / 394.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.5843, allocations: 171 kB / 395 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.5843, allocations: 10.95 kB / 395 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5843, allocations: 7.25 kB / 395 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.5846, allocations: 82.38 kB / 395.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5846, allocations: 0 / 395.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5846, allocations: 6.5 kB / 395.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5847, allocations: 8 kB / 395.1 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.5848, allocations: 51.92 kB / 395.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.5858, allocations: 397.4 kB / 395.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.586, allocations: 74.38 kB / 395.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.5861, allocations: 34.34 kB / 395.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.5862, allocations: 6.297 kB / 395.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.5862, allocations: 30.56 kB / 395.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.905e-06/0.5862, allocations: 0 / 395.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002548/0.5865, allocations: 71.66 kB / 395.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5865, allocations: 51.41 kB / 395.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5867, allocations: 99.5 kB / 395.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5867, allocations: 29.7 kB / 396 MB, free: 8.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.5868, allocations: 103.8 kB / 396.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.5868, allocations: 30.86 kB / 396.1 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.5869, allocations: 7.312 kB / 396.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.587, allocations: 314.8 kB / 396.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.5871, allocations: 21 kB / 396.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/0.5872, allocations: 43.75 kB / 396.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.5873, allocations: 27.67 kB / 396.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5873, allocations: 3.984 kB / 396.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.5876, allocations: 109.9 kB / 396.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5876, allocations: 4 kB / 396.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5876, allocations: 64 / 396.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.5876, allocations: 8 kB / 396.6 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.5879, allocations: 23.98 kB / 396.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5879, allocations: 0 / 396.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.588, allocations: 15.62 kB / 396.7 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5881, allocations: 4 kB / 396.7 MB, free: 8.246 MB / 314.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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.000131/0.5882, allocations: 111.7 kB / 396.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.5882, allocations: 11.89 kB / 396.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.5883, allocations: 7.438 kB / 396.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5883, allocations: 4 kB / 396.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5883, allocations: 0 / 396.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5883, allocations: 3.984 kB / 396.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.5886, allocations: 191.3 kB / 397 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5887, allocations: 0 / 397 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.5889, allocations: 19.98 kB / 397 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5889, allocations: 0 / 397 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.5889, allocations: 3.688 kB / 397 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5889, allocations: 4 kB / 397 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.589, allocations: 0 / 397 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.5893, allocations: 193.1 kB / 397.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.5893, allocations: 89.16 kB / 397.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.5894, allocations: 3.875 kB / 397.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.5895, allocations: 3.938 kB / 397.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5895, allocations: 7.984 kB / 397.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.5895, allocations: 0 / 397.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.5896, allocations: 86.28 kB / 397.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5896, allocations: 0 / 397.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.59, allocations: 30.84 kB / 397.4 MB, free: 7.445 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006574/0.5907, allocations: 0.7295 MB / 398.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.5909, allocations: 48.5 kB / 398.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5909, allocations: 0 / 398.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.591, allocations: 25.56 kB / 398.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.5912, allocations: 6.812 kB / 398.2 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.5922, allocations: 287.9 kB / 398.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5926, allocations: 0.7004 MB / 399.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.5927, allocations: 3.953 kB / 399.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.5928, allocations: 27.17 kB / 399.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5928, allocations: 0 / 399.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.6135, allocations: 1.505 MB / 400.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.6139, allocations: 153.4 kB / 400.9 MB, free: 3.934 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.019, allocations: 7.875 kB / 400.9 MB, free: 3.926 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat