Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.22e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.5909, allocations: 78.21 MB / 395.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5913, allocations: 76.08 kB / 395.3 MB, free: 9.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.6086, allocations: 3.808 MB / 399.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6087, allocations: 8 kB / 399.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.6087, allocations: 4 kB / 399.1 MB, free: 6.199 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.001157/0.6099, allocations: 0.4904 MB / 399.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.6099, allocations: 8.031 kB / 399.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.6101, allocations: 55.92 kB / 399.7 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.6103, allocations: 27.72 kB / 399.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.6106, allocations: 219.7 kB / 399.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.6107, allocations: 21.61 kB / 399.9 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.6107, allocations: 22.62 kB / 400 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.6113, allocations: 210.1 kB / 400.2 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.6113, allocations: 4 kB / 400.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.6113, allocations: 7.312 kB / 400.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6114, allocations: 4 kB / 400.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.6118, allocations: 128 kB / 400.3 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.6138, allocations: 0.8327 MB / 401.1 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.6144, allocations: 148.2 kB / 401.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.6146, allocations: 68.08 kB / 401.3 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.6146, allocations: 3.938 kB / 401.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6147, allocations: 46.45 kB / 401.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.176e-06/0.6147, allocations: 0 / 401.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005902/0.6153, allocations: 149.8 kB / 401.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6154, allocations: 55.34 kB / 401.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.6156, allocations: 160.8 kB / 401.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6157, allocations: 33.58 kB / 401.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6158, allocations: 135.5 kB / 401.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.6159, allocations: 62.42 kB / 402 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.6159, allocations: 3.938 kB / 402 MB, free: 3.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.616, allocations: 327.2 kB / 402.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.6162, allocations: 36.12 kB / 402.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.6163, allocations: 70.73 kB / 402.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.6165, allocations: 47.42 kB / 402.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.6165, allocations: 3.953 kB / 402.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005486/0.6171, allocations: 191.6 kB / 402.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6171, allocations: 4 kB / 402.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6171, allocations: 4 kB / 402.6 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.6174, allocations: 24.53 kB / 402.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6177, allocations: 44 kB / 402.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.6193, allocations: 1.348 MB / 404.1 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.6198, allocations: 47.8 kB / 404.1 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6198, allocations: 4.141 kB / 404.1 MB, free: 1.414 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.0001416/0.62, allocations: 120.5 kB / 404.2 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.62, allocations: 15.81 kB / 404.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.478e-05/0.6201, allocations: 28.7 kB / 404.3 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6201, allocations: 4 kB / 404.3 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6202, allocations: 0 / 404.3 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6202, allocations: 0 / 404.3 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009793/0.6212, allocations: 0.4999 MB / 404.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6212, allocations: 0 / 404.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.6215, allocations: 35.92 kB / 404.8 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.6217, allocations: 32.41 kB / 404.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6218, allocations: 7.938 kB / 404.9 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.6234, allocations: 1.351 MB / 406.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6234, allocations: 3.938 kB / 406.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.6241, allocations: 308.8 kB / 406.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.6243, allocations: 104.1 kB / 406.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.6244, allocations: 7.25 kB / 406.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.6247, allocations: 31.34 kB / 406.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.6249, allocations: 15.97 kB / 406.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.6249, allocations: 7.625 kB / 406.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.6251, allocations: 125.8 kB / 406.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6251, allocations: 0 / 406.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.6256, allocations: 59.47 kB / 406.9 MB, free: 14.69 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.001177/0.6268, allocations: 0.8588 MB / 407.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.6274, allocations: 216.4 kB / 407.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6275, allocations: 4.25 kB / 407.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.6278, allocations: 179.8 kB / 408.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.6282, allocations: 33.3 kB / 408.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6294, allocations: 353.3 kB / 408.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6298, allocations: 0.7402 MB / 409.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.63, allocations: 13.33 kB / 409.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6301, allocations: 55.86 kB / 409.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6301, allocations: 0 / 409.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07158/0.7017, allocations: 3.936 MB / 413.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.702, allocations: 177.3 kB / 413.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.135, allocations: 3.938 kB / 413.4 MB, free: 8.262 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat