Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.76e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07648, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4473, allocations: 73.83 MB / 373.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.4477, allocations: 69.45 kB / 373.8 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02339/0.4711, allocations: 3.961 MB / 377.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4712, allocations: 1.188 kB / 377.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4712, allocations: 3.844 kB / 377.7 MB, free: 21.86 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006756/0.4719, allocations: 483.7 kB / 378.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.472, allocations: 13.16 kB / 378.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.4721, allocations: 25.69 kB / 378.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.4723, allocations: 234.8 kB / 378.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.4724, allocations: 13.41 kB / 378.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.4724, allocations: 19.22 kB / 378.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.4729, allocations: 217 kB / 378.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4729, allocations: 3.984 kB / 378.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.473, allocations: 9.969 kB / 378.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-06/0.473, allocations: 5.375 kB / 378.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.4733, allocations: 137.1 kB / 378.9 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.4749, allocations: 0.8468 MB / 379.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.4753, allocations: 146.1 kB / 379.9 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.4755, allocations: 86.95 kB / 380 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4756, allocations: 12.08 kB / 380 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.4756, allocations: 39.44 kB / 380 MB, free: 20.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.201e-06/0.4756, allocations: 0 / 380 MB, free: 20.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006734/0.4763, allocations: 198.8 kB / 380.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4764, allocations: 53.84 kB / 380.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4765, allocations: 162.7 kB / 380.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4766, allocations: 25.7 kB / 380.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.4767, allocations: 153.2 kB / 380.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.4767, allocations: 54.16 kB / 380.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.4768, allocations: 2.75 kB / 380.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.4768, allocations: 332.1 kB / 381 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.477, allocations: 44.34 kB / 381 MB, free: 19.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4771, allocations: 72.98 kB / 381.1 MB, free: 19.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.4773, allocations: 59.69 kB / 381.1 MB, free: 19.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-06/0.4773, allocations: 0 / 381.1 MB, free: 19.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005588/0.4779, allocations: 216.5 kB / 381.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4779, allocations: 6.578 kB / 381.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-06/0.4779, allocations: 3.562 kB / 381.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.4795, allocations: 216.1 kB / 381.6 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.4797, allocations: 40.48 kB / 381.6 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/0.4802, allocations: 0.6097 MB / 382.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4804, allocations: 25.73 kB / 382.2 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.4804, allocations: 5.031 kB / 382.3 MB, free: 19.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.4805, allocations: 110.8 kB / 382.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.4806, allocations: 20.02 kB / 382.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.4811, allocations: 212.9 kB / 382.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-06/0.4812, allocations: 2.281 kB / 382.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.298e-06/0.4812, allocations: 5.156 kB / 382.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4812, allocations: 11.94 kB / 382.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4823, allocations: 0.5897 MB / 383.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-06/0.4823, allocations: 0 / 383.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.4825, allocations: 26.84 kB / 383.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4839, allocations: 224.1 kB / 383.4 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.4839, allocations: 4.875 kB / 383.4 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004531/0.4844, allocations: 0.6198 MB / 384.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-06/0.4844, allocations: 2.156 kB / 384.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.4851, allocations: 387.7 kB / 384.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4852, allocations: 113.7 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.4853, allocations: 5 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4855, allocations: 18.03 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.4856, allocations: 9.453 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4856, allocations: 5.344 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4857, allocations: 128 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.021e-06/0.4858, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004663/0.4862, allocations: 72.23 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.4864, allocations: 114.9 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4869, allocations: 143.3 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-06/0.4869, allocations: 0 / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4871, allocations: 76.61 kB / 385.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4874, allocations: 26.39 kB / 385.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.4883, allocations: 378.7 kB / 385.5 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.4885, allocations: 0.7476 MB / 386.3 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.4886, allocations: 9.625 kB / 386.3 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.4887, allocations: 14.03 kB / 386.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of SimCode: time 2.012e-06/0.4887, allocations: 4.875 kB / 386.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of Templates: time 0.007429/0.4961, allocations: 2.348 MB / 388.6 MB, free: 16.53 MB / 314.7 MB