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 2.228/2.228, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.113e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3415, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.483, allocations: 73.25 MB / 367.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4833, allocations: 63.97 kB / 367.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.5007, allocations: 3.737 MB / 371.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5008, allocations: 0 / 371.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.5008, allocations: 4 kB / 371.3 MB, free: 4.793 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.001143/0.5019, allocations: 0.4944 MB / 371.8 MB, free: 4.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.502, allocations: 8.031 kB / 371.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.5022, allocations: 23.72 kB / 371.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.5026, allocations: 230.5 kB / 372 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.5026, allocations: 11.92 kB / 372 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.5027, allocations: 16 kB / 372 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003885/0.5031, allocations: 116.8 kB / 372.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.5036, allocations: 185 kB / 372.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.5036, allocations: 0 / 372.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.5036, allocations: 0 / 372.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.5036, allocations: 4 kB / 372.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.5056, allocations: 0.7672 MB / 373.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.5062, allocations: 138.6 kB / 373.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.5063, allocations: 56.86 kB / 373.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.5064, allocations: 11.95 kB / 373.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5064, allocations: 34.56 kB / 373.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.586e-06/0.5065, allocations: 0 / 373.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007224/0.5072, allocations: 148.6 kB / 373.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5073, allocations: 51.41 kB / 373.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.5075, allocations: 133.4 kB / 373.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.5076, allocations: 25.7 kB / 373.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5078, allocations: 152.2 kB / 373.8 MB, free: 2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.5079, allocations: 51.19 kB / 373.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.5079, allocations: 0 / 373.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5081, allocations: 326.8 kB / 374.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5082, allocations: 36.38 kB / 374.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5084, allocations: 71.88 kB / 374.3 MB, free: 1.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5085, allocations: 43.94 kB / 374.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5085, allocations: 0 / 374.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005135/0.509, allocations: 162 kB / 374.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.5091, allocations: 8 kB / 374.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5091, allocations: 0 / 374.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.5094, allocations: 40.81 kB / 374.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5097, allocations: 36.02 kB / 374.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.5113, allocations: 1.303 MB / 375.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.5117, allocations: 39.88 kB / 375.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.5117, allocations: 8 kB / 376 MB, free: 15.74 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.0001382/0.5119, allocations: 116.2 kB / 376.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000464/0.5124, allocations: 146.2 kB / 376.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.5125, allocations: 23.77 kB / 376.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.5125, allocations: 28.61 kB / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5126, allocations: 0 / 376.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5126, allocations: 4 kB / 376.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5126, allocations: 0 / 376.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.5135, allocations: 440.9 kB / 376.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5135, allocations: 0 / 376.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.5138, allocations: 31.98 kB / 376.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.514, allocations: 28.84 kB / 376.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5141, allocations: 0 / 376.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.5156, allocations: 1.315 MB / 378.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.5156, allocations: 0 / 378.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.5163, allocations: 300.7 kB / 378.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.5165, allocations: 100.9 kB / 378.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5166, allocations: 128 / 378.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.5169, allocations: 27.97 kB / 378.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.5171, allocations: 23.92 kB / 378.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.5171, allocations: 4 kB / 378.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.5172, allocations: 116 kB / 378.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5172, allocations: 4 kB / 378.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004996/0.5178, allocations: 55.84 kB / 378.7 MB, free: 12.79 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.00108/0.5188, allocations: 0.8232 MB / 379.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.5194, allocations: 226.8 kB / 379.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5195, allocations: 0 / 379.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.5198, allocations: 169.7 kB / 379.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.5202, allocations: 12 kB / 379.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.5214, allocations: 335.2 kB / 380.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.5219, allocations: 0.7358 MB / 381 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.522, allocations: 17.2 kB / 381 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.5222, allocations: 51.42 kB / 381 MB, free: 10.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5222, allocations: 0 / 381 MB, free: 10.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/0.5705, allocations: 3.221 MB / 384.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.5709, allocations: 154.7 kB / 384.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.145, allocations: 4 kB / 384.4 MB, free: 6.914 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