Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.723e-05/4.749e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4236, allocations: 66.01 MB / 329.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4239, allocations: 67.97 kB / 329.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00778/0.4317, allocations: 1.773 MB / 331.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4317, allocations: 0 / 331.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.4318, allocations: 0 / 331.7 MB, free: 5.762 MB / 282.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.000519/0.4323, allocations: 362.3 kB / 332.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4324, allocations: 12.03 kB / 332.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.4324, allocations: 46.48 kB / 332.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4326, allocations: 11.91 kB / 332.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4328, allocations: 171 kB / 332.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4328, allocations: 8 kB / 332.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.4329, allocations: 11.95 kB / 332.3 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.4331, allocations: 83.22 kB / 332.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4332, allocations: 3.906 kB / 332.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.4332, allocations: 7.984 kB / 332.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4332, allocations: 4 kB / 332.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.4334, allocations: 51.98 kB / 332.5 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.4344, allocations: 396.6 kB / 332.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4346, allocations: 70.56 kB / 332.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.4347, allocations: 36.8 kB / 333 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.4347, allocations: 4 kB / 333 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4348, allocations: 30.56 kB / 333 MB, free: 4.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.4348, allocations: 0 / 333 MB, free: 4.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002463/0.435, allocations: 65.69 kB / 333.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4351, allocations: 55.41 kB / 333.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.4352, allocations: 105 kB / 333.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4352, allocations: 25.7 kB / 333.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.4353, allocations: 99.89 kB / 333.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.4354, allocations: 31.55 kB / 333.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.4354, allocations: 0 / 333.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4355, allocations: 322.8 kB / 333.7 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.4356, allocations: 20 kB / 333.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.4357, allocations: 38.58 kB / 333.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.4358, allocations: 39.88 kB / 333.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4358, allocations: 0 / 333.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002438/0.4361, allocations: 101.5 kB / 333.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4361, allocations: 7.938 kB / 333.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4361, allocations: 0 / 333.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4361, allocations: 4 kB / 333.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4364, allocations: 23.98 kB / 333.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4364, allocations: 4.062 kB / 333.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.86e-05/0.4365, allocations: 7.906 kB / 333.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4365, allocations: 4 kB / 333.9 MB, free: 3.312 MB / 282.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 9.439e-05/0.4366, allocations: 112.9 kB / 334 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.4367, allocations: 4 kB / 334.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.4367, allocations: 12.61 kB / 334.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4367, allocations: 4 kB / 334.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4368, allocations: 0 / 334.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4368, allocations: 4 kB / 334.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.4371, allocations: 193.7 kB / 334.3 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.4371, allocations: 3.953 kB / 334.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.4373, allocations: 16 kB / 334.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4373, allocations: 0 / 334.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4373, allocations: 0 / 334.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4373, allocations: 4.25 kB / 334.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4374, allocations: 3.938 kB / 334.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.4377, allocations: 195.4 kB / 334.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.4377, allocations: 92.94 kB / 334.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.4378, allocations: 0 / 334.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.4379, allocations: 4 kB / 334.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.4379, allocations: 7.984 kB / 334.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4379, allocations: 0 / 334.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.438, allocations: 87.28 kB / 334.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.438, allocations: 0 / 334.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004056/0.4384, allocations: 27.94 kB / 334.7 MB, free: 2.465 MB / 282.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.0006276/0.439, allocations: 0.7281 MB / 335.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4393, allocations: 51.94 kB / 335.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4393, allocations: 0 / 335.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.4394, allocations: 27.88 kB / 335.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4396, allocations: 8.578 kB / 335.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.4406, allocations: 275.2 kB / 335.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.4411, allocations: 0.7004 MB / 336.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.4411, allocations: 11.88 kB / 336.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.4412, allocations: 23.44 kB / 336.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4412, allocations: 0 / 336.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.4612, allocations: 1.509 MB / 338 MB, free: 15.1 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/0.4616, allocations: 156.9 kB / 338.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.842, allocations: 0 / 338.2 MB, free: 14.87 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat