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.108/2.108, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.596e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4153/0.5246, allocations: 71.3 MB / 371.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5249, allocations: 65.72 kB / 371.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007627/0.5326, allocations: 1.771 MB / 373.1 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5326, allocations: 0 / 373.1 MB, free: 21.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.5326, allocations: 1.812 kB / 373.1 MB, free: 21.36 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.0004295/0.5331, allocations: 357.8 kB / 373.5 MB, free: 21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.5331, allocations: 9.094 kB / 373.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.5332, allocations: 43 kB / 373.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.5334, allocations: 15.41 kB / 373.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5335, allocations: 174.2 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5335, allocations: 7.656 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.5336, allocations: 8.969 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.5338, allocations: 88.22 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5339, allocations: 1.25 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.5339, allocations: 8.672 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.5339, allocations: 2.906 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.5341, allocations: 49.16 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.535, allocations: 400.7 kB / 374.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.5353, allocations: 69.42 kB / 374.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.5354, allocations: 37.31 kB / 374.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5354, allocations: 5.031 kB / 374.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5354, allocations: 32.38 kB / 374.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.447e-06/0.5354, allocations: 0 / 374.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002526/0.5357, allocations: 76.02 kB / 374.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.5357, allocations: 52.81 kB / 374.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.5358, allocations: 98.23 kB / 374.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.5359, allocations: 29.08 kB / 374.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.5359, allocations: 106.2 kB / 374.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.536, allocations: 34.31 kB / 374.8 MB, free: 20 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.536, allocations: 0 / 374.8 MB, free: 20 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.5361, allocations: 318.9 kB / 375.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.5362, allocations: 20 kB / 375.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.5363, allocations: 42.3 kB / 375.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.5364, allocations: 28.02 kB / 375.2 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5364, allocations: 0 / 375.2 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002318/0.5366, allocations: 106.9 kB / 375.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5367, allocations: 5.375 kB / 375.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5367, allocations: 1.812 kB / 375.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5367, allocations: 1.719 kB / 375.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.5369, allocations: 21.58 kB / 375.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.537, allocations: 10.69 kB / 375.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5371, allocations: 7.609 kB / 375.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.5371, allocations: 12.52 kB / 375.3 MB, free: 19.6 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 6.478e-05/0.5372, allocations: 105.2 kB / 375.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.5372, allocations: 7.016 kB / 375.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.5373, allocations: 9.875 kB / 375.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5373, allocations: 1.844 kB / 375.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5373, allocations: 0.875 kB / 375.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5373, allocations: 4.844 kB / 375.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.5376, allocations: 189.5 kB / 375.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5376, allocations: 0 / 375.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5378, allocations: 22.67 kB / 375.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5379, allocations: 1.406 kB / 375.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5379, allocations: 0.5625 kB / 375.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5379, allocations: 9.188 kB / 375.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5379, allocations: 0.5625 kB / 375.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.5382, allocations: 193 kB / 375.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.5383, allocations: 79.11 kB / 375.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.5383, allocations: 2.047 kB / 375.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.5384, allocations: 6.531 kB / 376 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.5384, allocations: 11.5 kB / 376 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.5384, allocations: 6.031 kB / 376 MB, free: 19.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.5385, allocations: 85.09 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5385, allocations: 0 / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.5389, allocations: 32.12 kB / 376.1 MB, free: 18.95 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.0004572/0.5393, allocations: 0.7285 MB / 376.8 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5395, allocations: 56.48 kB / 376.9 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5396, allocations: 1.281 kB / 376.9 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.5396, allocations: 22.67 kB / 376.9 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.5399, allocations: 12.03 kB / 376.9 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.5408, allocations: 281.7 kB / 377.2 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.541, allocations: 0.6954 MB / 377.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.5411, allocations: 8.688 kB / 377.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.5411, allocations: 19.73 kB / 377.9 MB, free: 17.35 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5411, allocations: 1.156 kB / 377.9 MB, free: 17.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.5668, allocations: 1.514 MB / 379.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.5671, allocations: 154.6 kB / 379.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.202, allocations: 1.188 kB / 379.6 MB, free: 16.89 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