Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.179/2.179, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.324e-05, allocations: 7.984 kB / 292.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5817, allocations: 79.59 MB / 422.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.582, allocations: 66.22 kB / 422.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.5996, allocations: 3.871 MB / 426.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5996, allocations: 0 / 426.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.5997, allocations: 4 kB / 426.7 MB, free: 11.25 MB / 346.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.001161/0.6008, allocations: 0.4965 MB / 427.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6009, allocations: 8.031 kB / 427.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.6011, allocations: 54.42 kB / 427.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.6012, allocations: 23.72 kB / 427.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.6016, allocations: 224.1 kB / 427.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.6016, allocations: 23.75 kB / 427.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.6017, allocations: 18.88 kB / 427.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.6022, allocations: 208.1 kB / 427.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6023, allocations: 3.953 kB / 427.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.6023, allocations: 11.12 kB / 427.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6023, allocations: 4 kB / 427.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.6027, allocations: 126.9 kB / 427.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.6047, allocations: 0.8374 MB / 428.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.6052, allocations: 141.5 kB / 428.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.6054, allocations: 74.98 kB / 428.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.6054, allocations: 0 / 428.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6055, allocations: 30.56 kB / 429 MB, free: 9.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.6055, allocations: 4 kB / 429 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005704/0.6061, allocations: 158.6 kB / 429.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6061, allocations: 55.41 kB / 429.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.6064, allocations: 162.6 kB / 429.3 MB, free: 8.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.6064, allocations: 29.7 kB / 429.4 MB, free: 8.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6066, allocations: 148.2 kB / 429.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.6066, allocations: 49.14 kB / 429.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6067, allocations: 2.75 kB / 429.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6068, allocations: 324.9 kB / 429.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.607, allocations: 40.5 kB / 429.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.6071, allocations: 74.67 kB / 430 MB, free: 8.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6073, allocations: 41.61 kB / 430 MB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6073, allocations: 0 / 430 MB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005436/0.6078, allocations: 189.8 kB / 430.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6079, allocations: 8.094 kB / 430.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6079, allocations: 0 / 430.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.6082, allocations: 31.41 kB / 430.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.6085, allocations: 39.91 kB / 430.3 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.6101, allocations: 1.356 MB / 431.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.6105, allocations: 39.78 kB / 431.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.6106, allocations: 8.062 kB / 431.7 MB, free: 6.449 MB / 346.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.0001341/0.6107, allocations: 124.4 kB / 431.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.6108, allocations: 15.81 kB / 431.8 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.6109, allocations: 24.27 kB / 431.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6109, allocations: 3.938 kB / 431.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6109, allocations: 4 kB / 431.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6109, allocations: 0 / 431.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.6119, allocations: 0.496 MB / 432.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.612, allocations: 0 / 432.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.6123, allocations: 31.97 kB / 432.4 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.6125, allocations: 27.97 kB / 432.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.6125, allocations: 3.75 kB / 432.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.614, allocations: 1.362 MB / 433.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6141, allocations: 4.031 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.6148, allocations: 313.1 kB / 434.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.615, allocations: 107.6 kB / 434.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.615, allocations: 3.312 kB / 434.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.6154, allocations: 27.03 kB / 434.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.6155, allocations: 23.55 kB / 434.2 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.6155, allocations: 8.062 kB / 434.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.6157, allocations: 125.7 kB / 434.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6157, allocations: 4 kB / 434.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.6162, allocations: 59.09 kB / 434.4 MB, free: 3.727 MB / 346.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.001169/0.6174, allocations: 0.8605 MB / 435.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.618, allocations: 220.9 kB / 435.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.618, allocations: 0 / 435.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.6183, allocations: 171.9 kB / 435.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.6188, allocations: 33.92 kB / 435.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.62, allocations: 340.8 kB / 436 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.6204, allocations: 0.7441 MB / 436.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.6206, allocations: 13.33 kB / 436.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.6207, allocations: 61.11 kB / 436.9 MB, free: 1.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6207, allocations: 0 / 436.9 MB, free: 1.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09031/0.711, allocations: 3.924 MB / 440.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003475/0.7115, allocations: 186.9 kB / 441 MB, free: 13.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.549, allocations: 7.875 kB / 441 MB, free: 13.33 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat