Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.203/2.203, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.356e-05, allocations: 2.031 kB / 292.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 50.41 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5937, allocations: 76.64 MB / 419.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5941, allocations: 74.2 kB / 419.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007852/0.6019, allocations: 1.775 MB / 421.6 MB, free: 32 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.602, allocations: 0 / 421.6 MB, free: 32 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.602, allocations: 4 kB / 421.6 MB, free: 28 kB / 330.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.0005854/0.6026, allocations: 365.4 kB / 422 MB, free: 15.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6027, allocations: 8.031 kB / 422 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.6027, allocations: 46.42 kB / 422.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6029, allocations: 11.73 kB / 422.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.6031, allocations: 171 kB / 422.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6031, allocations: 7.562 kB / 422.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.6032, allocations: 7.984 kB / 422.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.6034, allocations: 85.33 kB / 422.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6035, allocations: 0 / 422.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6035, allocations: 3.938 kB / 422.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6035, allocations: 4 kB / 422.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.6037, allocations: 50.92 kB / 422.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/0.6047, allocations: 402.9 kB / 422.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.6049, allocations: 68.42 kB / 422.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.605, allocations: 40.12 kB / 422.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.6051, allocations: 0 / 422.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.6051, allocations: 33.62 kB / 422.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.6051, allocations: 0 / 422.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002524/0.6054, allocations: 79.48 kB / 423 MB, free: 14.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.6055, allocations: 51.41 kB / 423 MB, free: 14.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.6056, allocations: 100.7 kB / 423.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.6056, allocations: 25.7 kB / 423.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.6057, allocations: 103.3 kB / 423.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.6058, allocations: 29.38 kB / 423.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6058, allocations: 0 / 423.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.606, allocations: 318.5 kB / 423.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.606, allocations: 29.81 kB / 423.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.6061, allocations: 37.39 kB / 423.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.6062, allocations: 28.73 kB / 423.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6063, allocations: 0 / 423.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000253/0.6065, allocations: 100.8 kB / 423.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6066, allocations: 7.953 kB / 423.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6066, allocations: 8 kB / 423.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6066, allocations: 4 kB / 423.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.6069, allocations: 23.98 kB / 423.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.6069, allocations: 0 / 423.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.607, allocations: 14.84 kB / 423.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.607, allocations: 4 kB / 423.9 MB, free: 13.78 MB / 346.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 0.0001051/0.6072, allocations: 116 kB / 424 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.6072, allocations: 3.906 kB / 424 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.6073, allocations: 15.64 kB / 424 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6073, allocations: 4 kB / 424 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6073, allocations: 3.938 kB / 424 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6073, allocations: 0 / 424 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.6076, allocations: 185.4 kB / 424.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6076, allocations: 0 / 424.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.6079, allocations: 16 kB / 424.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.6079, allocations: 3.984 kB / 424.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6079, allocations: 4 kB / 424.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6079, allocations: 3.953 kB / 424.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6079, allocations: 0 / 424.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.6083, allocations: 198.6 kB / 424.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.6084, allocations: 81.14 kB / 424.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.6084, allocations: 3.125 kB / 424.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6085, allocations: 4 kB / 424.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.6086, allocations: 11.94 kB / 424.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.6086, allocations: 6.375 kB / 424.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.6087, allocations: 82.72 kB / 424.6 MB, free: 13 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6087, allocations: 4.062 kB / 424.6 MB, free: 13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.6091, allocations: 27.84 kB / 424.6 MB, free: 12.97 MB / 346.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.0006756/0.6098, allocations: 0.7177 MB / 425.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.61, allocations: 56.55 kB / 425.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.61, allocations: 4.188 kB / 425.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/0.6101, allocations: 23.19 kB / 425.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.6104, allocations: 11.25 kB / 425.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.6114, allocations: 288.9 kB / 425.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.6118, allocations: 0.6926 MB / 426.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.6119, allocations: 11.92 kB / 426.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.612, allocations: 21.19 kB / 426.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.612, allocations: 0 / 426.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.6378, allocations: 1.499 MB / 427.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.6382, allocations: 155 kB / 428.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.164, allocations: 0 / 428.1 MB, free: 9.473 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat