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.936/1.936, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.963e-05, allocations: 0 / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 38.77 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4486, allocations: 66 MB / 329.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.4489, allocations: 67.97 kB / 329.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007401/0.4564, allocations: 1.769 MB / 331.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4564, allocations: 0 / 331.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4564, allocations: 0 / 331.7 MB, free: 5.754 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.0005288/0.457, allocations: 358.3 kB / 332 MB, free: 5.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.457, allocations: 8.031 kB / 332 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.4571, allocations: 46.55 kB / 332.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4572, allocations: 7.906 kB / 332.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4574, allocations: 178.9 kB / 332.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4575, allocations: 4 kB / 332.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.4575, allocations: 15.95 kB / 332.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.4578, allocations: 79.22 kB / 332.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4578, allocations: 7.906 kB / 332.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4578, allocations: 4 kB / 332.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4578, allocations: 0 / 332.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.458, allocations: 47.98 kB / 332.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.459, allocations: 408.6 kB / 332.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4592, allocations: 66.55 kB / 332.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.4593, allocations: 36.8 kB / 332.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4593, allocations: 4 kB / 332.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4594, allocations: 34.56 kB / 333 MB, free: 4.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.4594, allocations: 0 / 333 MB, free: 4.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002388/0.4596, allocations: 73.83 kB / 333 MB, free: 4.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4597, allocations: 51.41 kB / 333.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4598, allocations: 101 kB / 333.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4598, allocations: 25.7 kB / 333.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.4599, allocations: 99.89 kB / 333.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.46, allocations: 31.55 kB / 333.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.46, allocations: 4 kB / 333.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4602, allocations: 322.8 kB / 333.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.4602, allocations: 23.94 kB / 333.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.4603, allocations: 42.52 kB / 333.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.4604, allocations: 31.92 kB / 333.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4605, allocations: 0 / 333.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002743/0.4607, allocations: 109.7 kB / 333.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4608, allocations: 4 kB / 333.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.4608, allocations: 4 kB / 333.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4608, allocations: 0 / 333.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.4611, allocations: 27.98 kB / 333.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4611, allocations: 0 / 333.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4612, allocations: 11.91 kB / 333.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4612, allocations: 4 kB / 333.9 MB, free: 3.297 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.903e-05/0.4613, allocations: 120.9 kB / 334 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4614, allocations: 3.984 kB / 334 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.4614, allocations: 16.61 kB / 334.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4615, allocations: 0 / 334.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4615, allocations: 0 / 334.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4615, allocations: 0 / 334.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4618, allocations: 189.5 kB / 334.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4618, allocations: 0 / 334.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.462, allocations: 16 kB / 334.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.462, allocations: 0 / 334.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.462, allocations: 12 kB / 334.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.462, allocations: 0 / 334.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4621, allocations: 3.984 kB / 334.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.4624, allocations: 191.4 kB / 334.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.4625, allocations: 92.94 kB / 334.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4625, allocations: 0 / 334.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.4626, allocations: 4 kB / 334.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.4626, allocations: 8.047 kB / 334.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4627, allocations: 4 kB / 334.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.4627, allocations: 83.28 kB / 334.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4627, allocations: 0 / 334.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.4631, allocations: 31.94 kB / 334.7 MB, free: 2.445 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.000627/0.4637, allocations: 0.728 MB / 335.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4639, allocations: 59.92 kB / 335.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4639, allocations: 0 / 335.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.464, allocations: 20 kB / 335.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4643, allocations: 7.938 kB / 335.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.4652, allocations: 275.3 kB / 335.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4656, allocations: 0.6965 MB / 336.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.4657, allocations: 15.88 kB / 336.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.4658, allocations: 23.44 kB / 336.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.4658, allocations: 0 / 336.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.4855, allocations: 1.526 MB / 338 MB, free: 15.07 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/0.486, allocations: 154.2 kB / 338.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.081, allocations: 3.938 kB / 338.2 MB, free: 14.84 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