Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.836e-05, allocations: 4 kB / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08638, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4811, allocations: 79.26 MB / 379.2 MB, free: 21.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4814, allocations: 84.19 kB / 379.2 MB, free: 21.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07159/0.553, allocations: 20.38 MB / 399.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.801e-06/0.553, allocations: 0 / 399.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.398e-05/0.5531, allocations: 27.28 kB / 399.7 MB, free: 18.87 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002483/0.5556, allocations: 1.282 MB / 400.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5557, allocations: 7.875 kB / 400.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.556, allocations: 140.6 kB / 401.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.5613, allocations: 1.681 MB / 402.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.5614, allocations: 75.22 kB / 402.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.5616, allocations: 92.44 kB / 402.9 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.5644, allocations: 1.375 MB / 404.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.5644, allocations: 3.719 kB / 404.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.5646, allocations: 42.48 kB / 404.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.5647, allocations: 44.66 kB / 404.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.5671, allocations: 1.163 MB / 405.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007507/0.5746, allocations: 4.333 MB / 409.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.5765, allocations: 1.939 MB / 411.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.5779, allocations: 0.7252 MB / 412.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.578, allocations: 8.688 kB / 412.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009879/0.579, allocations: 0.5777 MB / 413.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 4.224e-06/0.579, allocations: 0 / 413.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002548/0.5816, allocations: 1.218 MB / 414.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5816, allocations: 115.4 kB / 414.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.5829, allocations: 0.7286 MB / 415.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.321e-05/0.583, allocations: 41.11 kB / 415.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.5834, allocations: 483.1 kB / 415.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.5837, allocations: 239.5 kB / 415.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.5837, allocations: 18.31 kB / 416 MB, free: 12.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5839, allocations: 393.9 kB / 416.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/0.5846, allocations: 375.9 kB / 416.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.5854, allocations: 0.5162 MB / 417.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.5861, allocations: 417.2 kB / 417.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.558e-06/0.5862, allocations: 0 / 417.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002362/0.5885, allocations: 1.242 MB / 418.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5886, allocations: 5.875 kB / 418.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5886, allocations: 3.969 kB / 418.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5899, allocations: 476.1 kB / 419.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.5905, allocations: 93.48 kB / 419.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008074/0.5985, allocations: 5.1 MB / 424.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.5994, allocations: 86.8 kB / 424.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.5995, allocations: 23.53 kB / 424.6 MB, free: 8.816 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 (54): * Single equations (assignments): 53 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.5998, allocations: 157.3 kB / 424.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6, allocations: 85.94 kB / 424.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.6003, allocations: 115.8 kB / 425 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.24e-06/0.6003, allocations: 7.859 kB / 425 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.021e-06/0.6003, allocations: 7.812 kB / 425 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6003, allocations: 3.984 kB / 425 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.6052, allocations: 2.576 MB / 427.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.908e-06/0.6052, allocations: 3.953 kB / 427.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.6056, allocations: 66.72 kB / 427.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.6069, allocations: 454.9 kB / 428.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.607, allocations: 19.86 kB / 428.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007825/0.6149, allocations: 5.048 MB / 433.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.96e-06/0.6149, allocations: 3.953 kB / 433.2 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.6182, allocations: 1.856 MB / 435 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.6189, allocations: 278.5 kB / 435.3 MB, free: 17.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.6191, allocations: 11.84 kB / 435.3 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.6197, allocations: 51.14 kB / 435.4 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.62, allocations: 70.3 kB / 435.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.6201, allocations: 23.64 kB / 435.5 MB, free: 17.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009068/0.621, allocations: 0.5733 MB / 436 MB, free: 17.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.621, allocations: 0 / 436 MB, free: 17.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001325/0.6223, allocations: 340.2 kB / 436.4 MB, free: 17.35 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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.6226, allocations: 138.2 kB / 436.5 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.6248, allocations: 1.199 MB / 437.7 MB, free: 16.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.169e-06/0.6249, allocations: 0 / 437.7 MB, free: 16.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.6262, allocations: 0.7747 MB / 438.5 MB, free: 16.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6276, allocations: 243.3 kB / 438.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.6315, allocations: 1.798 MB / 440.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.633, allocations: 1.349 MB / 441.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006414/0.6336, allocations: 143.2 kB / 442 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.6338, allocations: 55.38 kB / 442 MB, free: 13.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.625e-06/0.6339, allocations: 0 / 442 MB, free: 13.2 MB / 330.7 MB Notification: Performance of Templates: time 0.04423/0.6781, allocations: 17.63 MB / 459.7 MB, free: 11.63 MB / 346.7 MB