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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.574e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08217, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4202, allocations: 83.24 MB / 400.2 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4205, allocations: 84.64 kB / 400.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05234/0.4729, allocations: 13.48 MB / 413.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.841e-06/0.4729, allocations: 0 / 413.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.026e-05/0.473, allocations: 16 kB / 413.8 MB, free: 9.449 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001999/0.475, allocations: 0.9333 MB / 414.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4751, allocations: 8.031 kB / 414.7 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.4753, allocations: 94.95 kB / 414.8 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.4766, allocations: 0.6127 MB / 415.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.4767, allocations: 45.31 kB / 415.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.4768, allocations: 62.5 kB / 415.5 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4786, allocations: 0.8713 MB / 416.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.4787, allocations: 7.938 kB / 416.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/0.4788, allocations: 25.44 kB / 416.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.4789, allocations: 41.19 kB / 416.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.4804, allocations: 0.6983 MB / 417.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.4857, allocations: 2.819 MB / 420 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4868, allocations: 0.7109 MB / 420.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.4875, allocations: 330.4 kB / 421 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.4876, allocations: 12.31 kB / 421 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.4883, allocations: 361.7 kB / 421.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.836e-06/0.4883, allocations: 4 kB / 421.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001482/0.4898, allocations: 0.6269 MB / 422 MB, free: 2.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.4899, allocations: 114.1 kB / 422.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.4909, allocations: 0.5071 MB / 422.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.4909, allocations: 36.27 kB / 422.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.4913, allocations: 348.4 kB / 423 MB, free: 2.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4914, allocations: 138.9 kB / 423.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.4915, allocations: 6.562 kB / 423.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.4917, allocations: 363.5 kB / 423.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.4921, allocations: 197.8 kB / 423.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.4927, allocations: 333.4 kB / 424 MB, free: 1.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.4932, allocations: 232.7 kB / 424.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.961e-06/0.4932, allocations: 4 kB / 424.3 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00154/0.4948, allocations: 0.6943 MB / 424.9 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4948, allocations: 8 kB / 425 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4948, allocations: 4 kB / 425 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.4955, allocations: 204.2 kB / 425.2 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.4959, allocations: 71.89 kB / 425.2 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.5003, allocations: 2.784 MB / 428 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.5008, allocations: 61.17 kB / 428.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.5009, allocations: 19.38 kB / 428.1 MB, free: 13.84 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (42): * Single equations (assignments): 41 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.5011, allocations: 133.4 kB / 428.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5012, allocations: 54.5 kB / 428.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.5014, allocations: 67.38 kB / 428.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5014, allocations: 11.94 kB / 428.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.03e-06/0.5015, allocations: 0 / 428.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5015, allocations: 4 kB / 428.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.5049, allocations: 1.729 MB / 430.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5049, allocations: 0 / 430.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.5053, allocations: 47.91 kB / 430.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006034/0.5059, allocations: 191.9 kB / 430.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.506, allocations: 14.5 kB / 430.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.5099, allocations: 2.652 MB / 433 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.539e-06/0.5099, allocations: 0 / 433 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5121, allocations: 1.084 MB / 434.1 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.5125, allocations: 191.4 kB / 434.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5126, allocations: 14.58 kB / 434.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.513, allocations: 31.16 kB / 434.3 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5132, allocations: 42.5 kB / 434.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.5133, allocations: 17.92 kB / 434.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006784/0.514, allocations: 402.2 kB / 434.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.514, allocations: 3.938 kB / 434.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009584/0.5149, allocations: 214 kB / 435 MB, free: 8.242 MB / 346.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,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 (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.0002171/0.5152, allocations: 119.4 kB / 435.1 MB, free: 8.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.5166, allocations: 0.6724 MB / 435.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.568e-06/0.5166, allocations: 0 / 435.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008224/0.5174, allocations: 459.8 kB / 436.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.5182, allocations: 133 kB / 436.3 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.5207, allocations: 1.069 MB / 437.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009795/0.5217, allocations: 1.086 MB / 438.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.5221, allocations: 96.67 kB / 438.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.5223, allocations: 39.42 kB / 438.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of SimCode: time 1.639e-06/0.5223, allocations: 0 / 438.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of Templates: time 0.02349/0.5458, allocations: 9.051 MB / 447.7 MB, free: 11.96 MB / 362.7 MB