Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.957e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08287, allocations: 47.56 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4241, allocations: 87.63 MB / 404.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4245, allocations: 88 kB / 404.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.466, allocations: 10.85 MB / 415.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.466, allocations: 0 / 415.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.498e-05/0.4661, allocations: 16 kB / 415.5 MB, free: 7.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001858/0.468, allocations: 0.8672 MB / 416.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.468, allocations: 12.02 kB / 416.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.4683, allocations: 79.06 kB / 416.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4693, allocations: 491.8 kB / 417 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.4694, allocations: 56 kB / 417 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.4695, allocations: 70.39 kB / 417.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.471, allocations: 0.6421 MB / 417.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.471, allocations: 7.938 kB / 417.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.4711, allocations: 27.48 kB / 417.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.4712, allocations: 16 kB / 417.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4723, allocations: 470.6 kB / 418.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/0.4774, allocations: 2.592 MB / 420.8 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4789, allocations: 0.5562 MB / 421.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.4796, allocations: 310.8 kB / 421.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4797, allocations: 4.438 kB / 421.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.4804, allocations: 327.7 kB / 422 MB, free: 2.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=55): time 3.962e-06/0.4804, allocations: 7.938 kB / 422 MB, free: 2.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.001296/0.4818, allocations: 0.5075 MB / 422.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4819, allocations: 112 kB / 422.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.4827, allocations: 430.5 kB / 423.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/0.4828, allocations: 39.64 kB / 423.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.4831, allocations: 317 kB / 423.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.4833, allocations: 162.4 kB / 423.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.4834, allocations: 14.69 kB / 423.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.4836, allocations: 364.1 kB / 423.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.4841, allocations: 171.6 kB / 424.1 MB, free: 420 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.4846, allocations: 327.8 kB / 424.4 MB, free: 112 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.4852, allocations: 193.7 kB / 424.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.4852, allocations: 4 kB / 424.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001476/0.4867, allocations: 0.6196 MB / 425.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008681/0.4876, allocations: 1.577 MB / 426.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4876, allocations: 4 kB / 426.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.4883, allocations: 143.5 kB / 427 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.4887, allocations: 90.89 kB / 427 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.4925, allocations: 2.319 MB / 429.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.4933, allocations: 89.53 kB / 429.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.4934, allocations: 26.7 kB / 429.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4934, allocations: 4 kB / 429.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.4947, allocations: 0.5495 MB / 430 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4947, allocations: 7.984 kB / 430 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.4953, allocations: 142.2 kB / 430.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4957, allocations: 82.89 kB / 430.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.4993, allocations: 2.324 MB / 432.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.5, allocations: 70.94 kB / 432.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.5, allocations: 35.5 kB / 432.7 MB, free: 8.895 MB / 346.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: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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.0002522/0.5003, allocations: 155.2 kB / 432.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5005, allocations: 55.34 kB / 432.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.5007, allocations: 71.55 kB / 433 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.303e-06/0.5007, allocations: 4 kB / 433 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-06/0.5007, allocations: 0 / 433 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.5007, allocations: 11.94 kB / 433 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.5035, allocations: 1.311 MB / 434.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.984e-06/0.5035, allocations: 0 / 434.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.5039, allocations: 43.91 kB / 434.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.5044, allocations: 142.9 kB / 434.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.5045, allocations: 11 kB / 434.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003659/0.5082, allocations: 2.317 MB / 436.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/0.5082, allocations: 0 / 436.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.5101, allocations: 0.8669 MB / 437.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.5105, allocations: 192.4 kB / 437.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.5106, allocations: 14.95 kB / 437.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.5111, allocations: 38.84 kB / 437.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.5113, allocations: 63.72 kB / 438 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.5114, allocations: 15.69 kB / 438 MB, free: 4.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.5119, allocations: 326.5 kB / 438.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5119, allocations: 0 / 438.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001408/0.5134, allocations: 324.8 kB / 438.6 MB, free: 4.039 MB / 346.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: 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.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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: 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.0002472/0.5136, allocations: 135.7 kB / 438.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.5161, allocations: 1.108 MB / 439.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.528e-06/0.5161, allocations: 0 / 439.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.517, allocations: 428.3 kB / 440.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.5178, allocations: 108.6 kB / 440.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.5203, allocations: 0.8756 MB / 441.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.5211, allocations: 0.941 MB / 442.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006348/0.5217, allocations: 112.7 kB / 442.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5219, allocations: 34.75 kB / 442.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of SimCode: time 1.928e-06/0.5219, allocations: 0 / 442.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of Templates: time 0.029/0.5509, allocations: 10.46 MB / 452.8 MB, free: 6.398 MB / 362.7 MB