Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.311e-05, allocations: 0 / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.0927, allocations: 44.51 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.4935, allocations: 71.31 MB / 371.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004387/0.494, allocations: 67.98 kB / 371.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01033/0.5044, allocations: 1.767 MB / 373.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5045, allocations: 0 / 373.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5045, allocations: 2.062 kB / 373.1 MB, free: 21.15 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.0005473/0.505, allocations: 363.8 kB / 373.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.5051, allocations: 12.25 kB / 373.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.5052, allocations: 46.94 kB / 373.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.5054, allocations: 11.36 kB / 373.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.5056, allocations: 170.9 kB / 373.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.5056, allocations: 6.906 kB / 373.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.5057, allocations: 5.906 kB / 373.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.506, allocations: 87.03 kB / 373.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.506, allocations: 1.344 kB / 373.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5061, allocations: 0 / 373.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5061, allocations: 7.219 kB / 373.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.5063, allocations: 55.45 kB / 373.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5075, allocations: 402 kB / 374.2 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.5078, allocations: 71.83 kB / 374.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5079, allocations: 29.09 kB / 374.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5079, allocations: 1.031 kB / 374.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.508, allocations: 39.34 kB / 374.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.707e-06/0.508, allocations: 1.062 kB / 374.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003185/0.5083, allocations: 73.06 kB / 374.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5084, allocations: 60.91 kB / 374.5 MB, free: 20.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.5085, allocations: 96.69 kB / 374.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5085, allocations: 31.14 kB / 374.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.5086, allocations: 172.4 kB / 374.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.5087, allocations: 28.36 kB / 374.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.5087, allocations: 1.031 kB / 374.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.5088, allocations: 318.2 kB / 375.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.5089, allocations: 20.31 kB / 375.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.5091, allocations: 43.02 kB / 375.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.5092, allocations: 28.69 kB / 375.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5092, allocations: 0 / 375.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003285/0.5095, allocations: 101.3 kB / 375.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5096, allocations: 5.531 kB / 375.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5096, allocations: 1.156 kB / 375.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.5097, allocations: 1.094 kB / 375.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.51, allocations: 27.78 kB / 375.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.51, allocations: 1.938 kB / 375.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5102, allocations: 19.08 kB / 375.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.5102, allocations: 3.25 kB / 375.4 MB, free: 19.33 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 8.574e-05/0.5103, allocations: 108.5 kB / 375.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.5104, allocations: 1.906 kB / 375.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.5105, allocations: 9.406 kB / 375.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.5105, allocations: 1.906 kB / 375.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5105, allocations: 1.188 kB / 375.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5105, allocations: 0.5156 kB / 375.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.5109, allocations: 205.6 kB / 375.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.511, allocations: 0.6875 kB / 375.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.5113, allocations: 18.66 kB / 375.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5113, allocations: 3.938 kB / 375.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5113, allocations: 1.453 kB / 375.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5113, allocations: 1.484 kB / 375.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5114, allocations: 4.5 kB / 375.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.5117, allocations: 190.1 kB / 375.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.5118, allocations: 87.7 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.5118, allocations: 1.844 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.512, allocations: 2.031 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.5121, allocations: 4.375 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5121, allocations: 4.875 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.5122, allocations: 86.41 kB / 376.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5122, allocations: 0 / 376.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006004/0.5128, allocations: 35.09 kB / 376.1 MB, free: 18.68 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.0006298/0.5135, allocations: 0.7269 MB / 376.9 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.5138, allocations: 52.91 kB / 376.9 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5138, allocations: 3.938 kB / 376.9 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.5139, allocations: 23.55 kB / 377 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.5143, allocations: 3.469 kB / 377 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5155, allocations: 311.4 kB / 377.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.5157, allocations: 0.7007 MB / 378 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.5158, allocations: 24.23 kB / 378 MB, free: 17.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5159, allocations: 0 / 378 MB, free: 17.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.364/2.88, allocations: 1.342 MB / 379.3 MB, free: 16.96 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat