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.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.314e-05, allocations: 11.94 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4065, allocations: 77.32 MB / 371.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4068, allocations: 95.77 kB / 371.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0519/0.4587, allocations: 13.23 MB / 384.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.4588, allocations: 0 / 384.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.917e-05/0.4589, allocations: 20 kB / 384.8 MB, free: 7.23 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.001962/0.4608, allocations: 0.9255 MB / 385.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4609, allocations: 12.03 kB / 385.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.4611, allocations: 86.97 kB / 385.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4625, allocations: 0.6169 MB / 386.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.4625, allocations: 20 kB / 386.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4627, allocations: 40 kB / 386.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/0.4642, allocations: 0.6819 MB / 387.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.466, allocations: 0.7891 MB / 388 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.466, allocations: 3.938 kB / 388 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.4661, allocations: 0 / 388 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/0.4662, allocations: 37.3 kB / 388 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005565/0.4718, allocations: 2.69 MB / 390.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4729, allocations: 0.6944 MB / 391.4 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.4736, allocations: 317.2 kB / 391.7 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.4736, allocations: 8.312 kB / 391.7 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.4744, allocations: 350 kB / 392 MB, free: 15.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.663e-06/0.4744, allocations: 0 / 392 MB, free: 15.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001481/0.4759, allocations: 0.6102 MB / 392.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.476, allocations: 114.8 kB / 392.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.4768, allocations: 473.1 kB / 393.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.4769, allocations: 25.7 kB / 393.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.4773, allocations: 382.4 kB / 393.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.4775, allocations: 134 kB / 393.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.4775, allocations: 0 / 393.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4777, allocations: 326.8 kB / 394.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.4782, allocations: 201 kB / 394.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.4787, allocations: 319.8 kB / 394.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.4792, allocations: 219.7 kB / 394.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-06/0.4792, allocations: 0 / 394.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00146/0.4806, allocations: 0.6269 MB / 395.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4807, allocations: 6.031 kB / 395.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4807, allocations: 4 kB / 395.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007307/0.4815, allocations: 201.8 kB / 395.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.4819, allocations: 83.81 kB / 395.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.4862, allocations: 2.68 MB / 398.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.4867, allocations: 47.84 kB / 398.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.4868, allocations: 16 kB / 398.5 MB, free: 9.016 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.0002026/0.487, allocations: 129 kB / 398.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4871, allocations: 55.34 kB / 398.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.4873, allocations: 57.3 kB / 398.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4874, allocations: 7.953 kB / 398.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.218e-06/0.4874, allocations: 8 kB / 398.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4874, allocations: 3.984 kB / 398.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.4908, allocations: 1.597 MB / 400.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.036e-06/0.4908, allocations: 0 / 400.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.4912, allocations: 55.84 kB / 400.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.4918, allocations: 192.7 kB / 400.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.4919, allocations: 4.016 kB / 400.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.4958, allocations: 2.56 MB / 403.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.836e-06/0.4958, allocations: 3.953 kB / 403.1 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.498, allocations: 1.038 MB / 404.2 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.4984, allocations: 188.4 kB / 404.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4985, allocations: 7.984 kB / 404.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.4989, allocations: 27.94 kB / 404.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.4991, allocations: 47.86 kB / 404.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.4992, allocations: 15.94 kB / 404.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006514/0.4998, allocations: 370.9 kB / 404.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.4998, allocations: 0 / 404.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009778/0.5008, allocations: 195.3 kB / 405 MB, free: 2.254 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.0002175/0.5011, allocations: 115.2 kB / 405.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.5025, allocations: 0.6454 MB / 405.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.412e-06/0.5025, allocations: 0 / 405.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.5033, allocations: 438.2 kB / 406.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.5041, allocations: 126.4 kB / 406.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.5068, allocations: 1.074 MB / 407.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/0.5078, allocations: 1.066 MB / 408.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.508, allocations: 47.36 kB / 408.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.843e-06/0.508, allocations: 4 kB / 408.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Templates: time 0.02111/0.5291, allocations: 12.02 MB / 420.5 MB, free: 2.648 MB / 362.7 MB