Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.955e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08963, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5307, allocations: 89.4 MB / 432.5 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.531, allocations: 81.89 kB / 432.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05501/0.586, allocations: 14.69 MB / 447.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.311e-06/0.586, allocations: 3.938 kB / 447.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.542e-05/0.5861, allocations: 16 kB / 447.3 MB, free: 8.383 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001898/0.588, allocations: 0.8995 MB / 448.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5881, allocations: 12.03 kB / 448.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.5883, allocations: 86.97 kB / 448.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5893, allocations: 0.4988 MB / 448.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/0.5894, allocations: 60.48 kB / 448.8 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.5896, allocations: 79.86 kB / 448.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5912, allocations: 0.7135 MB / 449.6 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.5912, allocations: 4 kB / 449.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.5913, allocations: 27.19 kB / 449.7 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5913, allocations: 20 kB / 449.7 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.5926, allocations: 0.5099 MB / 450.2 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.5977, allocations: 2.737 MB / 452.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.5988, allocations: 0.5286 MB / 453.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009715/0.5998, allocations: 402.2 kB / 453.9 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.5999, allocations: 4.438 kB / 453.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.6007, allocations: 361.5 kB / 454.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.925e-06/0.6007, allocations: 0 / 454.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001378/0.6021, allocations: 0.5633 MB / 454.8 MB, free: 2.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6022, allocations: 140.3 kB / 454.9 MB, free: 2.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.603, allocations: 443.6 kB / 455.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.6031, allocations: 50.44 kB / 455.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.6034, allocations: 317.9 kB / 455.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.6036, allocations: 182.8 kB / 455.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.6037, allocations: 13.56 kB / 455.9 MB, free: 1.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.6039, allocations: 372.1 kB / 456.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.6044, allocations: 194.5 kB / 456.4 MB, free: 1.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.605, allocations: 357.9 kB / 456.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.6056, allocations: 215.2 kB / 457 MB, free: 440 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.6056, allocations: 8 kB / 457 MB, free: 432 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001723/0.6073, allocations: 0.7071 MB / 457.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008666/0.6082, allocations: 1.563 MB / 459.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6083, allocations: 4 kB / 459.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.6089, allocations: 173.5 kB / 459.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.6095, allocations: 99.81 kB / 459.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.6146, allocations: 3.599 MB / 463.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.6153, allocations: 87.48 kB / 463.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.6154, allocations: 28 kB / 463.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.6154, allocations: 8.062 kB / 463.3 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/0.6169, allocations: 0.6203 MB / 463.9 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.617, allocations: 4 kB / 463.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.6176, allocations: 161.7 kB / 464.1 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.618, allocations: 91.83 kB / 464.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.6237, allocations: 3.602 MB / 467.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6248, allocations: 71.56 kB / 467.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6249, allocations: 28 kB / 467.8 MB, free: 4.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004254/0.6254, allocations: 164.8 kB / 468 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.6256, allocations: 63.23 kB / 468.1 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.6259, allocations: 69.59 kB / 468.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.626, allocations: 7.984 kB / 468.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.626, allocations: 3.938 kB / 468.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.626, allocations: 0 / 468.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.6311, allocations: 1.458 MB / 469.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.192e-06/0.6312, allocations: 0 / 469.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.6318, allocations: 51.91 kB / 469.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009995/0.6328, allocations: 157.6 kB / 469.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.6329, allocations: 12 kB / 469.8 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.638, allocations: 3.518 MB / 473.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.638, allocations: 3.953 kB / 473.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.6402, allocations: 0.9718 MB / 474.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.6406, allocations: 192.7 kB / 474.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6407, allocations: 12 kB / 474.5 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.6413, allocations: 47.97 kB / 474.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.6415, allocations: 84.33 kB / 474.6 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.6416, allocations: 23.92 kB / 474.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005842/0.6422, allocations: 329.6 kB / 475 MB, free: 13.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.6422, allocations: 4 kB / 475 MB, free: 13.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001557/0.6438, allocations: 351 kB / 475.3 MB, free: 13.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/0.644, allocations: 145.4 kB / 475.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.6467, allocations: 1.36 MB / 476.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.317e-06/0.6468, allocations: 1.5 kB / 476.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009817/0.6478, allocations: 0.5402 MB / 477.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.6485, allocations: 106.2 kB / 477.5 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.6511, allocations: 1.004 MB / 478.5 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.6519, allocations: 0.9632 MB / 479.5 MB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006249/0.6525, allocations: 128.8 kB / 479.6 MB, free: 8.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.6527, allocations: 43.42 kB / 479.6 MB, free: 8.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6527, allocations: 0 / 479.6 MB, free: 8.598 MB / 394.7 MB Notification: Performance of Templates: time 0.02848/0.6812, allocations: 11.1 MB / 490.7 MB, free: 13.58 MB / 410.7 MB