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 1.937/1.937, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.801e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.0908, allocations: 44.51 MB / 300 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4785, allocations: 73.9 MB / 373.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4788, allocations: 66.42 kB / 373.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.495, allocations: 3.77 MB / 377.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4951, allocations: 0 / 377.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4951, allocations: 5.406 kB / 377.7 MB, free: 15.86 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.001011/0.4961, allocations: 0.4969 MB / 378.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4962, allocations: 9.062 kB / 378.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.4963, allocations: 58.23 kB / 378.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.4964, allocations: 26.27 kB / 378.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4967, allocations: 234.7 kB / 378.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.4967, allocations: 15.19 kB / 378.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.4968, allocations: 21.08 kB / 378.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.4973, allocations: 206.6 kB / 378.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.4973, allocations: 1.312 kB / 378.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.4974, allocations: 13.56 kB / 378.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4974, allocations: 4.875 kB / 378.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.4978, allocations: 129.6 kB / 378.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.4994, allocations: 0.8343 MB / 379.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.4999, allocations: 138.1 kB / 379.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.5001, allocations: 68.23 kB / 379.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.5001, allocations: 2.688 kB / 379.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5001, allocations: 35.59 kB / 380 MB, free: 14.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.5002, allocations: 0 / 380 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005138/0.5007, allocations: 158.2 kB / 380.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.5007, allocations: 53.66 kB / 380.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.501, allocations: 163.1 kB / 380.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.501, allocations: 27.14 kB / 380.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5012, allocations: 206 kB / 380.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.5013, allocations: 55.19 kB / 380.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.5013, allocations: 5.234 kB / 380.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.5014, allocations: 326 kB / 380.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5015, allocations: 38.84 kB / 381 MB, free: 13.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5017, allocations: 74.17 kB / 381.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.5018, allocations: 44.58 kB / 381.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5018, allocations: 0 / 381.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004589/0.5023, allocations: 177.3 kB / 381.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5023, allocations: 10.86 kB / 381.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5024, allocations: 1.375 kB / 381.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.5026, allocations: 39.78 kB / 381.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.5029, allocations: 37.17 kB / 381.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.5041, allocations: 1.359 MB / 382.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.5045, allocations: 40.94 kB / 382.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.5045, allocations: 4.844 kB / 382.8 MB, free: 12.38 MB / 314.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 9.511e-05/0.5046, allocations: 110.6 kB / 382.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.5047, allocations: 21.28 kB / 382.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.5048, allocations: 22.33 kB / 382.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5048, allocations: 10.14 kB / 382.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5048, allocations: 0 / 382.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5048, allocations: 5.219 kB / 382.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008247/0.5056, allocations: 0.4896 MB / 383.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5057, allocations: 4 kB / 383.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.5059, allocations: 32.56 kB / 383.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.5061, allocations: 33.22 kB / 383.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5062, allocations: 2.922 kB / 383.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5073, allocations: 1.356 MB / 384.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5073, allocations: 0 / 384.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/0.5083, allocations: 318.4 kB / 385.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5084, allocations: 101 kB / 385.3 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.5085, allocations: 2 kB / 385.3 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.5088, allocations: 33.05 kB / 385.3 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.5089, allocations: 27.77 kB / 385.3 MB, free: 26.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.509, allocations: 3.344 kB / 385.3 MB, free: 26.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.5091, allocations: 122.2 kB / 385.4 MB, free: 26.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5091, allocations: 0 / 385.4 MB, free: 26.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.5096, allocations: 57.72 kB / 385.5 MB, free: 26.29 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.001081/0.5107, allocations: 0.8596 MB / 386.4 MB, free: 25.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.5113, allocations: 221.1 kB / 386.6 MB, free: 25.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5113, allocations: 1.688 kB / 386.6 MB, free: 25.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.5116, allocations: 177.3 kB / 386.7 MB, free: 25.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.512, allocations: 26.17 kB / 386.8 MB, free: 25.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5131, allocations: 379.7 kB / 387.1 MB, free: 25.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5135, allocations: 0.7462 MB / 387.9 MB, free: 24.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5136, allocations: 62.84 kB / 387.9 MB, free: 24.42 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5136, allocations: 0 / 387.9 MB, free: 24.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.712/3.226, allocations: 3.967 MB / 391.9 MB, free: 24.18 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