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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.072e-05, allocations: 4 kB / 292.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.0912, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4504, allocations: 82.24 MB / 424.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4507, allocations: 86.88 kB / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02835/0.4791, allocations: 7.246 MB / 432.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.4791, allocations: 4 kB / 432.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.4792, allocations: 11.98 kB / 432.2 MB, free: 5.695 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001273/0.4805, allocations: 0.642 MB / 432.8 MB, free: 5.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4805, allocations: 8.25 kB / 432.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.4807, allocations: 55.34 kB / 432.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.4813, allocations: 368.1 kB / 433.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.4814, allocations: 34.3 kB / 433.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.4815, allocations: 45.31 kB / 433.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.4824, allocations: 435.2 kB / 433.7 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4825, allocations: 3.938 kB / 433.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.4826, allocations: 22.2 kB / 433.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.4826, allocations: 12 kB / 433.8 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.4835, allocations: 295.5 kB / 434.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.4868, allocations: 1.863 MB / 435.9 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.4877, allocations: 0.5834 MB / 436.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.4886, allocations: 287.1 kB / 436.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.4887, allocations: 4.328 kB / 436.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/0.4892, allocations: 252.5 kB / 437 MB, free: 1.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/0.4892, allocations: 0 / 437 MB, free: 1.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001171/0.4904, allocations: 454.6 kB / 437.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.4905, allocations: 89.05 kB / 437.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.4909, allocations: 271.2 kB / 437.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.491, allocations: 36.64 kB / 437.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.4912, allocations: 214.5 kB / 438.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4914, allocations: 138.7 kB / 438.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.4914, allocations: 6.312 kB / 438.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4916, allocations: 347.5 kB / 438.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.4919, allocations: 107.6 kB / 438.7 MB, free: 172 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.4923, allocations: 235.7 kB / 438.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.4927, allocations: 135.7 kB / 439 MB, free: 15.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.992e-06/0.4927, allocations: 0 / 439 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001234/0.494, allocations: 494.2 kB / 439.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.494, allocations: 4 kB / 439.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.494, allocations: 4 kB / 439.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.4946, allocations: 147.5 kB / 439.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.4949, allocations: 67.53 kB / 439.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.4987, allocations: 2.301 MB / 442 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.4991, allocations: 42.78 kB / 442.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.4992, allocations: 19.5 kB / 442.1 MB, free: 13.25 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0002284/0.4994, allocations: 131.4 kB / 442.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4996, allocations: 43.48 kB / 442.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.4997, allocations: 49.52 kB / 442.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.916e-06/0.4998, allocations: 4 kB / 442.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-06/0.4998, allocations: 0 / 442.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.516e-06/0.4998, allocations: 3.984 kB / 442.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.5018, allocations: 1.005 MB / 443.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.015e-06/0.5018, allocations: 4.031 kB / 443.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.502, allocations: 43.7 kB / 443.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.5026, allocations: 134.5 kB / 443.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.5026, allocations: 18.92 kB / 443.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.5063, allocations: 2.291 MB / 445.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.075e-06/0.5063, allocations: 0 / 445.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.5078, allocations: 0.6986 MB / 446.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5081, allocations: 156.9 kB / 446.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.5082, allocations: 7.438 kB / 446.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.5085, allocations: 14.42 kB / 446.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5086, allocations: 35.08 kB / 446.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.5087, allocations: 12 kB / 446.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.509, allocations: 221.2 kB / 446.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.509, allocations: 3.938 kB / 446.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008098/0.5098, allocations: 143.6 kB / 447.1 MB, free: 9.082 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0002193/0.5101, allocations: 126.8 kB / 447.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.5112, allocations: 0.5003 MB / 447.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5112, allocations: 0 / 447.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.5118, allocations: 345.9 kB / 448.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.5124, allocations: 75.84 kB / 448.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5141, allocations: 0.6064 MB / 448.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.5147, allocations: 0.8399 MB / 449.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.5149, allocations: 35.31 kB / 449.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.515, allocations: 27.44 kB / 449.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.579e-06/0.515, allocations: 0 / 449.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01692/0.5319, allocations: 6.16 MB / 455.8 MB, free: 0.6836 MB / 362.7 MB