Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.164e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.0986, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5127, allocations: 73.9 MB / 373.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.513, allocations: 71.52 kB / 373.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.5298, allocations: 3.764 MB / 377.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5298, allocations: 0 / 377.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.5299, allocations: 4.062 kB / 377.7 MB, free: 11.9 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.001062/0.5309, allocations: 0.4942 MB / 378.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.531, allocations: 8.969 kB / 378.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.5311, allocations: 61.89 kB / 378.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.5313, allocations: 32 kB / 378.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.5316, allocations: 228.9 kB / 378.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.5317, allocations: 17.12 kB / 378.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.5317, allocations: 20.28 kB / 378.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.5322, allocations: 206.2 kB / 378.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5323, allocations: 5.406 kB / 378.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.5323, allocations: 7.094 kB / 378.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.5323, allocations: 10.2 kB / 378.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.5328, allocations: 131.6 kB / 378.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.5346, allocations: 0.8268 MB / 379.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.5352, allocations: 139.9 kB / 379.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5354, allocations: 66.52 kB / 379.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.5354, allocations: 3.875 kB / 380 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.5354, allocations: 32.78 kB / 380 MB, free: 10.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 4.649e-06/0.5355, allocations: 7.984 kB / 380 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.000566/0.536, allocations: 157.1 kB / 380.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5361, allocations: 53.5 kB / 380.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.5363, allocations: 162.7 kB / 380.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5363, allocations: 27.14 kB / 380.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.5364, allocations: 144.8 kB / 380.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.5365, allocations: 58.77 kB / 380.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.5365, allocations: 1.125 kB / 380.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.5366, allocations: 335.1 kB / 380.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5368, allocations: 42.81 kB / 381 MB, free: 9.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5369, allocations: 73.03 kB / 381 MB, free: 9.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.5371, allocations: 44.02 kB / 381.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5371, allocations: 1.312 kB / 381.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005312/0.5376, allocations: 182.7 kB / 381.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5377, allocations: 9.016 kB / 381.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5377, allocations: 1 kB / 381.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.5379, allocations: 36.09 kB / 381.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5383, allocations: 35.61 kB / 381.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.5395, allocations: 1.36 MB / 382.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.54, allocations: 41.75 kB / 382.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.54, allocations: 5.875 kB / 382.7 MB, free: 8.473 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 0.0001052/0.5401, allocations: 115.2 kB / 382.8 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.5402, allocations: 15.84 kB / 382.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.5403, allocations: 21.41 kB / 382.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5403, allocations: 6.141 kB / 382.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5403, allocations: 9.219 kB / 382.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5403, allocations: 1.547 kB / 382.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.5412, allocations: 0.4945 MB / 383.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5413, allocations: 0 / 383.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.5416, allocations: 34.58 kB / 383.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.5418, allocations: 34.5 kB / 383.5 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.5418, allocations: 5.266 kB / 383.5 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.543, allocations: 1.348 MB / 384.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.543, allocations: 0 / 384.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.5437, allocations: 324 kB / 385.1 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5438, allocations: 99.69 kB / 385.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.5439, allocations: 6.656 kB / 385.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.5443, allocations: 31.7 kB / 385.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.5444, allocations: 23.02 kB / 385.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.5444, allocations: 7.438 kB / 385.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003852/0.5448, allocations: 120.9 kB / 385.4 MB, free: 22.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5448, allocations: 0 / 385.4 MB, free: 22.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005194/0.5453, allocations: 58.38 kB / 385.5 MB, free: 22.38 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.001032/0.5464, allocations: 0.8557 MB / 386.3 MB, free: 21.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.547, allocations: 220.8 kB / 386.5 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.547, allocations: 4.969 kB / 386.5 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.5473, allocations: 174.9 kB / 386.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.5478, allocations: 39.27 kB / 386.8 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5489, allocations: 346.6 kB / 387.1 MB, free: 21.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.5493, allocations: 0.7515 MB / 387.8 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.5495, allocations: 14.5 kB / 387.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5496, allocations: 57.77 kB / 387.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5496, allocations: 0 / 387.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.5803, allocations: 3.926 MB / 391.8 MB, free: 20.09 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.5806, allocations: 177.3 kB / 392 MB, free: 19.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.161, allocations: 0 / 392 MB, free: 19.88 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat