Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.346e-05, allocations: 8 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09592, allocations: 50.42 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.4916, allocations: 88.58 MB / 431.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4919, allocations: 83.62 kB / 431.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05208/0.544, allocations: 13.36 MB / 444.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.698e-06/0.5441, allocations: 0 / 444.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.842e-05/0.5442, allocations: 23.88 kB / 444.6 MB, free: 10.36 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001938/0.5461, allocations: 0.8393 MB / 445.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5462, allocations: 8.031 kB / 445.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.5464, allocations: 79.06 kB / 445.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.5479, allocations: 477.6 kB / 446 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.548, allocations: 47.36 kB / 446.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5481, allocations: 68.95 kB / 446.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5495, allocations: 0.6178 MB / 446.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.5496, allocations: 3.906 kB / 446.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.5497, allocations: 29.06 kB / 446.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.5497, allocations: 12 kB / 446.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.5508, allocations: 440.3 kB / 447.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.5553, allocations: 2.288 MB / 449.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.5562, allocations: 405.2 kB / 449.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.5569, allocations: 239.3 kB / 450.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.5569, allocations: 7.953 kB / 450.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.5576, allocations: 320.5 kB / 450.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.573e-06/0.5576, allocations: 0 / 450.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001072/0.5587, allocations: 432.7 kB / 450.9 MB, free: 5.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.5588, allocations: 173.4 kB / 451.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.5595, allocations: 413.1 kB / 451.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.5596, allocations: 42.02 kB / 451.5 MB, free: 4.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.5599, allocations: 310.1 kB / 451.8 MB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.5601, allocations: 141 kB / 451.9 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.5602, allocations: 14.38 kB / 451.9 MB, free: 4.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.5604, allocations: 360.5 kB / 452.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.5608, allocations: 157 kB / 452.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.5613, allocations: 316.3 kB / 452.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.5617, allocations: 180.5 kB / 452.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.876e-06/0.5618, allocations: 0 / 452.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001277/0.563, allocations: 0.5477 MB / 453.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009104/0.564, allocations: 1.664 MB / 455.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.564, allocations: 4 kB / 455.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.5644, allocations: 86.69 kB / 455.2 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.5649, allocations: 91.2 kB / 455.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.5676, allocations: 1.851 MB / 457.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.5682, allocations: 93.36 kB / 457.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.5683, allocations: 27.11 kB / 457.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5683, allocations: 4 kB / 457.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/0.5695, allocations: 474.4 kB / 457.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.947e-06/0.5695, allocations: 4 kB / 457.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.5699, allocations: 92.75 kB / 457.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.5703, allocations: 84.42 kB / 457.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.5729, allocations: 1.835 MB / 459.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.5735, allocations: 75.5 kB / 459.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.5736, allocations: 28.06 kB / 459.9 MB, free: 12.68 MB / 378.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_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_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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.5738, allocations: 148 kB / 460 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.574, allocations: 55.44 kB / 460.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.5742, allocations: 56.88 kB / 460.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-06/0.5742, allocations: 4 kB / 460.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-06/0.5742, allocations: 4 kB / 460.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5742, allocations: 3.984 kB / 460.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.5768, allocations: 1.284 MB / 461.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-06/0.5768, allocations: 0 / 461.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.5771, allocations: 43.88 kB / 461.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.5775, allocations: 89.12 kB / 461.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.5776, allocations: 7.984 kB / 461.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.5801, allocations: 1.759 MB / 463.3 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.861e-06/0.5802, allocations: 3.984 kB / 463.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5818, allocations: 0.7692 MB / 464.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5822, allocations: 172.4 kB / 464.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5823, allocations: 12 kB / 464.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.5828, allocations: 43.95 kB / 464.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.5829, allocations: 51.92 kB / 464.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.583, allocations: 16 kB / 464.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005603/0.5836, allocations: 317.2 kB / 464.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.5836, allocations: 0 / 464.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001264/0.5849, allocations: 283.1 kB / 465 MB, free: 7.332 MB / 378.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: 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_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: 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002448/0.5851, allocations: 152.3 kB / 465.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.5872, allocations: 0.9362 MB / 466.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.295e-06/0.5872, allocations: 4.062 kB / 466.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.5879, allocations: 345.5 kB / 466.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.5886, allocations: 78.27 kB / 466.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.5906, allocations: 0.797 MB / 467.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.5914, allocations: 0.9309 MB / 468.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006248/0.592, allocations: 124.6 kB / 468.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5922, allocations: 31.44 kB / 468.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of SimCode: time 2.237e-06/0.5922, allocations: 0 / 468.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of Templates: time 0.02322/0.6154, allocations: 8.215 MB / 476.6 MB, free: 11.68 MB / 394.7 MB