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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 2.054/2.054, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.58e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 50.42 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4679, allocations: 85.28 MB / 427.9 MB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4681, allocations: 88.88 kB / 427.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08014/0.5483, allocations: 21.58 MB / 449.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.5483, allocations: 0 / 449.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.874e-05/0.5485, allocations: 35.94 kB / 449.6 MB, free: 6.641 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.003233/0.5517, allocations: 1.38 MB / 450.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5518, allocations: 8.031 kB / 450.9 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.5522, allocations: 154.2 kB / 451.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.5543, allocations: 0.9426 MB / 452 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.5544, allocations: 76.94 kB / 452.1 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.5546, allocations: 105.3 kB / 452.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.5577, allocations: 1.472 MB / 453.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.5578, allocations: 0 / 453.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.558, allocations: 52.5 kB / 453.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/0.5581, allocations: 42.05 kB / 453.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.5609, allocations: 1.268 MB / 455 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009986/0.571, allocations: 4.988 MB / 460 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.5732, allocations: 1.41 MB / 461.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.5747, allocations: 0.6961 MB / 462.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.5748, allocations: 8.562 kB / 462.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.576, allocations: 0.5697 MB / 462.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 4.065e-06/0.576, allocations: 3.938 kB / 462.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002851/0.5789, allocations: 1.18 MB / 463.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.579, allocations: 89.89 kB / 464 MB, free: 8.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.5807, allocations: 0.8283 MB / 464.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5808, allocations: 45.69 kB / 464.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/0.5814, allocations: 0.5191 MB / 465.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.5818, allocations: 228.7 kB / 465.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.5818, allocations: 12 kB / 465.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.582, allocations: 337.9 kB / 466 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008104/0.5829, allocations: 381.4 kB / 466.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.5838, allocations: 0.5011 MB / 466.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.5847, allocations: 411 kB / 467.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.6e-06/0.5847, allocations: 4 kB / 467.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002741/0.5875, allocations: 1.202 MB / 468.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5875, allocations: 11.95 kB / 468.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5876, allocations: 8 kB / 468.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5888, allocations: 399.2 kB / 468.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.5895, allocations: 111.8 kB / 469 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.597, allocations: 4.122 MB / 473.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/0.5979, allocations: 87.48 kB / 473.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.598, allocations: 24 kB / 473.2 MB, free: 15.31 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.0002701/0.5983, allocations: 154.5 kB / 473.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.5985, allocations: 94.88 kB / 473.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.5988, allocations: 116.5 kB / 473.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5988, allocations: 8 kB / 473.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-06/0.5989, allocations: 0 / 473.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.5989, allocations: 3.984 kB / 473.5 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.6043, allocations: 2.545 MB / 476.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.6043, allocations: 4 kB / 476.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.6049, allocations: 95.77 kB / 476.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.6061, allocations: 383.9 kB / 476.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.6062, allocations: 16 kB / 476.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007128/0.6134, allocations: 4.083 MB / 480.7 MB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.798e-06/0.6134, allocations: 0 / 480.7 MB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.6172, allocations: 1.849 MB / 482.5 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/0.6179, allocations: 287.8 kB / 482.8 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.6181, allocations: 16 kB / 482.8 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.6187, allocations: 44.05 kB / 482.9 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.619, allocations: 92.53 kB / 482.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.6191, allocations: 23.98 kB / 483 MB, free: 5.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001285/0.6204, allocations: 0.6553 MB / 483.6 MB, free: 4.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.6204, allocations: 0 / 483.6 MB, free: 4.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001315/0.6218, allocations: 342.9 kB / 484 MB, free: 4.289 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.0002776/0.622, allocations: 144 kB / 484.1 MB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.6246, allocations: 1.173 MB / 485.3 MB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.81e-06/0.6246, allocations: 4.125 kB / 485.3 MB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.6262, allocations: 0.7419 MB / 486 MB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.6275, allocations: 231.7 kB / 486.2 MB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.6322, allocations: 1.911 MB / 488.2 MB, free: 28 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.6338, allocations: 1.407 MB / 489.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007458/0.6345, allocations: 171.2 kB / 489.7 MB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.6348, allocations: 55.44 kB / 489.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.63e-06/0.6348, allocations: 3.938 kB / 489.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of Templates: time 0.04129/0.6761, allocations: 16.35 MB / 0.4943 GB, free: 14.23 MB / 426.7 MB