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.93/1.93, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.121e-05, allocations: 3.984 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.07919, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4083, allocations: 78.56 MB / 378.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4087, allocations: 88.44 kB / 378.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07399/0.4827, allocations: 20.97 MB / 399.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.793e-06/0.4827, allocations: 0 / 399.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.4828, allocations: 31.31 kB / 399.5 MB, free: 19.13 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.003005/0.4859, allocations: 1.369 MB / 400.9 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4859, allocations: 11.72 kB / 400.9 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.4864, allocations: 159.7 kB / 401 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.4885, allocations: 0.9418 MB / 402 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.4886, allocations: 78.84 kB / 402.1 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.4888, allocations: 100.7 kB / 402.2 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.4918, allocations: 1.481 MB / 403.6 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.4919, allocations: 0 / 403.6 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.4921, allocations: 42.03 kB / 403.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.4922, allocations: 45.12 kB / 403.7 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.4949, allocations: 1.29 MB / 405 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009006/0.5039, allocations: 4.976 MB / 410 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5056, allocations: 1.409 MB / 411.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.5068, allocations: 0.6907 MB / 412.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.5069, allocations: 8.438 kB / 412.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.508, allocations: 0.5818 MB / 412.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.324e-06/0.508, allocations: 0 / 412.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002585/0.5106, allocations: 1.183 MB / 413.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5107, allocations: 89.69 kB / 414 MB, free: 13.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.5121, allocations: 0.8276 MB / 414.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.5123, allocations: 40.42 kB / 414.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.5127, allocations: 0.5231 MB / 415.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.513, allocations: 229 kB / 415.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.513, allocations: 11.06 kB / 415.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.5131, allocations: 337.6 kB / 415.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.5139, allocations: 380.2 kB / 416.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5147, allocations: 0.5152 MB / 416.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.5155, allocations: 419.7 kB / 417.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.497e-06/0.5155, allocations: 0 / 417.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002264/0.5178, allocations: 1.151 MB / 418.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5178, allocations: 11.75 kB / 418.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5179, allocations: 3.906 kB / 418.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.519, allocations: 389.2 kB / 418.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.5196, allocations: 119.9 kB / 418.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.5258, allocations: 4.113 MB / 423 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/0.5268, allocations: 88.2 kB / 423.1 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.5269, allocations: 25.66 kB / 423.1 MB, free: 9.746 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.0002342/0.5271, allocations: 156.4 kB / 423.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.5273, allocations: 89.94 kB / 423.3 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.5277, allocations: 123.4 kB / 423.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5277, allocations: 7.812 kB / 423.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.689e-06/0.5277, allocations: 0 / 423.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5277, allocations: 7.984 kB / 423.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.5324, allocations: 2.532 MB / 426 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.994e-06/0.5325, allocations: 0 / 426 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.5331, allocations: 89.83 kB / 426.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.5342, allocations: 384.1 kB / 426.5 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.5343, allocations: 19.89 kB / 426.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.5405, allocations: 4.074 MB / 430.6 MB, free: 21.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-06/0.5405, allocations: 0 / 430.6 MB, free: 21.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.5439, allocations: 1.861 MB / 432.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/0.5445, allocations: 284.8 kB / 432.7 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5447, allocations: 15.75 kB / 432.7 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.5453, allocations: 46.08 kB / 432.8 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.5456, allocations: 79.53 kB / 432.8 MB, free: 19.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.5457, allocations: 23.61 kB / 432.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.5469, allocations: 0.6557 MB / 433.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-07/0.5469, allocations: 0 / 433.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00135/0.5482, allocations: 346.6 kB / 433.9 MB, free: 19.22 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.0002633/0.5485, allocations: 127.1 kB / 434 MB, free: 19.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.5509, allocations: 1.206 MB / 435.2 MB, free: 18.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.26e-06/0.551, allocations: 4.062 kB / 435.2 MB, free: 18.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.5524, allocations: 0.764 MB / 435.9 MB, free: 17.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5539, allocations: 234.2 kB / 436.2 MB, free: 17.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.5593, allocations: 2.101 MB / 438.3 MB, free: 16.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.5606, allocations: 1.379 MB / 439.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.5609, allocations: 58.11 kB / 439.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.691e-06/0.5609, allocations: 0 / 439.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Templates: time 0.03892/0.5999, allocations: 21.07 MB / 460.8 MB, free: 10.98 MB / 346.7 MB