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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.633e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08842, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/0.4292, allocations: 83.94 MB / 400.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4296, allocations: 93.31 kB / 401 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0806/0.5102, allocations: 21.11 MB / 422.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.892e-06/0.5102, allocations: 0 / 422.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.668e-05/0.5103, allocations: 24 kB / 422.1 MB, free: 2.332 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003093/0.5134, allocations: 1.367 MB / 423.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5135, allocations: 16.03 kB / 423.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.5139, allocations: 154.2 kB / 423.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.5159, allocations: 0.9465 MB / 424.6 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.516, allocations: 76.7 kB / 424.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.5163, allocations: 112.1 kB / 424.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.5192, allocations: 1.463 MB / 426.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.5193, allocations: 3.812 kB / 426.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.5194, allocations: 47.12 kB / 426.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.121e-05/0.5195, allocations: 46.02 kB / 426.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.5222, allocations: 1.27 MB / 427.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009106/0.5313, allocations: 4.971 MB / 432.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.5334, allocations: 1.41 MB / 434 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.5348, allocations: 0.6977 MB / 434.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.5348, allocations: 12.48 kB / 434.7 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.536, allocations: 0.5741 MB / 435.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 6.79e-06/0.536, allocations: 0 / 435.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.002627/0.5387, allocations: 1.182 MB / 436.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.5388, allocations: 89.89 kB / 436.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.5403, allocations: 0.8263 MB / 437.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.5404, allocations: 44.62 kB / 437.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/0.541, allocations: 0.5146 MB / 437.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.5413, allocations: 236.6 kB / 438.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.5414, allocations: 16 kB / 438.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5415, allocations: 326 kB / 438.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.5423, allocations: 385.4 kB / 438.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.5433, allocations: 0.5011 MB / 439.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.5442, allocations: 419 kB / 439.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.808e-06/0.5442, allocations: 4 kB / 439.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002631/0.5468, allocations: 1.195 MB / 441 MB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5469, allocations: 4 kB / 441 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5469, allocations: 4 kB / 441 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.5482, allocations: 395.1 kB / 441.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.5489, allocations: 115.9 kB / 441.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.5562, allocations: 4.127 MB / 445.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.557, allocations: 83.55 kB / 445.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/0.5571, allocations: 24 kB / 445.7 MB, free: 13.96 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0002674/0.5574, allocations: 154.5 kB / 445.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.5576, allocations: 94.88 kB / 446 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.558, allocations: 116.5 kB / 446.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.558, allocations: 7.984 kB / 446.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.914e-06/0.558, allocations: 4 kB / 446.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.558, allocations: 7.953 kB / 446.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.5633, allocations: 2.53 MB / 448.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5633, allocations: 3.938 kB / 448.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.564, allocations: 91.88 kB / 448.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.5652, allocations: 380.6 kB / 449.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.5653, allocations: 12 kB / 449.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/0.5724, allocations: 4.088 MB / 453.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.342e-06/0.5724, allocations: 7.938 kB / 453.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.5761, allocations: 1.849 MB / 455 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.5768, allocations: 287.8 kB / 455.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.577, allocations: 15.95 kB / 455.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.5776, allocations: 47.94 kB / 455.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.5778, allocations: 76.77 kB / 455.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.5779, allocations: 23.98 kB / 455.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001224/0.5792, allocations: 0.6553 MB / 456.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.5792, allocations: 0 / 456.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001294/0.5805, allocations: 350.9 kB / 456.5 MB, free: 2.941 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0002591/0.5808, allocations: 142.9 kB / 456.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.5832, allocations: 1.169 MB / 457.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.72e-06/0.5833, allocations: 0 / 457.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.5848, allocations: 0.7459 MB / 458.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.586, allocations: 227.8 kB / 458.8 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.5915, allocations: 2.084 MB / 460.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.593, allocations: 1.407 MB / 462.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006933/0.5937, allocations: 171.2 kB / 462.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.594, allocations: 55.42 kB / 462.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.947e-06/0.594, allocations: 0 / 462.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of Templates: time 0.04045/0.6345, allocations: 16.37 MB / 478.8 MB, free: 12.56 MB / 394.7 MB