Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.106e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3088, allocations: 44.5 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4466, allocations: 73.24 MB / 367.4 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4469, allocations: 63.97 kB / 367.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.4664, allocations: 3.741 MB / 371.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4665, allocations: 0 / 371.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.4665, allocations: 4 kB / 371.2 MB, free: 4.832 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001391/0.4679, allocations: 498.3 kB / 371.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/0.468, allocations: 12.03 kB / 371.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.4683, allocations: 23.72 kB / 371.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.4687, allocations: 234.5 kB / 372 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4688, allocations: 8 kB / 372 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.4689, allocations: 12 kB / 372 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000538/0.4694, allocations: 120.8 kB / 372.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.4701, allocations: 181 kB / 372.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.4701, allocations: 0 / 372.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.4702, allocations: 0 / 372.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4702, allocations: 4 kB / 372.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.4728, allocations: 0.7711 MB / 373.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.4735, allocations: 138.6 kB / 373.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.4738, allocations: 60.86 kB / 373.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.4739, allocations: 11.94 kB / 373.3 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.4739, allocations: 34.56 kB / 373.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 7.384e-06/0.474, allocations: 0 / 373.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007769/0.4747, allocations: 143.5 kB / 373.5 MB, free: 2.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4748, allocations: 51.41 kB / 373.5 MB, free: 2.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.4751, allocations: 137.4 kB / 373.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.4751, allocations: 29.7 kB / 373.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4753, allocations: 206.6 kB / 373.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.4754, allocations: 59.19 kB / 373.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.4755, allocations: 0 / 373.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4757, allocations: 314.8 kB / 374.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4759, allocations: 32.38 kB / 374.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.4761, allocations: 79.86 kB / 374.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.4763, allocations: 39.94 kB / 374.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4763, allocations: 4 kB / 374.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006604/0.477, allocations: 158.1 kB / 374.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.477, allocations: 4 kB / 374.6 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4771, allocations: 0 / 374.6 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.4774, allocations: 40.88 kB / 374.6 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.4778, allocations: 35.97 kB / 374.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4797, allocations: 1.311 MB / 375.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.4801, allocations: 31.86 kB / 376 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4802, allocations: 4 kB / 376 MB, free: 15.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.4803, allocations: 112.8 kB / 376.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005625/0.4809, allocations: 152.5 kB / 376.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.481, allocations: 15.77 kB / 376.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.4811, allocations: 24.69 kB / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4811, allocations: 4 kB / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4811, allocations: 0 / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4812, allocations: 0 / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.4822, allocations: 451.7 kB / 376.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4823, allocations: 0 / 376.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.4826, allocations: 27.98 kB / 376.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.4829, allocations: 32.83 kB / 376.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4829, allocations: 7.875 kB / 376.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.4848, allocations: 1.307 MB / 378.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4848, allocations: 0 / 378.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.4857, allocations: 300.8 kB / 378.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.4859, allocations: 105.1 kB / 378.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.4859, allocations: 0 / 378.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.4864, allocations: 19.98 kB / 378.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4865, allocations: 19.92 kB / 378.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4866, allocations: 8 kB / 378.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.4868, allocations: 120 kB / 378.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.4868, allocations: 0 / 378.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007278/0.4875, allocations: 51.84 kB / 378.7 MB, free: 12.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.4888, allocations: 0.8312 MB / 379.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006791/0.4896, allocations: 223.1 kB / 379.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4896, allocations: 0 / 379.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.49, allocations: 169.7 kB / 379.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.4905, allocations: 15.98 kB / 379.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.492, allocations: 361 kB / 380.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.4926, allocations: 0.7397 MB / 381 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.4928, allocations: 55.42 kB / 381.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4928, allocations: 0 / 381.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.14, allocations: 3.821 MB / 384.9 MB, free: 6.469 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat