Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.707e-05, allocations: 2.5 kB / 255.4 MB, free: 3.152 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07836, allocations: 44.5 MB / 299.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4062, allocations: 82.11 MB / 382 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4066, allocations: 83.34 kB / 382.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04293/0.4495, allocations: 12.65 MB / 394.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4495, allocations: 3.844 kB / 394.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.4496, allocations: 11.78 kB / 394.7 MB, free: 19.61 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001432/0.451, allocations: 0.8476 MB / 395.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4511, allocations: 11.72 kB / 395.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.4513, allocations: 82.12 kB / 395.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.4521, allocations: 484 kB / 396.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.4521, allocations: 46 kB / 396.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4523, allocations: 68.41 kB / 396.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4535, allocations: 0.6086 MB / 396.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.4535, allocations: 2.875 kB / 396.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.4536, allocations: 32.27 kB / 396.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4536, allocations: 15.31 kB / 396.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/0.4546, allocations: 429.1 kB / 397.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.4583, allocations: 2.32 MB / 399.6 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009882/0.4593, allocations: 464.2 kB / 400.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.4598, allocations: 250.9 kB / 400.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.4599, allocations: 3.969 kB / 400.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.4604, allocations: 307.3 kB / 400.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.916e-06/0.4604, allocations: 0 / 400.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008941/0.4613, allocations: 435.3 kB / 401.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.4614, allocations: 144.1 kB / 401.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.462, allocations: 409.9 kB / 401.6 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.462, allocations: 44.2 kB / 401.7 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4622, allocations: 349.4 kB / 402 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4623, allocations: 150.2 kB / 402.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.4624, allocations: 10.75 kB / 402.2 MB, free: 16.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.4625, allocations: 333.3 kB / 402.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.4628, allocations: 152.4 kB / 402.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.4632, allocations: 302.3 kB / 402.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.4636, allocations: 182.3 kB / 403.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.929e-06/0.4636, allocations: 3.906 kB / 403.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009963/0.4646, allocations: 0.5072 MB / 403.6 MB, free: 16.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.4649, allocations: 1.662 MB / 405.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4649, allocations: 3.719 kB / 405.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.4653, allocations: 77.33 kB / 405.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.4657, allocations: 95.44 kB / 405.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.4677, allocations: 1.727 MB / 407.2 MB, free: 29.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.4683, allocations: 89.59 kB / 407.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.4684, allocations: 19.31 kB / 407.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.025e-06/0.4684, allocations: 3.906 kB / 407.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009009/0.4693, allocations: 481.8 kB / 407.8 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.709e-06/0.4694, allocations: 3.906 kB / 407.8 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.4696, allocations: 86.47 kB / 407.8 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.47, allocations: 89.17 kB / 407.9 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.472, allocations: 1.723 MB / 409.7 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.4724, allocations: 65.45 kB / 409.7 MB, free: 27.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.4724, allocations: 31.16 kB / 409.8 MB, free: 27.61 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 (62): * Single equations (assignments): 61 * 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.0002013/0.4727, allocations: 146.4 kB / 409.9 MB, free: 27.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4728, allocations: 54.5 kB / 409.9 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.4729, allocations: 58.8 kB / 410 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-06/0.473, allocations: 3.906 kB / 410 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.808e-06/0.473, allocations: 3.938 kB / 410 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.22e-06/0.473, allocations: 7.609 kB / 410 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4751, allocations: 1.253 MB / 411.3 MB, free: 27.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-06/0.4751, allocations: 0 / 411.3 MB, free: 27.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.4755, allocations: 52.92 kB / 411.3 MB, free: 27.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.4757, allocations: 78.86 kB / 411.4 MB, free: 27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.4758, allocations: 11.19 kB / 411.4 MB, free: 27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.4777, allocations: 1.649 MB / 413.1 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.4777, allocations: 400 / 413.1 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.479, allocations: 0.7532 MB / 413.8 MB, free: 25.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4793, allocations: 173.7 kB / 414 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.4794, allocations: 15.44 kB / 414 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4799, allocations: 38.45 kB / 414 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.48, allocations: 52.08 kB / 414.1 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.4801, allocations: 15.62 kB / 414.1 MB, free: 25.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004576/0.4805, allocations: 319.1 kB / 414.4 MB, free: 25.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.4806, allocations: 0 / 414.4 MB, free: 25.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001132/0.4817, allocations: 287.6 kB / 414.7 MB, free: 25.23 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 (40): * Single equations (assignments): 34 * 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.0002028/0.4819, allocations: 127.7 kB / 414.8 MB, free: 25.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.4834, allocations: 0.8849 MB / 415.7 MB, free: 24.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4835, allocations: 6.906 kB / 415.7 MB, free: 24.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.484, allocations: 336.5 kB / 416 MB, free: 24.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.4845, allocations: 82.39 kB / 416.1 MB, free: 24.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.4864, allocations: 0.881 MB / 417 MB, free: 24.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.487, allocations: 0.9273 MB / 417.9 MB, free: 23.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4872, allocations: 38.69 kB / 418 MB, free: 23.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.555e-06/0.4872, allocations: 0 / 418 MB, free: 23.64 MB / 330.7 MB Notification: Performance of Templates: time 0.0127/0.4999, allocations: 9.673 MB / 427.6 MB, free: 18.81 MB / 330.7 MB