Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.198/2.198, allocations: 225.8 MB / 239.4 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.083e-05, allocations: 3.938 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09351, allocations: 50.41 MB / 343.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4698, allocations: 80.01 MB / 423.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4701, allocations: 71.56 kB / 423.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.4955, allocations: 7.886 MB / 431 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4955, allocations: 4.188 kB / 431 MB, free: 6.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.4956, allocations: 15.22 kB / 431 MB, free: 6.012 MB / 330.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.0008559/0.4965, allocations: 0.6102 MB / 431.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4965, allocations: 10.61 kB / 431.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4966, allocations: 57.62 kB / 431.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.4972, allocations: 354.7 kB / 432.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.4973, allocations: 35.5 kB / 432.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.4974, allocations: 43.66 kB / 432.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.4982, allocations: 464.8 kB / 432.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.4982, allocations: 7.828 kB / 432.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.4983, allocations: 20.72 kB / 432.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.4983, allocations: 15.48 kB / 432.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.4988, allocations: 213.1 kB / 432.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.5011, allocations: 2.801 MB / 435.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.5016, allocations: 151.2 kB / 435.8 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.5017, allocations: 65.45 kB / 435.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.5019, allocations: 84.97 kB / 435.9 MB, free: 18.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.502, allocations: 34.31 kB / 436 MB, free: 18.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.122e-06/0.502, allocations: 0 / 436 MB, free: 18.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001261/0.5033, allocations: 0.5526 MB / 436.5 MB, free: 17.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5034, allocations: 51.41 kB / 436.6 MB, free: 17.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.5037, allocations: 303.5 kB / 436.9 MB, free: 17.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.5038, allocations: 29.27 kB / 436.9 MB, free: 17.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.504, allocations: 302.9 kB / 437.2 MB, free: 17.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.504, allocations: 62.11 kB / 437.3 MB, free: 17.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.504, allocations: 7.312 kB / 437.3 MB, free: 17.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5042, allocations: 344.7 kB / 437.6 MB, free: 17.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5044, allocations: 57.66 kB / 437.7 MB, free: 17.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.5046, allocations: 207 kB / 437.9 MB, free: 16.89 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.0007142/0.5053, allocations: 263 kB / 438.1 MB, free: 16.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-06/0.5053, allocations: 3.719 kB / 438.1 MB, free: 16.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006342/0.506, allocations: 337.6 kB / 438.5 MB, free: 16.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.506, allocations: 7.812 kB / 438.5 MB, free: 16.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.875e-06/0.506, allocations: 3.875 kB / 438.5 MB, free: 16.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.5062, allocations: 36.53 kB / 438.5 MB, free: 16.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.5065, allocations: 81.88 kB / 438.6 MB, free: 16.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.5081, allocations: 1.46 MB / 440 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.5083, allocations: 23.23 kB / 440.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.5084, allocations: 19.06 kB / 440.1 MB, free: 15.2 MB / 346.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.0001539/0.5086, allocations: 128.3 kB / 440.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.5086, allocations: 30.84 kB / 440.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/0.5087, allocations: 42.41 kB / 440.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-06/0.5088, allocations: 0 / 440.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-06/0.5088, allocations: 0 / 440.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-06/0.5088, allocations: 3.984 kB / 440.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.51, allocations: 0.644 MB / 440.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-06/0.51, allocations: 0 / 440.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.5102, allocations: 46.72 kB / 441 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.5104, allocations: 24.31 kB / 441 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.5104, allocations: 3.812 kB / 441 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.5116, allocations: 1.319 MB / 442.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.96e-06/0.5117, allocations: 4.062 kB / 442.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.5122, allocations: 350.8 kB / 442.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5123, allocations: 104.4 kB / 442.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.5124, allocations: 3.938 kB / 442.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5126, allocations: 15.78 kB / 442.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.5127, allocations: 15.55 kB / 442.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.5127, allocations: 11.77 kB / 442.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.513, allocations: 231.2 kB / 443 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.513, allocations: 0 / 443 MB, free: 12.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.5136, allocations: 72.88 kB / 443.1 MB, free: 12.88 MB / 346.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.0001522/0.5138, allocations: 102.5 kB / 443.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.5144, allocations: 293.2 kB / 443.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5144, allocations: 3.938 kB / 443.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.5147, allocations: 163.1 kB / 443.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.515, allocations: 36.59 kB / 443.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5163, allocations: 0.6331 MB / 444.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.5168, allocations: 0.8233 MB / 445.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.517, allocations: 38.48 kB / 445.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.5171, allocations: 34.64 kB / 445.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.598e-06/0.5171, allocations: 0 / 445.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of Templates: time 0.009247/0.5264, allocations: 2.433 MB / 447.7 MB, free: 10.16 MB / 346.7 MB