Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.97e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08554, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4604, allocations: 81.87 MB / 381.8 MB, free: 21.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4607, allocations: 88.81 kB / 381.9 MB, free: 21.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04571/0.5064, allocations: 12.36 MB / 394.2 MB, free: 19.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.5065, allocations: 0 / 394.2 MB, free: 19.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.5065, allocations: 15.62 kB / 394.2 MB, free: 19.69 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001521/0.508, allocations: 0.8306 MB / 395.1 MB, free: 19.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5081, allocations: 15.75 kB / 395.1 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.5083, allocations: 78.06 kB / 395.2 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.5092, allocations: 470.6 kB / 395.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.5092, allocations: 55.52 kB / 395.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5094, allocations: 61.5 kB / 395.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5106, allocations: 0.5923 MB / 396.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.5107, allocations: 7.859 kB / 396.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.5108, allocations: 25.56 kB / 396.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5108, allocations: 15.69 kB / 396.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.5118, allocations: 417.1 kB / 396.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.5159, allocations: 2.288 MB / 399.1 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.517, allocations: 457.2 kB / 399.5 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.5177, allocations: 233.9 kB / 399.7 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.5178, allocations: 3.844 kB / 399.7 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.5184, allocations: 304.1 kB / 400 MB, free: 17.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.343e-06/0.5184, allocations: 0 / 400 MB, free: 17.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001035/0.5195, allocations: 418.1 kB / 400.4 MB, free: 17.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.5196, allocations: 152.2 kB / 400.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.5202, allocations: 395.5 kB / 401 MB, free: 17.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.5203, allocations: 37.3 kB / 401 MB, free: 17.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.5206, allocations: 308.7 kB / 401.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5207, allocations: 146.8 kB / 401.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5208, allocations: 11.25 kB / 401.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5209, allocations: 363.1 kB / 401.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.5212, allocations: 151.8 kB / 402 MB, free: 16.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.5217, allocations: 306.8 kB / 402.3 MB, free: 16.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.5221, allocations: 171.8 kB / 402.4 MB, free: 16.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.586e-06/0.5221, allocations: 0 / 402.4 MB, free: 16.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001194/0.5233, allocations: 0.5343 MB / 403 MB, free: 16.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.5236, allocations: 1.667 MB / 404.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5237, allocations: 3.875 kB / 404.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/0.5241, allocations: 75.42 kB / 404.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.5246, allocations: 100.4 kB / 404.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.5264, allocations: 1.73 MB / 406.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.5272, allocations: 84.42 kB / 406.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.5273, allocations: 22.91 kB / 406.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5273, allocations: 5.938 kB / 406.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.5283, allocations: 458.5 kB / 407.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5283, allocations: 15.7 kB / 407.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.5287, allocations: 86.42 kB / 407.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.5291, allocations: 81.67 kB / 407.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.5315, allocations: 1.734 MB / 409 MB, free: 27.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.5322, allocations: 73.23 kB / 409.1 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.5322, allocations: 19.19 kB / 409.1 MB, free: 27.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (61): * Single equations (assignments): 60 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.5325, allocations: 154.4 kB / 409.3 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5326, allocations: 59.94 kB / 409.3 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.5328, allocations: 56.45 kB / 409.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.319e-06/0.5328, allocations: 11.05 kB / 409.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-06/0.5328, allocations: 0 / 409.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.621e-06/0.5329, allocations: 3.906 kB / 409.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.5351, allocations: 1.231 MB / 410.6 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.287e-06/0.5352, allocations: 32 / 410.6 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.5355, allocations: 56.81 kB / 410.7 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.5358, allocations: 72.53 kB / 410.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.5359, allocations: 5.375 kB / 410.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5379, allocations: 1.647 MB / 412.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.775e-06/0.5379, allocations: 3.953 kB / 412.4 MB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.5395, allocations: 0.747 MB / 413.2 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5398, allocations: 175.8 kB / 413.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.54, allocations: 14.45 kB / 413.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.5405, allocations: 40.66 kB / 413.4 MB, free: 25.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5407, allocations: 51.31 kB / 413.4 MB, free: 25.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.5407, allocations: 14.23 kB / 413.4 MB, free: 25.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.5412, allocations: 309.5 kB / 413.7 MB, free: 25.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.5412, allocations: 0 / 413.7 MB, free: 25.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001227/0.5425, allocations: 275.9 kB / 414 MB, free: 25.39 MB / 330.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: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002439/0.5427, allocations: 143.1 kB / 414.2 MB, free: 25.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.5444, allocations: 0.8909 MB / 415 MB, free: 25.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.873e-06/0.5444, allocations: 4.719 kB / 415.1 MB, free: 25.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.545, allocations: 330.1 kB / 415.4 MB, free: 24.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.5456, allocations: 75.59 kB / 415.4 MB, free: 24.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.5476, allocations: 0.8355 MB / 416.3 MB, free: 24.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.5483, allocations: 0.9204 MB / 417.2 MB, free: 23.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.5496, allocations: 107.5 kB / 417.3 MB, free: 23.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5498, allocations: 34.89 kB / 417.3 MB, free: 23.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.825e-06/0.5499, allocations: 3.906 kB / 417.3 MB, free: 23.82 MB / 330.7 MB Notification: Performance of Templates: time 0.03405/0.5839, allocations: 7.645 MB / 425 MB, free: 20.11 MB / 330.7 MB