Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.732e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07698, allocations: 44.5 MB / 299.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3806/0.4576, allocations: 76.19 MB / 376.1 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4579, allocations: 90.89 kB / 376.2 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.4842, allocations: 6.987 MB / 383.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.801e-06/0.4843, allocations: 2.719 kB / 383.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.509e-05/0.4843, allocations: 12.47 kB / 383.2 MB, free: 21.45 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001163/0.4855, allocations: 0.6466 MB / 383.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4855, allocations: 9.625 kB / 383.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.4857, allocations: 54.89 kB / 383.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.4863, allocations: 355.4 kB / 384.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.4863, allocations: 35.69 kB / 384.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.119e-05/0.4864, allocations: 47.34 kB / 384.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.4873, allocations: 428.4 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4874, allocations: 2.25 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.4874, allocations: 14.97 kB / 384.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4875, allocations: 13.97 kB / 384.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.4882, allocations: 293 kB / 385.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.491, allocations: 1.852 MB / 386.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.492, allocations: 0.5919 MB / 387.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.4926, allocations: 278.5 kB / 387.8 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.4927, allocations: 12.48 kB / 387.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/0.4932, allocations: 257.2 kB / 388 MB, free: 19.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.593e-06/0.4933, allocations: 0 / 388 MB, free: 19.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001107/0.4944, allocations: 448.3 kB / 388.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4944, allocations: 84.92 kB / 388.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.4948, allocations: 278.3 kB / 388.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.4949, allocations: 36.48 kB / 388.9 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.495, allocations: 207.9 kB / 389.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.4951, allocations: 140.2 kB / 389.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.4951, allocations: 7.25 kB / 389.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.4952, allocations: 343.1 kB / 389.5 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.4955, allocations: 112.4 kB / 389.7 MB, free: 18.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.4958, allocations: 232.5 kB / 389.9 MB, free: 18.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.4961, allocations: 145.6 kB / 390 MB, free: 18.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-06/0.4961, allocations: 0 / 390 MB, free: 18.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001064/0.4972, allocations: 474.4 kB / 390.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4973, allocations: 13 kB / 390.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4973, allocations: 3.281 kB / 390.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.4979, allocations: 148.2 kB / 390.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4982, allocations: 60.84 kB / 390.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.5011, allocations: 2.298 MB / 393 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.5015, allocations: 53.42 kB / 393.1 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.5016, allocations: 11.81 kB / 393.1 MB, free: 16.64 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.5017, allocations: 141.4 kB / 393.2 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.5018, allocations: 39.3 kB / 393.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.5019, allocations: 53.45 kB / 393.3 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5019, allocations: 3.906 kB / 393.3 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.502, allocations: 3.938 kB / 393.3 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-06/0.502, allocations: 3.953 kB / 393.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.5036, allocations: 0.9969 MB / 394.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-06/0.5037, allocations: 3.938 kB / 394.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.5039, allocations: 38.17 kB / 394.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.5044, allocations: 140.7 kB / 394.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.5045, allocations: 11.47 kB / 394.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.5076, allocations: 2.301 MB / 396.8 MB, free: 30.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-06/0.5077, allocations: 0 / 396.8 MB, free: 30.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.509, allocations: 0.694 MB / 397.5 MB, free: 30.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5092, allocations: 144.4 kB / 397.6 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.5093, allocations: 15.36 kB / 397.6 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.5096, allocations: 15.08 kB / 397.7 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5098, allocations: 47.69 kB / 397.7 MB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.5098, allocations: 10.78 kB / 397.7 MB, free: 30.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002874/0.5101, allocations: 215.8 kB / 397.9 MB, free: 30.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.5101, allocations: 0 / 397.9 MB, free: 30.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007666/0.5109, allocations: 147.4 kB / 398.1 MB, free: 30.29 MB / 330.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.5111, allocations: 117.2 kB / 398.2 MB, free: 30.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009865/0.5121, allocations: 0.4947 MB / 398.7 MB, free: 30.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.554e-06/0.5121, allocations: 0 / 398.7 MB, free: 30.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.5127, allocations: 356.7 kB / 399 MB, free: 29.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.5133, allocations: 69.91 kB / 399.1 MB, free: 29.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.5153, allocations: 0.6016 MB / 399.7 MB, free: 29.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.516, allocations: 0.8333 MB / 400.5 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.5162, allocations: 39.92 kB / 400.6 MB, free: 28.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.5163, allocations: 24.98 kB / 400.6 MB, free: 28.96 MB / 330.7 MB Notification: Performance of SimCode: time 2.539e-06/0.5163, allocations: 3.906 kB / 400.6 MB, free: 28.96 MB / 330.7 MB Notification: Performance of Templates: time 0.01449/0.5308, allocations: 6.143 MB / 406.7 MB, free: 28.49 MB / 330.7 MB