Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.3/2.3, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.746e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3258, allocations: 44.48 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4648, allocations: 70.65 MB / 364.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4651, allocations: 67.97 kB / 364.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007858/0.473, allocations: 1.743 MB / 366.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.473, allocations: 3.938 kB / 366.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.473, allocations: 8 kB / 366.7 MB, free: 9.473 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.0005301/0.4736, allocations: 362.3 kB / 367 MB, free: 9.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.4737, allocations: 8.031 kB / 367.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.4738, allocations: 11.91 kB / 367.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.474, allocations: 174.9 kB / 367.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4741, allocations: 0 / 367.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.4741, allocations: 8 kB / 367.2 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002114/0.4743, allocations: 47.98 kB / 367.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4746, allocations: 72.94 kB / 367.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4746, allocations: 4 kB / 367.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.4746, allocations: 7.938 kB / 367.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4746, allocations: 0 / 367.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4757, allocations: 373.2 kB / 367.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.476, allocations: 66.52 kB / 367.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4761, allocations: 29.02 kB / 367.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.4762, allocations: 3.984 kB / 367.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.4762, allocations: 38.48 kB / 367.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 4.469e-06/0.4763, allocations: 0 / 367.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003759/0.4767, allocations: 65.59 kB / 367.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4767, allocations: 59.39 kB / 368 MB, free: 8.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4769, allocations: 97 kB / 368.1 MB, free: 7.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4769, allocations: 25.7 kB / 368.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.477, allocations: 103.9 kB / 368.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4771, allocations: 27.56 kB / 368.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.4771, allocations: 0 / 368.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4773, allocations: 322.8 kB / 368.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.4773, allocations: 20 kB / 368.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.4774, allocations: 42.52 kB / 368.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.4775, allocations: 23.98 kB / 368.6 MB, free: 7.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4776, allocations: 4 kB / 368.6 MB, free: 7.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002596/0.4778, allocations: 93.5 kB / 368.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4779, allocations: 8 kB / 368.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4779, allocations: 0 / 368.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4779, allocations: 0 / 368.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4782, allocations: 28.05 kB / 368.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4782, allocations: 4 kB / 368.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.4783, allocations: 7.906 kB / 368.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4783, allocations: 0 / 368.8 MB, free: 7.172 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.0001337/0.4785, allocations: 120.6 kB / 368.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002473/0.4787, allocations: 69.59 kB / 369 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.4788, allocations: 4 kB / 369 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.4789, allocations: 8.562 kB / 369 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4789, allocations: 4 kB / 369 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4789, allocations: 0 / 369 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4789, allocations: 0 / 369 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.4793, allocations: 170.1 kB / 369.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4793, allocations: 0 / 369.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.4797, allocations: 19.98 kB / 369.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4797, allocations: 0 / 369.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4797, allocations: 0 / 369.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.4797, allocations: 0 / 369.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4798, allocations: 3.938 kB / 369.2 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.4802, allocations: 195.4 kB / 369.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.4803, allocations: 81.02 kB / 369.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4804, allocations: 256 / 369.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4805, allocations: 8.031 kB / 369.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.4806, allocations: 0 / 369.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.4806, allocations: 7.984 kB / 369.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.4807, allocations: 83.28 kB / 369.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4807, allocations: 0 / 369.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005978/0.4814, allocations: 24 kB / 369.6 MB, free: 6.305 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.0009039/0.4823, allocations: 0.728 MB / 370.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.4826, allocations: 51.88 kB / 370.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4826, allocations: 0 / 370.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.4827, allocations: 20.19 kB / 370.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.4831, allocations: 8 kB / 370.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4845, allocations: 267.8 kB / 370.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.485, allocations: 0.7002 MB / 371.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.4851, allocations: 8.656 kB / 371.3 MB, free: 4.438 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.4852, allocations: 23.42 kB / 371.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4852, allocations: 0 / 371.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.591, allocations: 1.219 MB / 372.6 MB, free: 3.203 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/0.5915, allocations: 133.6 kB / 372.7 MB, free: 3.016 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.037, allocations: 0.7031 kB / 372.7 MB, free: 3.016 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat