Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.493e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.3793, allocations: 81.37 MB / 375.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3797, allocations: 87.95 kB / 375.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.4317, allocations: 12.9 MB / 388.5 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.379e-06/0.4317, allocations: 0 / 388.5 MB, free: 3.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.745e-05/0.4318, allocations: 12 kB / 388.5 MB, free: 3.516 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001925/0.4337, allocations: 0.8715 MB / 389.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4338, allocations: 8.031 kB / 389.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.4341, allocations: 83.02 kB / 389.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.4352, allocations: 496.2 kB / 389.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.4353, allocations: 20 kB / 390 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.4355, allocations: 39.91 kB / 390 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/0.4368, allocations: 454.5 kB / 390.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4382, allocations: 0.5708 MB / 391 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.4383, allocations: 11.86 kB / 391 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.4384, allocations: 0 / 391 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.4384, allocations: 16 kB / 391 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/0.4438, allocations: 2.471 MB / 393.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.4454, allocations: 0.5467 MB / 394.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/0.446, allocations: 238.5 kB / 394.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.446, allocations: 8.438 kB / 394.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.4468, allocations: 316.7 kB / 394.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.749e-06/0.4468, allocations: 0 / 394.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001311/0.4481, allocations: 483.2 kB / 395.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4482, allocations: 115.4 kB / 395.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.4489, allocations: 361.1 kB / 395.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.274e-05/0.449, allocations: 33.7 kB / 395.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.4494, allocations: 355.1 kB / 395.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.4496, allocations: 169.6 kB / 396.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.4497, allocations: 0 / 396.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4499, allocations: 330.8 kB / 396.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.4503, allocations: 169.5 kB / 396.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.4509, allocations: 321 kB / 396.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.4514, allocations: 182 kB / 397.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-06/0.4514, allocations: 8 kB / 397.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001376/0.4528, allocations: 0.5502 MB / 397.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009236/0.4538, allocations: 1.575 MB / 399.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.4538, allocations: 4 kB / 399.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/0.4546, allocations: 154.8 kB / 399.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.4551, allocations: 87.84 kB / 399.4 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.4591, allocations: 2.28 MB / 401.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.4598, allocations: 79.53 kB / 401.8 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.4599, allocations: 20 kB / 401.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4599, allocations: 7.438 kB / 401.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.4612, allocations: 0.4901 MB / 402.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4612, allocations: 4 kB / 402.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.4618, allocations: 149.3 kB / 402.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.4622, allocations: 79.83 kB / 402.5 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.4661, allocations: 2.264 MB / 404.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.4667, allocations: 59.61 kB / 404.9 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.4667, allocations: 24 kB / 404.9 MB, free: 2.355 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: 29 ($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,$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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.467, allocations: 133.9 kB / 405 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4672, allocations: 55.42 kB / 405.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.4674, allocations: 53.02 kB / 405.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4674, allocations: 8 kB / 405.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.4674, allocations: 0 / 405.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.4674, allocations: 7.938 kB / 405.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.4702, allocations: 1.191 MB / 406.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.4702, allocations: 7.984 kB / 406.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4705, allocations: 39.92 kB / 406.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005778/0.4711, allocations: 148 kB / 406.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.4712, allocations: 4 kB / 406.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.4749, allocations: 2.163 MB / 408.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.475, allocations: 0 / 408.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.4769, allocations: 0.8234 MB / 409.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.4774, allocations: 188.3 kB / 409.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4775, allocations: 3.953 kB / 409.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.478, allocations: 35.97 kB / 409.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.4783, allocations: 68.45 kB / 409.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.4783, allocations: 19.98 kB / 409.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000479/0.4788, allocations: 274.9 kB / 410.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.4789, allocations: 0 / 410.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001474/0.4803, allocations: 291.1 kB / 410.4 MB, free: 12.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.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.0002824/0.4807, allocations: 132.9 kB / 410.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.4832, allocations: 1.078 MB / 411.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4832, allocations: 0 / 411.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009293/0.4842, allocations: 415.7 kB / 412 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.4849, allocations: 69.77 kB / 412.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4875, allocations: 0.8582 MB / 412.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.4884, allocations: 0.9347 MB / 413.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.4886, allocations: 39.42 kB / 413.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-06/0.4886, allocations: 0 / 413.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Templates: time 0.2261/0.7147, allocations: 10.11 MB / 424 MB, free: 105.9 MB / 362.7 MB