Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.461e-05, allocations: 6.188 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.0804, allocations: 44.5 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3349/0.4154, allocations: 75.21 MB / 375.1 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4157, allocations: 87.25 kB / 375.1 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02406/0.4398, allocations: 6.113 MB / 381.3 MB, free: 21.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.851e-06/0.4398, allocations: 0 / 381.3 MB, free: 21.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.4399, allocations: 7.812 kB / 381.3 MB, free: 21.67 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001005/0.4409, allocations: 0.6052 MB / 381.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4409, allocations: 12.19 kB / 381.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.4411, allocations: 54.05 kB / 381.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.4417, allocations: 324.6 kB / 382.3 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.4417, allocations: 31.8 kB / 382.3 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.4418, allocations: 39.38 kB / 382.3 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.4426, allocations: 360.2 kB / 382.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4427, allocations: 5.688 kB / 382.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.4427, allocations: 16.98 kB / 382.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4428, allocations: 11.67 kB / 382.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.4433, allocations: 226.5 kB / 382.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.446, allocations: 1.495 MB / 384.4 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.4465, allocations: 219.5 kB / 384.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.4469, allocations: 149.8 kB / 384.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.447, allocations: 12.3 kB / 384.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.4474, allocations: 212.3 kB / 385 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.725e-06/0.4474, allocations: 1.375 kB / 385 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009109/0.4483, allocations: 323.5 kB / 385.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4484, allocations: 108 kB / 385.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.4488, allocations: 261.7 kB / 385.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4489, allocations: 36.08 kB / 385.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.449, allocations: 262 kB / 386 MB, free: 19.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.4491, allocations: 96.23 kB / 386.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.4491, allocations: 4.812 kB / 386.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.4492, allocations: 335.9 kB / 386.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.4494, allocations: 78.92 kB / 386.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.4497, allocations: 196.6 kB / 386.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.4499, allocations: 106.3 kB / 386.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.45, allocations: 1.406 kB / 386.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008226/0.4508, allocations: 361.9 kB / 387.1 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4508, allocations: 6.688 kB / 387.1 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4509, allocations: 4 kB / 387.1 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.4512, allocations: 84.59 kB / 387.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.4516, allocations: 56.5 kB / 387.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.4536, allocations: 1.796 MB / 389.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.454, allocations: 43.98 kB / 389.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.454, allocations: 15.25 kB / 389.1 MB, free: 17.39 MB / 314.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.4542, allocations: 132.8 kB / 389.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.4543, allocations: 31.25 kB / 389.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4544, allocations: 40.84 kB / 389.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-06/0.4544, allocations: 7.938 kB / 389.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-06/0.4544, allocations: 1.641 kB / 389.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.781e-06/0.4544, allocations: 3.562 kB / 389.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.4552, allocations: 0.5688 MB / 389.9 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-06/0.4552, allocations: 3.953 kB / 389.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4555, allocations: 31.39 kB / 389.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.4558, allocations: 79.12 kB / 390 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.4558, allocations: 7.062 kB / 390 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.4577, allocations: 1.783 MB / 391.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-06/0.4577, allocations: 3.938 kB / 391.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4588, allocations: 487.5 kB / 392.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.4591, allocations: 133.8 kB / 392.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.4591, allocations: 15.72 kB / 392.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4594, allocations: 15.31 kB / 392.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4595, allocations: 29.56 kB / 392.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.4596, allocations: 14.92 kB / 392.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.4598, allocations: 208.6 kB / 392.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4598, allocations: 0 / 392.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006856/0.4605, allocations: 112.7 kB / 392.8 MB, free: 15.17 MB / 314.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.4607, allocations: 129.5 kB / 392.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4619, allocations: 379.9 kB / 393.3 MB, free: 30.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.318e-06/0.4619, allocations: 7.375 kB / 393.3 MB, free: 30.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.4624, allocations: 271.5 kB / 393.6 MB, free: 30.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.4628, allocations: 49.53 kB / 393.6 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.464, allocations: 0.5195 MB / 394.2 MB, free: 30.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.4645, allocations: 0.8111 MB / 395 MB, free: 29.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.4647, allocations: 33.75 kB / 395 MB, free: 29.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.175e-06/0.4647, allocations: 0 / 395 MB, free: 29.84 MB / 330.7 MB Notification: Performance of Templates: time 0.009059/0.4737, allocations: 5.663 MB / 400.7 MB, free: 29.52 MB / 330.7 MB