Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 239.4 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.136e-05, allocations: 4 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09129, allocations: 50.42 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4659, allocations: 85.5 MB / 428.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4662, allocations: 81.2 kB / 428.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07117/0.5374, allocations: 20.81 MB / 449.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5375, allocations: 0 / 449.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.327e-05/0.5376, allocations: 30.78 kB / 449.5 MB, free: 15.64 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002907/0.5405, allocations: 1.293 MB / 450.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5405, allocations: 7.719 kB / 450.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5409, allocations: 142.7 kB / 450.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.5462, allocations: 1.68 MB / 452.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.5463, allocations: 71.34 kB / 452.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.5465, allocations: 99.81 kB / 452.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.5495, allocations: 1.377 MB / 454.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.5495, allocations: 0 / 454.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.5497, allocations: 42.12 kB / 454.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.04e-05/0.5498, allocations: 49.23 kB / 454.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.5524, allocations: 1.159 MB / 455.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008814/0.5612, allocations: 4.356 MB / 459.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.5638, allocations: 1.927 MB / 461.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.5653, allocations: 0.7227 MB / 462.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.5654, allocations: 8.781 kB / 462.4 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.5666, allocations: 0.5737 MB / 463 MB, free: 6.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 4.425e-06/0.5666, allocations: 0 / 463 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.002834/0.5694, allocations: 1.219 MB / 464.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5696, allocations: 122.2 kB / 464.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5711, allocations: 0.7244 MB / 465.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5712, allocations: 45.5 kB / 465.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.5718, allocations: 487 kB / 465.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.5721, allocations: 247.2 kB / 465.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.5722, allocations: 9.875 kB / 465.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.5725, allocations: 394.6 kB / 466.2 MB, free: 4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.5732, allocations: 373.6 kB / 466.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.5742, allocations: 0.5096 MB / 467.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.5751, allocations: 419.1 kB / 467.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.821e-06/0.5751, allocations: 4 kB / 467.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002805/0.5779, allocations: 1.243 MB / 468.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5779, allocations: 8 kB / 468.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.578, allocations: 7.984 kB / 468.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.5795, allocations: 476.7 kB / 469.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.5801, allocations: 87.83 kB / 469.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009547/0.5896, allocations: 5.094 MB / 474.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.5905, allocations: 91.39 kB / 474.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/0.5906, allocations: 28 kB / 474.5 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.5909, allocations: 149.8 kB / 474.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.5911, allocations: 90.95 kB / 474.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.5915, allocations: 116.6 kB / 474.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5915, allocations: 8 kB / 474.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-06/0.5915, allocations: 0 / 474.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.5915, allocations: 3.984 kB / 474.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.5973, allocations: 2.586 MB / 477.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-06/0.5973, allocations: 4 kB / 477.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.5978, allocations: 67.91 kB / 477.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.5993, allocations: 444.5 kB / 478 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.5994, allocations: 19.98 kB / 478 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00945/0.6089, allocations: 5.071 MB / 483.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6089, allocations: 0 / 483.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.6128, allocations: 1.849 MB / 484.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.6136, allocations: 275.9 kB / 485.2 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.6138, allocations: 15.98 kB / 485.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.6144, allocations: 51.95 kB / 485.3 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.6147, allocations: 72.67 kB / 485.3 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.6148, allocations: 23.98 kB / 485.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.6159, allocations: 0.5772 MB / 485.9 MB, free: 296 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.757e-06/0.616, allocations: 0 / 485.9 MB, free: 296 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001654/0.6176, allocations: 347 kB / 486.3 MB, free: 15.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/0.618, allocations: 146.9 kB / 486.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.6208, allocations: 1.194 MB / 487.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.975e-06/0.6208, allocations: 0 / 487.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.6225, allocations: 0.7786 MB / 488.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.6241, allocations: 247 kB / 488.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.6287, allocations: 1.794 MB / 490.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.6303, allocations: 1.345 MB / 491.8 MB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000659/0.6309, allocations: 143.2 kB / 491.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.6312, allocations: 55.44 kB / 492 MB, free: 10.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.787e-06/0.6312, allocations: 0 / 492 MB, free: 10.18 MB / 378.7 MB Notification: Performance of Templates: time 0.04486/0.676, allocations: 17.64 MB / 0.4977 GB, free: 8.805 MB / 394.7 MB