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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.83e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07782/0.07787, allocations: 44.51 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.4037, allocations: 78.56 MB / 378.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.404, allocations: 88.7 kB / 378.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07297/0.477, allocations: 20.98 MB / 399.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.697e-06/0.4771, allocations: 4 kB / 399.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.146e-05/0.4772, allocations: 31.38 kB / 399.6 MB, free: 19.06 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.002643/0.4798, allocations: 1.367 MB / 400.9 MB, free: 18.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4799, allocations: 11.72 kB / 400.9 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.4802, allocations: 156.6 kB / 401.1 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4821, allocations: 0.9405 MB / 402 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.4822, allocations: 83.72 kB / 402.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.4824, allocations: 97.34 kB / 402.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.4853, allocations: 1.467 MB / 403.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.4853, allocations: 0 / 403.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.4855, allocations: 43.41 kB / 403.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.4856, allocations: 52.86 kB / 403.8 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.4881, allocations: 1.272 MB / 405 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008195/0.4963, allocations: 4.979 MB / 410 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.4981, allocations: 1.398 MB / 411.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.4994, allocations: 0.6888 MB / 412.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/0.4995, allocations: 12.36 kB / 412.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009778/0.5005, allocations: 0.5749 MB / 412.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 5.209e-06/0.5005, allocations: 0 / 412.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002528/0.503, allocations: 1.186 MB / 413.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5031, allocations: 89.7 kB / 414 MB, free: 13.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5045, allocations: 0.8237 MB / 414.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.5046, allocations: 40.61 kB / 414.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.505, allocations: 0.5212 MB / 415.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5053, allocations: 228.7 kB / 415.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.5053, allocations: 14.88 kB / 415.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.5054, allocations: 333.1 kB / 415.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.5061, allocations: 375.2 kB / 416.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.5069, allocations: 0.5068 MB / 416.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.5077, allocations: 419.7 kB / 417.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5077, allocations: 0 / 417.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002419/0.5101, allocations: 1.199 MB / 418.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5102, allocations: 11.81 kB / 418.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5102, allocations: 7.844 kB / 418.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.5114, allocations: 384.9 kB / 418.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.5121, allocations: 117.7 kB / 418.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.5183, allocations: 4.121 MB / 423 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.5192, allocations: 84.77 kB / 423.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.5193, allocations: 28.28 kB / 423.1 MB, free: 9.609 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.0002274/0.5196, allocations: 153.5 kB / 423.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5198, allocations: 97.73 kB / 423.4 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.5201, allocations: 119.1 kB / 423.5 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.224e-06/0.5201, allocations: 7.812 kB / 423.5 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-06/0.5201, allocations: 0 / 423.5 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.5201, allocations: 3.984 kB / 423.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.5247, allocations: 2.541 MB / 426.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.578e-06/0.5247, allocations: 0 / 426.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.5253, allocations: 90.28 kB / 426.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.5265, allocations: 380 kB / 426.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.5266, allocations: 16.09 kB / 426.5 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006169/0.5328, allocations: 4.09 MB / 430.6 MB, free: 20.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.934e-06/0.5328, allocations: 0 / 430.6 MB, free: 20.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.5361, allocations: 1.858 MB / 432.5 MB, free: 19.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.5367, allocations: 288.4 kB / 432.8 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.5369, allocations: 11.81 kB / 432.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.5376, allocations: 45.7 kB / 432.8 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.5378, allocations: 75.28 kB / 432.9 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.5379, allocations: 23.42 kB / 432.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.5391, allocations: 0.6594 MB / 433.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.5391, allocations: 0 / 433.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001224/0.5403, allocations: 343.5 kB / 433.9 MB, free: 19.01 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.0002349/0.5406, allocations: 129.7 kB / 434 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.5428, allocations: 1.175 MB / 435.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.433e-06/0.5428, allocations: 0.875 kB / 435.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5441, allocations: 0.7546 MB / 436 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5454, allocations: 236.9 kB / 436.2 MB, free: 17.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.5503, allocations: 2.083 MB / 438.3 MB, free: 16.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.5515, allocations: 1.404 MB / 439.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007306/0.5523, allocations: 168.8 kB / 439.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.5525, allocations: 56.88 kB / 439.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5526, allocations: 0 / 439.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.04086/0.5934, allocations: 16.36 MB / 456.3 MB, free: 15.15 MB / 346.7 MB