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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.874e-05, allocations: 4 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09133, allocations: 50.42 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4509, allocations: 80.67 MB / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4511, allocations: 75.08 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03654/0.4877, allocations: 9.124 MB / 432.4 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.4877, allocations: 0 / 432.4 MB, free: 5.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.4878, allocations: 19.98 kB / 432.4 MB, free: 5.719 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00148/0.4893, allocations: 0.7488 MB / 433.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4893, allocations: 16.03 kB / 433.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.4895, allocations: 63.25 kB / 433.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.4901, allocations: 361.7 kB / 433.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.4902, allocations: 41.77 kB / 433.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4903, allocations: 53.12 kB / 433.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4914, allocations: 0.5086 MB / 434.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.4915, allocations: 3.938 kB / 434.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.4915, allocations: 28.73 kB / 434.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4916, allocations: 12 kB / 434.3 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.4926, allocations: 400.7 kB / 434.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.4964, allocations: 2.075 MB / 436.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.4975, allocations: 0.5992 MB / 437.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.4983, allocations: 376.9 kB / 437.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.4983, allocations: 12.56 kB / 437.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4984, allocations: 34.94 kB / 437.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.849e-06/0.4984, allocations: 4 kB / 437.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.002949/0.5013, allocations: 1.251 MB / 439 MB, free: 368 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.5014, allocations: 59.97 kB / 439.1 MB, free: 292 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.5019, allocations: 308.6 kB / 439.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.502, allocations: 37.27 kB / 439.4 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5022, allocations: 231.1 kB / 439.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.5024, allocations: 197.9 kB / 439.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.5025, allocations: 10.88 kB / 439.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.5027, allocations: 362.5 kB / 440.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5031, allocations: 148.4 kB / 440.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.5035, allocations: 186.6 kB / 440.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.5039, allocations: 175.6 kB / 440.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-06/0.5039, allocations: 0 / 440.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001546/0.5055, allocations: 0.6265 MB / 441.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5055, allocations: 7.953 kB / 441.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.898e-06/0.5056, allocations: 0 / 441.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.5066, allocations: 250.3 kB / 441.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.507, allocations: 67.09 kB / 441.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/0.5159, allocations: 6.749 MB / 448.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.5163, allocations: 18.41 kB / 448.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.5164, allocations: 11.56 kB / 448.4 MB, free: 7.645 MB / 362.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.0001828/0.5166, allocations: 135.4 kB / 448.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5167, allocations: 51.34 kB / 448.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.5169, allocations: 69.14 kB / 448.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.084e-06/0.5169, allocations: 4 kB / 448.7 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.5169, allocations: 7.953 kB / 448.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.744e-06/0.517, allocations: 3.984 kB / 448.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.5197, allocations: 1.301 MB / 450 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.5198, allocations: 4 kB / 450 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.5202, allocations: 56.44 kB / 450 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009787/0.5212, allocations: 263.1 kB / 450.3 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.5212, allocations: 12.12 kB / 450.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009109/0.5304, allocations: 6.765 MB / 457.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-06/0.5304, allocations: 0 / 457.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5327, allocations: 0.9704 MB / 458 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.533, allocations: 156.5 kB / 458.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.5331, allocations: 12 kB / 458.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.5335, allocations: 23.94 kB / 458.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5337, allocations: 56.42 kB / 458.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.5338, allocations: 12 kB / 458.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.5342, allocations: 254.2 kB / 458.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5342, allocations: 4 kB / 458.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00118/0.5354, allocations: 172 kB / 458.7 MB, free: 13.03 MB / 378.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.000216/0.5356, allocations: 115.2 kB / 458.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.5376, allocations: 0.9568 MB / 459.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.314e-06/0.5376, allocations: 0 / 459.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.539, allocations: 0.774 MB / 460.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.5397, allocations: 81.61 kB / 460.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.5423, allocations: 0.996 MB / 461.6 MB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.543, allocations: 0.8907 MB / 462.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000272/0.5433, allocations: 48.55 kB / 462.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.5434, allocations: 23.44 kB / 462.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of SimCode: time 1.696e-06/0.5435, allocations: 0 / 462.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of Templates: time 0.03641/0.5799, allocations: 7.816 MB / 470.4 MB, free: 1.227 MB / 378.7 MB