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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.65e-05, allocations: 4 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09677, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4693, allocations: 80.67 MB / 423.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4695, allocations: 69.09 kB / 423.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03731/0.5069, allocations: 9.13 MB / 433 MB, free: 5.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.421e-06/0.5069, allocations: 0 / 433 MB, free: 5.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.507, allocations: 16 kB / 433 MB, free: 5.734 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.001503/0.5085, allocations: 0.7545 MB / 433.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5085, allocations: 8.031 kB / 433.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.5087, allocations: 67.25 kB / 433.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.5094, allocations: 361.3 kB / 434.2 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.5094, allocations: 39.39 kB / 434.2 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5096, allocations: 49 kB / 434.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5107, allocations: 0.515 MB / 434.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5107, allocations: 3.938 kB / 434.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.5108, allocations: 21.5 kB / 434.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.5108, allocations: 12 kB / 434.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.5118, allocations: 400.6 kB / 435.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.5158, allocations: 2.08 MB / 437.3 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.517, allocations: 0.5956 MB / 437.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/0.5177, allocations: 382.6 kB / 438.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.5178, allocations: 4.562 kB / 438.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.5178, allocations: 38.81 kB / 438.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 4.181e-06/0.5178, allocations: 0 / 438.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.002961/0.5208, allocations: 1.252 MB / 439.5 MB, free: 384 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.5209, allocations: 55.97 kB / 439.6 MB, free: 312 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.5214, allocations: 314.9 kB / 439.9 MB, free: 52 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.5215, allocations: 31.83 kB / 439.9 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5217, allocations: 228.9 kB / 440.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.5219, allocations: 201.9 kB / 440.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.5219, allocations: 10.75 kB / 440.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5222, allocations: 355.2 kB / 440.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.5225, allocations: 153.5 kB / 440.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.523, allocations: 187.4 kB / 441 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.5234, allocations: 169.1 kB / 441.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-06/0.5234, allocations: 0 / 441.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001564/0.525, allocations: 0.6284 MB / 441.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.525, allocations: 7.953 kB / 441.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.747e-06/0.5251, allocations: 0 / 441.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/0.5261, allocations: 254.6 kB / 442.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.5265, allocations: 67.7 kB / 442.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00903/0.5356, allocations: 6.76 MB / 448.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.536, allocations: 19.39 kB / 448.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.5361, allocations: 15.25 kB / 448.9 MB, free: 7.648 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.0001791/0.5363, allocations: 133.9 kB / 449.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5364, allocations: 51.34 kB / 449.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.5366, allocations: 67.06 kB / 449.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.564e-06/0.5366, allocations: 8 kB / 449.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.5366, allocations: 3.953 kB / 449.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5367, allocations: 0 / 449.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.5394, allocations: 1.307 MB / 450.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5395, allocations: 0 / 450.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5399, allocations: 59.97 kB / 450.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009736/0.5409, allocations: 251.5 kB / 450.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.541, allocations: 15.98 kB / 450.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009098/0.5501, allocations: 6.761 MB / 457.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.753e-06/0.5501, allocations: 192 / 457.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5524, allocations: 0.9782 MB / 458.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.5528, allocations: 152.5 kB / 458.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.5529, allocations: 15.98 kB / 458.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.5533, allocations: 23.95 kB / 458.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.5535, allocations: 56.48 kB / 458.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5535, allocations: 19.92 kB / 458.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004051/0.5539, allocations: 250.2 kB / 459.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.554, allocations: 0 / 459.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001186/0.5552, allocations: 172 kB / 459.2 MB, free: 13.05 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.0002364/0.5554, allocations: 119.9 kB / 459.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.5574, allocations: 0.9568 MB / 460.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.191e-06/0.5574, allocations: 4.062 kB / 460.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.5588, allocations: 0.774 MB / 461.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.5595, allocations: 73.98 kB / 461.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.5622, allocations: 0.992 MB / 462.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.5629, allocations: 0.8868 MB / 463 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.5632, allocations: 52.53 kB / 463.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5633, allocations: 31.44 kB / 463.1 MB, free: 9.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.74e-06/0.5633, allocations: 0 / 463.1 MB, free: 9.023 MB / 378.7 MB Notification: Performance of Templates: time 0.022/0.5853, allocations: 7.796 MB / 470.9 MB, free: 1.266 MB / 378.7 MB