Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 7.522e-05/7.535e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.4355, allocations: 68.65 MB / 332.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4358, allocations: 63.97 kB / 332.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.454, allocations: 3.788 MB / 336.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.454, allocations: 0 / 336.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.4541, allocations: 4 kB / 336.4 MB, free: 1.184 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001223/0.4553, allocations: 0.4905 MB / 336.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4554, allocations: 12.03 kB / 336.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.4555, allocations: 62.88 kB / 336.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4557, allocations: 23.72 kB / 337 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.4561, allocations: 222.7 kB / 337.2 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.4562, allocations: 20.44 kB / 337.2 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.4563, allocations: 23.95 kB / 337.2 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.4569, allocations: 209 kB / 337.4 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4569, allocations: 8 kB / 337.4 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.4569, allocations: 4 kB / 337.4 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.457, allocations: 4 kB / 337.4 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.4574, allocations: 128.9 kB / 337.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.4595, allocations: 0.8244 MB / 338.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.4602, allocations: 138.7 kB / 338.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4604, allocations: 64.86 kB / 338.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.4604, allocations: 4 kB / 338.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4605, allocations: 42.48 kB / 338.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.186e-06/0.4605, allocations: 4 kB / 338.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006335/0.4611, allocations: 157.2 kB / 338.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.4612, allocations: 55.41 kB / 338.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4615, allocations: 153.8 kB / 339 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.4615, allocations: 33.64 kB / 339 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4617, allocations: 140.2 kB / 339.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.4618, allocations: 55.27 kB / 339.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.4618, allocations: 8 kB / 339.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.462, allocations: 330.8 kB / 339.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4621, allocations: 36.38 kB / 339.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.4623, allocations: 71.75 kB / 339.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.4625, allocations: 47.83 kB / 339.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4625, allocations: 3.938 kB / 339.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000606/0.4631, allocations: 192.5 kB / 339.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4631, allocations: 8 kB / 339.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4632, allocations: 3.984 kB / 339.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.4634, allocations: 32.83 kB / 339.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.4638, allocations: 35.98 kB / 340 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.4655, allocations: 1.355 MB / 341.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.466, allocations: 39.92 kB / 341.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.466, allocations: 4 kB / 341.4 MB, free: 11.78 MB / 298.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.0001438/0.4661, allocations: 113.6 kB / 341.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4662, allocations: 19.8 kB / 341.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.4663, allocations: 21.59 kB / 341.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4663, allocations: 4 kB / 341.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4663, allocations: 4 kB / 341.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.4664, allocations: 0 / 341.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4674, allocations: 0.4913 MB / 342 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4675, allocations: 0 / 342 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.4678, allocations: 35.91 kB / 342.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.468, allocations: 32.84 kB / 342.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4681, allocations: 12.09 kB / 342.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.4697, allocations: 1.355 MB / 343.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4697, allocations: 3.938 kB / 343.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.4705, allocations: 315.3 kB / 343.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4707, allocations: 100.9 kB / 343.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.4708, allocations: 0 / 343.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4712, allocations: 36.03 kB / 343.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.4713, allocations: 27.84 kB / 343.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4713, allocations: 0 / 343.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.4715, allocations: 128.3 kB / 344.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4715, allocations: 0 / 344.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005119/0.4721, allocations: 55.91 kB / 344.1 MB, free: 8.809 MB / 298.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.00119/0.4733, allocations: 0.8536 MB / 345 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.4739, allocations: 217.7 kB / 345.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.474, allocations: 0 / 345.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.4743, allocations: 174 kB / 345.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4748, allocations: 36.05 kB / 345.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.476, allocations: 344.4 kB / 345.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.4765, allocations: 0.7402 MB / 346.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.4766, allocations: 17.33 kB / 346.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.4768, allocations: 59.41 kB / 346.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4768, allocations: 0 / 346.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.5102, allocations: 3.913 MB / 350.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/0.5106, allocations: 188.9 kB / 350.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.132, allocations: 0 / 350.6 MB, free: 2.195 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat