Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.049e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09706, allocations: 50.4 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4829, allocations: 84.57 MB / 427.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4832, allocations: 81.95 kB / 427.2 MB, free: 9.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05836/0.5415, allocations: 13.79 MB / 441 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.5416, allocations: 0 / 441 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.5417, allocations: 16 kB / 441 MB, free: 13.97 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002023/0.5437, allocations: 0.9497 MB / 442 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5438, allocations: 12.03 kB / 442 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.544, allocations: 86.97 kB / 442.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5453, allocations: 0.6105 MB / 442.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.5454, allocations: 51.98 kB / 442.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5455, allocations: 65 kB / 442.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.5473, allocations: 0.8765 MB / 443.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5474, allocations: 0 / 443.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.5475, allocations: 25.88 kB / 443.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.5475, allocations: 41.23 kB / 443.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5491, allocations: 0.7039 MB / 444.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.5544, allocations: 2.843 MB / 447.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5555, allocations: 0.7073 MB / 448 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.5562, allocations: 335.2 kB / 448.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.5563, allocations: 4.328 kB / 448.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007002/0.557, allocations: 354.2 kB / 448.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.507e-06/0.557, allocations: 0 / 448.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001543/0.5586, allocations: 0.6491 MB / 449.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.5587, allocations: 110.8 kB / 449.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.5596, allocations: 0.5012 MB / 449.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.5597, allocations: 36.45 kB / 450 MB, free: 6.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.56, allocations: 354.8 kB / 450.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5602, allocations: 138.6 kB / 450.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.5602, allocations: 12.56 kB / 450.5 MB, free: 6.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.5605, allocations: 359.6 kB / 450.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.5609, allocations: 202.6 kB / 451 MB, free: 5.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.5615, allocations: 327.8 kB / 451.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.562, allocations: 223.9 kB / 451.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.562, allocations: 0 / 451.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001543/0.5636, allocations: 0.7012 MB / 452.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5636, allocations: 4 kB / 452.2 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.5636, allocations: 8.406 kB / 452.3 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/0.5643, allocations: 200.7 kB / 452.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.5648, allocations: 71.89 kB / 452.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.569, allocations: 2.686 MB / 455.2 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.5695, allocations: 51.8 kB / 455.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.5696, allocations: 20 kB / 455.3 MB, free: 1.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.5698, allocations: 137.2 kB / 455.4 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5699, allocations: 63.33 kB / 455.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.5701, allocations: 69.06 kB / 455.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5702, allocations: 4 kB / 455.5 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-06/0.5702, allocations: 0 / 455.5 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.5702, allocations: 7.938 kB / 455.5 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.5734, allocations: 1.592 MB / 457.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.933e-06/0.5734, allocations: 0 / 457.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.5737, allocations: 51.91 kB / 457.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006168/0.5744, allocations: 192.7 kB / 457.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.5744, allocations: 16.02 kB / 457.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.5785, allocations: 2.643 MB / 460 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-06/0.5785, allocations: 4.031 kB / 460 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.5806, allocations: 1.049 MB / 461.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.5811, allocations: 192.4 kB / 461.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.5812, allocations: 15.94 kB / 461.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.5816, allocations: 23.98 kB / 461.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.5818, allocations: 47.92 kB / 461.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.5818, allocations: 16 kB / 461.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007107/0.5826, allocations: 409.5 kB / 461.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.5826, allocations: 0 / 461.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009504/0.5835, allocations: 199.4 kB / 462 MB, free: 10.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.5838, allocations: 137.8 kB / 462.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.5852, allocations: 0.6765 MB / 462.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.719e-06/0.5853, allocations: 4 kB / 462.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.5861, allocations: 434.3 kB / 463.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.5869, allocations: 138.2 kB / 463.3 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.5894, allocations: 1.074 MB / 464.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/0.5904, allocations: 1.086 MB / 465.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.5908, allocations: 96.67 kB / 465.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5909, allocations: 35.44 kB / 465.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of SimCode: time 1.481e-06/0.5909, allocations: 0 / 465.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of Templates: time 0.02302/0.614, allocations: 9.043 MB / 474.7 MB, free: 13.8 MB / 394.7 MB