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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.192/2.192, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.689e-05, allocations: 0 / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.42 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5339, allocations: 80.26 MB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5342, allocations: 65.84 kB / 422.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02823/0.5625, allocations: 7.885 MB / 430.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.5625, allocations: 0 / 430.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.5626, allocations: 12 kB / 430.8 MB, free: 7.234 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.001042/0.5636, allocations: 0.6073 MB / 431.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5637, allocations: 10.88 kB / 431.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.5638, allocations: 55.34 kB / 431.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.5645, allocations: 358 kB / 431.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.5645, allocations: 28.44 kB / 431.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.5646, allocations: 41.69 kB / 431.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.5655, allocations: 470.7 kB / 432.3 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.5656, allocations: 11.89 kB / 432.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.5656, allocations: 23.12 kB / 432.4 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.5657, allocations: 15.94 kB / 432.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.5663, allocations: 210.2 kB / 432.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.5694, allocations: 2.803 MB / 435.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.57, allocations: 149.8 kB / 435.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.5701, allocations: 68.55 kB / 435.6 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.5703, allocations: 85.09 kB / 435.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5703, allocations: 30.56 kB / 435.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.383e-06/0.5704, allocations: 0 / 435.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001427/0.5718, allocations: 0.5537 MB / 436.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.5719, allocations: 55.41 kB / 436.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.5723, allocations: 300.1 kB / 436.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.5724, allocations: 25.7 kB / 436.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5726, allocations: 302.8 kB / 436.9 MB, free: 1.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.5727, allocations: 66.09 kB / 437 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.5727, allocations: 7.062 kB / 437 MB, free: 1.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5729, allocations: 353.2 kB / 437.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5731, allocations: 58.44 kB / 437.4 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.5734, allocations: 208.9 kB / 437.6 MB, free: 0.7461 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.0007772/0.5742, allocations: 263.8 kB / 437.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.684e-06/0.5742, allocations: 4 kB / 437.9 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007583/0.575, allocations: 330.3 kB / 438.2 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.575, allocations: 8 kB / 438.2 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.575, allocations: 4.688 kB / 438.2 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.5752, allocations: 43.64 kB / 438.2 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5756, allocations: 75.03 kB / 438.3 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.5772, allocations: 1.453 MB / 439.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5776, allocations: 23.61 kB / 439.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.5776, allocations: 19.38 kB / 439.8 MB, free: 14.58 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.0001585/0.5778, allocations: 138.3 kB / 439.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.5779, allocations: 31.69 kB / 440 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/0.578, allocations: 37.88 kB / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-06/0.578, allocations: 4 kB / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-06/0.578, allocations: 0 / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.493e-06/0.578, allocations: 0 / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.5793, allocations: 0.644 MB / 440.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.5793, allocations: 0 / 440.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.5796, allocations: 43.41 kB / 440.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.5797, allocations: 23.41 kB / 440.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.5798, allocations: 7.562 kB / 440.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.5811, allocations: 1.319 MB / 442.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-06/0.5811, allocations: 0 / 442.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.5817, allocations: 355 kB / 442.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5819, allocations: 104.6 kB / 442.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.5819, allocations: 7.375 kB / 442.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.5821, allocations: 19.16 kB / 442.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.5822, allocations: 7.984 kB / 442.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.5822, allocations: 10.77 kB / 442.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.5826, allocations: 230.9 kB / 442.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5826, allocations: 0 / 442.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006233/0.5832, allocations: 71.06 kB / 442.8 MB, free: 11.64 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.000176/0.5834, allocations: 107.1 kB / 442.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.5841, allocations: 284.6 kB / 443.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.299e-06/0.5841, allocations: 1.375 kB / 443.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.5844, allocations: 171.7 kB / 443.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5847, allocations: 46.94 kB / 443.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5862, allocations: 0.6257 MB / 444.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.5868, allocations: 0.8226 MB / 444.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.587, allocations: 47.25 kB / 444.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.5871, allocations: 30.75 kB / 445 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.646e-06/0.5872, allocations: 0 / 445 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.00959/0.5968, allocations: 2.429 MB / 447.4 MB, free: 7.148 MB / 362.7 MB