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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.525e-05, allocations: 0 / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08918, allocations: 50.41 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4458, allocations: 82.26 MB / 425.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4461, allocations: 90.08 kB / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03346/0.4796, allocations: 7.242 MB / 432.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.4796, allocations: 4 kB / 432.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.4797, allocations: 8 kB / 432.7 MB, free: 5.762 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.001308/0.481, allocations: 0.6501 MB / 433.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.481, allocations: 8.031 kB / 433.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4812, allocations: 59.28 kB / 433.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.4819, allocations: 360.5 kB / 433.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4819, allocations: 32.44 kB / 433.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.482, allocations: 39.44 kB / 433.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.483, allocations: 439.7 kB / 434.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.4831, allocations: 3.938 kB / 434.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.4831, allocations: 20.64 kB / 434.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.4832, allocations: 12 kB / 434.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.4839, allocations: 291.7 kB / 434.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.4873, allocations: 1.87 MB / 436.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.4883, allocations: 0.5837 MB / 437 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.489, allocations: 283.3 kB / 437.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.4891, allocations: 4.328 kB / 437.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.4896, allocations: 260.8 kB / 437.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.951e-06/0.4897, allocations: 0 / 437.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001215/0.4909, allocations: 448.2 kB / 438 MB, free: 1.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.491, allocations: 85.05 kB / 438.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.4914, allocations: 280.5 kB / 438.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.4915, allocations: 36.52 kB / 438.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4917, allocations: 209.6 kB / 438.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.4919, allocations: 135.4 kB / 438.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.4919, allocations: 11 kB / 438.7 MB, free: 0.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4921, allocations: 345.2 kB / 439.1 MB, free: 300 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.4924, allocations: 110.5 kB / 439.2 MB, free: 236 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.4928, allocations: 232 kB / 439.4 MB, free: 4 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.4932, allocations: 129.6 kB / 439.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4932, allocations: 0 / 439.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001141/0.4944, allocations: 490.9 kB / 440 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4944, allocations: 8 kB / 440 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4944, allocations: 7.984 kB / 440 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.495, allocations: 148.1 kB / 440.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.4954, allocations: 63.84 kB / 440.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.499, allocations: 2.315 MB / 442.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.4994, allocations: 45.03 kB / 442.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.4995, allocations: 15.56 kB / 442.6 MB, free: 13.31 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.0001801/0.4996, allocations: 130 kB / 442.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.4998, allocations: 39.48 kB / 442.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.4999, allocations: 52.14 kB / 442.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.957e-06/0.4999, allocations: 8 kB / 442.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-06/0.4999, allocations: 3.984 kB / 442.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4999, allocations: 0 / 442.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5019, allocations: 1.008 MB / 443.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.5019, allocations: 0 / 443.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.5022, allocations: 36.02 kB / 443.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/0.5027, allocations: 145.1 kB / 444 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.5028, allocations: 9.438 kB / 444 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.5063, allocations: 2.297 MB / 446.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-06/0.5063, allocations: 3.938 kB / 446.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.5078, allocations: 0.6914 MB / 447 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.5081, allocations: 154.3 kB / 447.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5082, allocations: 11.06 kB / 447.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.5085, allocations: 19.17 kB / 447.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5086, allocations: 31.27 kB / 447.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.5087, allocations: 15.8 kB / 447.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003175/0.509, allocations: 220.9 kB / 447.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5091, allocations: 4 kB / 447.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.5099, allocations: 144.9 kB / 447.6 MB, free: 9.133 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.0002271/0.5101, allocations: 123.1 kB / 447.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5113, allocations: 0.5006 MB / 448.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.996e-06/0.5113, allocations: 0 / 448.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.512, allocations: 345.7 kB / 448.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.5125, allocations: 70.02 kB / 448.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5143, allocations: 0.6116 MB / 449.3 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.5149, allocations: 0.8402 MB / 450.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.5152, allocations: 39.3 kB / 450.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.5153, allocations: 31.42 kB / 450.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.768e-06/0.5153, allocations: 0 / 450.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of Templates: time 0.01731/0.5326, allocations: 6.146 MB / 456.3 MB, free: 0.7461 MB / 362.7 MB