Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.379/2.379, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.795e-05, allocations: 9.391 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.606, allocations: 80.25 MB / 422.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.6063, allocations: 65.91 kB / 423 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.645, allocations: 7.881 MB / 430.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.645, allocations: 0 / 430.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.6451, allocations: 15.98 kB / 430.9 MB, free: 7.277 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001282/0.6464, allocations: 0.611 MB / 431.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6465, allocations: 10.88 kB / 431.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.6466, allocations: 85.08 kB / 431.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6468, allocations: 59.34 kB / 431.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.6476, allocations: 353.9 kB / 432 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.6476, allocations: 32.75 kB / 432 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.6477, allocations: 45.78 kB / 432 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.6488, allocations: 470.6 kB / 432.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.6488, allocations: 7.625 kB / 432.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.6489, allocations: 17.95 kB / 432.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.6489, allocations: 12 kB / 432.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.6496, allocations: 212.7 kB / 432.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.6532, allocations: 2.796 MB / 435.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.6539, allocations: 155.2 kB / 435.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.6541, allocations: 64.23 kB / 435.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.6543, allocations: 93.11 kB / 435.8 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6544, allocations: 34.38 kB / 435.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.156e-06/0.6544, allocations: 0 / 435.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001603/0.656, allocations: 0.5535 MB / 436.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.6561, allocations: 55.41 kB / 436.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.6566, allocations: 302.6 kB / 436.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.6566, allocations: 28.39 kB / 436.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.6569, allocations: 300 kB / 437.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.657, allocations: 61.3 kB / 437.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.657, allocations: 7.125 kB / 437.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6572, allocations: 348.8 kB / 437.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.6574, allocations: 62.06 kB / 437.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.6577, allocations: 202.5 kB / 437.8 MB, free: 0.7227 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.6587, allocations: 266.5 kB / 438 MB, free: 500 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6587, allocations: 0 / 438 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008605/0.6596, allocations: 334.5 kB / 438.4 MB, free: 216 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6597, allocations: 8.688 kB / 438.4 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6597, allocations: 4 kB / 438.4 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.6599, allocations: 44.03 kB / 438.4 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.6604, allocations: 67.91 kB / 438.5 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.6622, allocations: 1.467 MB / 439.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.6627, allocations: 19.77 kB / 440 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.6627, allocations: 23.23 kB / 440 MB, free: 14.55 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001781/0.6629, allocations: 123.6 kB / 440.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.663, allocations: 35.62 kB / 440.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.6631, allocations: 38 kB / 440.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6631, allocations: 0 / 440.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6632, allocations: 4 kB / 440.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.6632, allocations: 4.125 kB / 440.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6646, allocations: 0.6514 MB / 440.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6647, allocations: 7.984 kB / 440.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.6651, allocations: 39.47 kB / 440.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.6652, allocations: 20.17 kB / 440.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.6653, allocations: 3.375 kB / 440.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.6666, allocations: 1.319 MB / 442.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6667, allocations: 0 / 442.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.6674, allocations: 346.2 kB / 442.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6675, allocations: 104.6 kB / 442.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.6676, allocations: 11.44 kB / 442.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.6678, allocations: 11.91 kB / 442.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.6679, allocations: 15.94 kB / 442.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6679, allocations: 4 kB / 442.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.6683, allocations: 227.6 kB / 442.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6683, allocations: 0 / 442.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007051/0.6691, allocations: 75.69 kB / 443 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.6702, allocations: 0.9707 MB / 444 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007756/0.671, allocations: 277.8 kB / 444.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6711, allocations: 0 / 444.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.6714, allocations: 170.4 kB / 444.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.6718, allocations: 35.31 kB / 444.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.6741, allocations: 0.7206 MB / 445.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.6747, allocations: 0.8226 MB / 446 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.675, allocations: 39.27 kB / 446 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.6753, allocations: 149.7 kB / 446.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6753, allocations: 0 / 446.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.7115, allocations: 5.981 MB / 452.2 MB, free: 2.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.7118, allocations: 183 kB / 452.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.468, allocations: 0 / 452.3 MB, free: 2.523 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat