Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_RLV") Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.783e-05/4.796e-05, allocations: 1.25 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.41 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5008, allocations: 89.69 MB / 432.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.501, allocations: 88.62 kB / 432.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05638/0.5574, allocations: 14.97 MB / 447.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.5575, allocations: 0 / 447.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.789e-05/0.5575, allocations: 19.98 kB / 447.9 MB, free: 7.852 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001978/0.5595, allocations: 0.9161 MB / 448.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5596, allocations: 8.031 kB / 448.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.5598, allocations: 94.95 kB / 448.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5609, allocations: 0.5155 MB / 449.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.561, allocations: 58.44 kB / 449.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5611, allocations: 73.06 kB / 449.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5628, allocations: 0.7389 MB / 450.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.5628, allocations: 0 / 450.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.5629, allocations: 29.5 kB / 450.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5629, allocations: 16 kB / 450.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.5643, allocations: 0.5217 MB / 450.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.5699, allocations: 2.782 MB / 453.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.5711, allocations: 0.5393 MB / 454.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.5722, allocations: 431 kB / 454.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.5722, allocations: 4.562 kB / 454.6 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.5731, allocations: 366.5 kB / 454.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 4.222e-06/0.5731, allocations: 3.938 kB / 454.9 MB, free: 2.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001473/0.5746, allocations: 0.5639 MB / 455.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5747, allocations: 145 kB / 455.6 MB, free: 1.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.5755, allocations: 462.3 kB / 456.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/0.5756, allocations: 40.27 kB / 456.1 MB, free: 1.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.5759, allocations: 330.9 kB / 456.5 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.5762, allocations: 180.4 kB / 456.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.5762, allocations: 18.31 kB / 456.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.5765, allocations: 369.1 kB / 457 MB, free: 484 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.577, allocations: 201.5 kB / 457.2 MB, free: 284 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.5777, allocations: 357.4 kB / 457.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.5783, allocations: 223.2 kB / 457.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-06/0.5783, allocations: 4 kB / 457.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001778/0.5801, allocations: 0.7071 MB / 458.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009021/0.581, allocations: 1.57 MB / 460.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.581, allocations: 4 kB / 460.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.5817, allocations: 165.7 kB / 460.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.5823, allocations: 103.8 kB / 460.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.5875, allocations: 3.599 MB / 463.9 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.5883, allocations: 87.48 kB / 464 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.5884, allocations: 24.12 kB / 464 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-06/0.5884, allocations: 8.062 kB / 464 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/0.59, allocations: 0.6242 MB / 464.7 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.59, allocations: 4 kB / 464.7 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.5906, allocations: 169.6 kB / 464.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.5911, allocations: 91.83 kB / 464.9 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.5962, allocations: 3.59 MB / 468.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.5969, allocations: 71.5 kB / 468.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.597, allocations: 31.94 kB / 468.6 MB, free: 4.109 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 (68): * Single equations (assignments): 66 * 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.0002914/0.5973, allocations: 173 kB / 468.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5975, allocations: 59.62 kB / 468.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.5977, allocations: 73.7 kB / 468.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.5977, allocations: 4 kB / 468.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-06/0.5977, allocations: 3.953 kB / 468.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5978, allocations: 7.922 kB / 468.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.601, allocations: 1.473 MB / 470.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.577e-06/0.601, allocations: 0 / 470.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.6014, allocations: 55.91 kB / 470.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/0.6021, allocations: 157.6 kB / 470.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.6021, allocations: 11.98 kB / 470.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.6072, allocations: 3.526 MB / 474.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.11e-06/0.6072, allocations: 0 / 474.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.6097, allocations: 0.999 MB / 475.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.6101, allocations: 192.3 kB / 475.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6102, allocations: 15.98 kB / 475.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.6108, allocations: 47.97 kB / 475.4 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.611, allocations: 76.41 kB / 475.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.6111, allocations: 23.98 kB / 475.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006005/0.6117, allocations: 333.6 kB / 475.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.997e-06/0.6117, allocations: 8 kB / 475.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00166/0.6134, allocations: 363 kB / 476.2 MB, free: 12.14 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 (44): * Single equations (assignments): 37 * 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.0002933/0.6137, allocations: 145.6 kB / 476.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.6166, allocations: 1.373 MB / 477.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.587e-06/0.6166, allocations: 0.6875 kB / 477.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6178, allocations: 0.5403 MB / 478.2 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.6186, allocations: 106 kB / 478.3 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.6215, allocations: 1.032 MB / 479.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.6224, allocations: 0.9711 MB / 480.3 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007398/0.6232, allocations: 124.9 kB / 480.5 MB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.6233, allocations: 39.42 kB / 480.5 MB, free: 7.695 MB / 394.7 MB Notification: Performance of SimCode: time 1.759e-06/0.6233, allocations: 0 / 480.5 MB, free: 7.695 MB / 394.7 MB Notification: Performance of Templates: time 0.0304/0.6538, allocations: 11.19 MB / 491.7 MB, free: 12.6 MB / 410.7 MB