Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.524/2.524, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.337e-05, allocations: 0 / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 44.49 MB / 294.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4987, allocations: 73.24 MB / 367.5 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.4991, allocations: 71.97 kB / 367.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01937/0.5185, allocations: 3.737 MB / 371.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5185, allocations: 4 kB / 371.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.5186, allocations: 4 kB / 371.3 MB, free: 4.828 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.0013/0.5199, allocations: 0.4944 MB / 371.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.52, allocations: 12.03 kB / 371.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.5201, allocations: 27.72 kB / 371.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5206, allocations: 230 kB / 372.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5206, allocations: 12 kB / 372.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.5207, allocations: 12 kB / 372.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004625/0.5212, allocations: 112.9 kB / 372.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.5217, allocations: 181 kB / 372.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5217, allocations: 3.984 kB / 372.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.5218, allocations: 8 kB / 372.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5218, allocations: 4 kB / 372.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.524, allocations: 0.7594 MB / 373.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.5246, allocations: 146.7 kB / 373.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.5248, allocations: 64.86 kB / 373.4 MB, free: 2.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.5249, allocations: 7.891 kB / 373.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5249, allocations: 34.56 kB / 373.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.5249, allocations: 0 / 373.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006229/0.5256, allocations: 146.5 kB / 373.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.5256, allocations: 59.39 kB / 373.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5258, allocations: 126.1 kB / 373.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.5259, allocations: 29.7 kB / 373.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.5261, allocations: 148.1 kB / 373.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.5262, allocations: 59.19 kB / 374 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.5262, allocations: 0 / 374 MB, free: 1.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.5264, allocations: 326.8 kB / 374.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5265, allocations: 32.38 kB / 374.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.5267, allocations: 71.94 kB / 374.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.5269, allocations: 39.94 kB / 374.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5269, allocations: 0 / 374.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006249/0.5275, allocations: 164.7 kB / 374.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5276, allocations: 8 kB / 374.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.5276, allocations: 0 / 374.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.5279, allocations: 36.83 kB / 374.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5283, allocations: 35.92 kB / 374.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.53, allocations: 1.307 MB / 376 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.5305, allocations: 27.86 kB / 376 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.5305, allocations: 12.02 kB / 376 MB, free: 15.77 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.0001425/0.5307, allocations: 108.8 kB / 376.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005468/0.5312, allocations: 150.2 kB / 376.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.5313, allocations: 15.77 kB / 376.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.5314, allocations: 16.75 kB / 376.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5314, allocations: 7.984 kB / 376.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5314, allocations: 0 / 376.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5315, allocations: 4 kB / 376.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5325, allocations: 447.8 kB / 376.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5326, allocations: 0 / 376.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.5329, allocations: 31.97 kB / 376.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.5331, allocations: 28.84 kB / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.5332, allocations: 0 / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.5349, allocations: 1.315 MB / 378.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.535, allocations: 0 / 378.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.5358, allocations: 298.5 kB / 378.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.536, allocations: 104.9 kB / 378.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.536, allocations: 0 / 378.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.5365, allocations: 28.03 kB / 378.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5366, allocations: 19.92 kB / 378.6 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5367, allocations: 15.88 kB / 378.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5368, allocations: 115.4 kB / 378.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5368, allocations: 0 / 378.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006002/0.5374, allocations: 51.84 kB / 378.7 MB, free: 12.82 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.001266/0.5387, allocations: 0.8302 MB / 379.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.5394, allocations: 225.2 kB / 379.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5394, allocations: 0 / 379.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5398, allocations: 162 kB / 380 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.5403, allocations: 27.98 kB / 380 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5416, allocations: 327.2 kB / 380.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.5421, allocations: 0.7397 MB / 381 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.5423, allocations: 13.2 kB / 381.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5424, allocations: 51.42 kB / 381.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5425, allocations: 0 / 381.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/0.6056, allocations: 3.219 MB / 384.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001101/0.6068, allocations: 158.4 kB / 384.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.066/3.672, allocations: 4.031 kB / 384.5 MB, free: 6.953 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat