Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2857, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.4273, allocations: 69.37 MB / 333.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4276, allocations: 67.95 kB / 333.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03375/0.4613, allocations: 8.362 MB / 341.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4614, allocations: 0 / 341.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.4614, allocations: 12 kB / 341.6 MB, free: 11.89 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001554/0.463, allocations: 0.7635 MB / 342.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.4631, allocations: 8.031 kB / 342.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.4634, allocations: 75.11 kB / 342.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.4641, allocations: 359.5 kB / 342.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.4642, allocations: 37.31 kB / 342.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4643, allocations: 51.91 kB / 342.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4655, allocations: 0.5077 MB / 343.4 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.4655, allocations: 0 / 343.4 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.4656, allocations: 24 kB / 343.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.4656, allocations: 12 kB / 343.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4666, allocations: 409.8 kB / 343.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.4707, allocations: 2.069 MB / 345.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.472, allocations: 0.6051 MB / 346.5 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.4727, allocations: 373.9 kB / 346.9 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.4728, allocations: 8.562 kB / 346.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4728, allocations: 39.11 kB / 346.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 3.738e-06/0.4728, allocations: 0 / 346.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002988/0.4758, allocations: 1.249 MB / 348.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4759, allocations: 59.97 kB / 348.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.4764, allocations: 322.8 kB / 348.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.4765, allocations: 37.7 kB / 348.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4767, allocations: 229.1 kB / 348.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.4769, allocations: 213 kB / 349 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.477, allocations: 12 kB / 349 MB, free: 4.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4772, allocations: 354.8 kB / 349.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.4776, allocations: 145.1 kB / 349.5 MB, free: 3.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.4781, allocations: 190.8 kB / 349.7 MB, free: 3.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.4785, allocations: 163.2 kB / 349.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-06/0.4785, allocations: 4 kB / 349.9 MB, free: 3.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001632/0.4802, allocations: 0.6267 MB / 350.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4802, allocations: 4 kB / 350.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.792e-06/0.4802, allocations: 3.938 kB / 350.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009945/0.4812, allocations: 247.3 kB / 350.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.4816, allocations: 67.89 kB / 350.8 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008901/0.4906, allocations: 6.765 MB / 357.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.491, allocations: 20.67 kB / 357.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.4911, allocations: 16 kB / 357.6 MB, free: 10.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.4913, allocations: 133 kB / 357.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4914, allocations: 51.34 kB / 357.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.4916, allocations: 69.03 kB / 357.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-06/0.4916, allocations: 7.938 kB / 357.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.4916, allocations: 4 kB / 357.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.039e-06/0.4917, allocations: 7.922 kB / 357.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.4945, allocations: 1.306 MB / 359.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-06/0.4945, allocations: 0 / 359.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.4949, allocations: 59.92 kB / 359.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009692/0.4959, allocations: 251.2 kB / 359.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.496, allocations: 15.98 kB / 359.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008866/0.5048, allocations: 6.757 MB / 366.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.504e-06/0.5049, allocations: 96 / 366.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5071, allocations: 0.9742 MB / 367.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.5074, allocations: 164.4 kB / 367.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.5075, allocations: 12 kB / 367.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5079, allocations: 19.98 kB / 367.4 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.5081, allocations: 56.48 kB / 367.5 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.5082, allocations: 16.09 kB / 367.5 MB, free: 412 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003973/0.5086, allocations: 257.2 kB / 367.7 MB, free: 156 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.5086, allocations: 0 / 367.7 MB, free: 156 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.1963/0.7049, allocations: 176.5 kB / 367.9 MB, free: 90.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.7052, allocations: 111.6 kB / 368 MB, free: 90.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.7071, allocations: 0.9542 MB / 369 MB, free: 90.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.965e-06/0.7071, allocations: 3.281 kB / 369 MB, free: 90.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.7084, allocations: 0.7762 MB / 369.7 MB, free: 90.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.709, allocations: 76.84 kB / 369.8 MB, free: 90.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.7113, allocations: 0.9931 MB / 370.8 MB, free: 89.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7117, allocations: 0.8935 MB / 371.7 MB, free: 89.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.712, allocations: 48.44 kB / 371.8 MB, free: 89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.7121, allocations: 27.72 kB / 371.8 MB, free: 89 MB / 314.7 MB Notification: Performance of SimCode: time 1.509e-06/0.7121, allocations: 0 / 371.8 MB, free: 89 MB / 314.7 MB Notification: Performance of Templates: time 0.01817/0.7303, allocations: 7.809 MB / 379.6 MB, free: 87.91 MB / 314.7 MB