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.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.406e-05, allocations: 4 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07835/0.07841, allocations: 44.5 MB / 299.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.4205, allocations: 78.56 MB / 378.4 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4208, allocations: 89.17 kB / 378.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07586/0.4967, allocations: 20.97 MB / 399.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.473e-06/0.4968, allocations: 3.938 kB / 399.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001073/0.4969, allocations: 31.44 kB / 399.5 MB, free: 19.09 MB / 314.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.003348/0.5002, allocations: 1.372 MB / 400.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5003, allocations: 11.72 kB / 400.9 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005601/0.5009, allocations: 155.8 kB / 401.1 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.5031, allocations: 0.942 MB / 402 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/0.5032, allocations: 80.19 kB / 402.1 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.5035, allocations: 98.62 kB / 402.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.5065, allocations: 1.471 MB / 403.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.5065, allocations: 2.5 kB / 403.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.5067, allocations: 42.69 kB / 403.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.5068, allocations: 39.53 kB / 403.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.5093, allocations: 1.279 MB / 405 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008466/0.5178, allocations: 4.977 MB / 410 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.5196, allocations: 1.403 MB / 411.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.5209, allocations: 0.6896 MB / 412.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.521, allocations: 8.375 kB / 412.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009741/0.522, allocations: 0.5766 MB / 412.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.441e-06/0.522, allocations: 0 / 412.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002497/0.5245, allocations: 1.182 MB / 413.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.5246, allocations: 89.69 kB / 413.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.5261, allocations: 0.829 MB / 414.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.5262, allocations: 44.11 kB / 414.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.5267, allocations: 0.5209 MB / 415.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.5269, allocations: 232 kB / 415.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.527, allocations: 14.41 kB / 415.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.5271, allocations: 337.3 kB / 415.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.5278, allocations: 375.1 kB / 416.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.5285, allocations: 0.5055 MB / 416.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.5293, allocations: 413.7 kB / 417.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.155e-06/0.5293, allocations: 4 kB / 417.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002297/0.5316, allocations: 1.139 MB / 418.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.5316, allocations: 9.375 kB / 418.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5317, allocations: 8.281 kB / 418.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.5329, allocations: 398.8 kB / 418.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.5336, allocations: 112.1 kB / 418.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.5399, allocations: 4.118 MB / 423 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/0.5409, allocations: 86.67 kB / 423 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.541, allocations: 18.16 kB / 423.1 MB, free: 9.703 MB / 314.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.000233/0.5412, allocations: 156.9 kB / 423.2 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.5414, allocations: 93.84 kB / 423.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.5418, allocations: 122.6 kB / 423.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.921e-06/0.5418, allocations: 7.781 kB / 423.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5418, allocations: 3.938 kB / 423.4 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5418, allocations: 3.984 kB / 423.4 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.5467, allocations: 2.533 MB / 426 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.963e-06/0.5467, allocations: 7.922 kB / 426 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.5474, allocations: 89.84 kB / 426.1 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.5485, allocations: 380.4 kB / 426.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.5486, allocations: 15.91 kB / 426.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.5546, allocations: 4.086 MB / 430.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.593e-06/0.5546, allocations: 0 / 430.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.5579, allocations: 1.857 MB / 432.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/0.5586, allocations: 281.3 kB / 432.7 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.5588, allocations: 15.22 kB / 432.7 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.5595, allocations: 54.08 kB / 432.7 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.5598, allocations: 78.59 kB / 432.8 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.5599, allocations: 19.58 kB / 432.8 MB, free: 19.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.5611, allocations: 0.659 MB / 433.5 MB, free: 19.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.54e-07/0.5611, allocations: 4 kB / 433.5 MB, free: 19.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001311/0.5624, allocations: 347.9 kB / 433.8 MB, free: 19.15 MB / 330.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.0002536/0.5627, allocations: 125.9 kB / 434 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002822/0.5655, allocations: 1.174 MB / 435.1 MB, free: 18.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.702e-06/0.5656, allocations: 0 / 435.1 MB, free: 18.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.5669, allocations: 0.7522 MB / 435.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5685, allocations: 226.5 kB / 436.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.5739, allocations: 2.101 MB / 438.2 MB, free: 16.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.5752, allocations: 1.378 MB / 439.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.5756, allocations: 58.45 kB / 439.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.842e-06/0.5756, allocations: 0 / 439.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of Templates: time 0.03652/0.6121, allocations: 20.95 MB / 460.6 MB, free: 11.18 MB / 346.7 MB