Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.524e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08828, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4527, allocations: 85.27 MB / 428.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.453, allocations: 93.56 kB / 428.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08116/0.5342, allocations: 21.58 MB / 450 MB, free: 6.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.5342, allocations: 0 / 450 MB, free: 6.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.5343, allocations: 39.92 kB / 450.1 MB, free: 6.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003153/0.5375, allocations: 1.382 MB / 451.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5376, allocations: 8.031 kB / 451.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.5379, allocations: 154.2 kB / 451.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.54, allocations: 0.9458 MB / 452.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.5401, allocations: 85.94 kB / 452.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.5404, allocations: 102.8 kB / 452.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.5434, allocations: 1.462 MB / 454.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.5435, allocations: 3.984 kB / 454.2 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.5436, allocations: 52.5 kB / 454.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/0.5437, allocations: 45.92 kB / 454.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.5466, allocations: 1.267 MB / 455.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.5568, allocations: 4.996 MB / 460.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.559, allocations: 1.41 MB / 462 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.5605, allocations: 0.6884 MB / 462.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.5606, allocations: 8.562 kB / 462.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.5618, allocations: 0.5697 MB / 463.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 8.602e-06/0.5618, allocations: 0 / 463.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002849/0.5647, allocations: 1.191 MB / 464.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.5648, allocations: 85.89 kB / 464.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.5664, allocations: 0.8322 MB / 465.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-05/0.5665, allocations: 41.7 kB / 465.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/0.5672, allocations: 0.5191 MB / 465.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.5675, allocations: 228.6 kB / 466.1 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.5676, allocations: 16 kB / 466.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5678, allocations: 337.9 kB / 466.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.5686, allocations: 381.3 kB / 466.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.5695, allocations: 0.4973 MB / 467.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.5704, allocations: 415 kB / 467.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.562e-06/0.5705, allocations: 4 kB / 467.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002777/0.5733, allocations: 1.194 MB / 469 MB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5733, allocations: 11.95 kB / 469 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5733, allocations: 4 kB / 469 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.5746, allocations: 392 kB / 469.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.5754, allocations: 115.8 kB / 469.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.5827, allocations: 4.12 MB / 473.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.5836, allocations: 87.61 kB / 473.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.5837, allocations: 32 kB / 473.7 MB, free: 15.29 MB / 394.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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.584, allocations: 150.5 kB / 473.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5842, allocations: 90.88 kB / 473.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.5846, allocations: 120.5 kB / 474.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5846, allocations: 8 kB / 474.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5846, allocations: 0 / 474.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5846, allocations: 7.922 kB / 474.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.59, allocations: 2.541 MB / 476.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.448e-06/0.5901, allocations: 7.938 kB / 476.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.5907, allocations: 91.83 kB / 476.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.5919, allocations: 388.6 kB / 477.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.592, allocations: 12 kB / 477.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/0.5992, allocations: 4.081 MB / 481.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-06/0.5993, allocations: 7.938 kB / 481.2 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.6031, allocations: 1.849 MB / 483 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.6039, allocations: 287.8 kB / 483.3 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.6041, allocations: 12 kB / 483.3 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.6047, allocations: 55.89 kB / 483.4 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.605, allocations: 76.61 kB / 483.5 MB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.6051, allocations: 27.98 kB / 483.5 MB, free: 5.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001285/0.6064, allocations: 0.6514 MB / 484.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.6064, allocations: 0 / 484.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001373/0.6078, allocations: 346.9 kB / 484.5 MB, free: 4.273 MB / 394.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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002838/0.6081, allocations: 147.2 kB / 484.6 MB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.6107, allocations: 1.172 MB / 485.8 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.112e-06/0.6107, allocations: 0 / 485.8 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.6123, allocations: 0.7467 MB / 486.5 MB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.6137, allocations: 227.2 kB / 486.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.6188, allocations: 1.907 MB / 488.7 MB, free: 16 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.6204, allocations: 1.411 MB / 490.1 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007745/0.6212, allocations: 171.2 kB / 490.3 MB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.6215, allocations: 55.42 kB / 490.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.715e-06/0.6215, allocations: 0 / 490.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of Templates: time 0.04228/0.6638, allocations: 16.35 MB / 0.4948 GB, free: 14.21 MB / 426.7 MB