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.876/1.876, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.437e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3863, allocations: 65.33 MB / 323.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.3867, allocations: 63.97 kB / 323.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00766/0.3943, allocations: 1.751 MB / 325.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3944, allocations: 0 / 325.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.3944, allocations: 8 kB / 325.5 MB, free: 10.64 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.0005535/0.395, allocations: 362.3 kB / 325.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.3951, allocations: 12.03 kB / 325.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3952, allocations: 7.906 kB / 325.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3954, allocations: 178.9 kB / 326 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3954, allocations: 11.92 kB / 326.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3955, allocations: 7.938 kB / 326.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/0.3957, allocations: 47.95 kB / 326.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3959, allocations: 73.67 kB / 326.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.396, allocations: 7.844 kB / 326.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.396, allocations: 0 / 326.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.396, allocations: 4 kB / 326.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.3969, allocations: 365.1 kB / 326.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3971, allocations: 62.69 kB / 326.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.3972, allocations: 36.8 kB / 326.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3973, allocations: 0 / 326.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3973, allocations: 34.56 kB / 326.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.3973, allocations: 0 / 326.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002329/0.3976, allocations: 61.69 kB / 326.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3976, allocations: 55.41 kB / 326.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3977, allocations: 93 kB / 326.9 MB, free: 9.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3978, allocations: 29.64 kB / 326.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.3979, allocations: 103.9 kB / 327 MB, free: 8.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3979, allocations: 31.55 kB / 327.1 MB, free: 8.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.3979, allocations: 0 / 327.1 MB, free: 8.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3981, allocations: 318.8 kB / 327.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.3981, allocations: 12 kB / 327.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.3982, allocations: 50.56 kB / 327.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.3983, allocations: 20 kB / 327.4 MB, free: 8.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3983, allocations: 0 / 327.4 MB, free: 8.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002346/0.3986, allocations: 101.5 kB / 327.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3986, allocations: 11.7 kB / 327.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3986, allocations: 0 / 327.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3987, allocations: 4 kB / 327.6 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3989, allocations: 24.06 kB / 327.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3989, allocations: 0 / 327.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.399, allocations: 11.89 kB / 327.6 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3991, allocations: 4 kB / 327.6 MB, free: 8.332 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.466e-05/0.3992, allocations: 104.9 kB / 327.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001578/0.3993, allocations: 65.75 kB / 327.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3994, allocations: 11.86 kB / 327.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.3994, allocations: 8.625 kB / 327.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3995, allocations: 4 kB / 327.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3995, allocations: 0 / 327.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3995, allocations: 4 kB / 327.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3998, allocations: 166.3 kB / 328 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3998, allocations: 256 / 328 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.4, allocations: 19.94 kB / 328 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4, allocations: 7.938 kB / 328 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4001, allocations: 3.953 kB / 328 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4001, allocations: 0 / 328 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4001, allocations: 4 kB / 328 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.4004, allocations: 183.4 kB / 328.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.4005, allocations: 85.05 kB / 328.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4005, allocations: 8.016 kB / 328.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.4006, allocations: 3.953 kB / 328.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.4006, allocations: 7.984 kB / 328.3 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4007, allocations: 0 / 328.3 MB, free: 7.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.4007, allocations: 83.28 kB / 328.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4007, allocations: 4.062 kB / 328.4 MB, free: 7.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.4011, allocations: 27.84 kB / 328.4 MB, free: 7.457 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.0006707/0.4018, allocations: 0.7163 MB / 329.1 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.402, allocations: 51.94 kB / 329.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4021, allocations: 192 / 329.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.4021, allocations: 24 kB / 329.2 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.4024, allocations: 3.953 kB / 329.2 MB, free: 6.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.4034, allocations: 281.2 kB / 329.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4038, allocations: 0.6963 MB / 330.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.4039, allocations: 7.984 kB / 330.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.404, allocations: 19.44 kB / 330.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.404, allocations: 0 / 330.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.4419, allocations: 1.211 MB / 331.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.4423, allocations: 142.9 kB / 331.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/2.913, allocations: 3.938 kB / 331.5 MB, free: 4.172 MB / 282.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