Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.005e-05, allocations: 3.469 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08414, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4327, allocations: 86.34 MB / 386.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.433, allocations: 84.16 kB / 386.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.5561, allocations: 35.79 MB / 422.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.195e-06/0.5562, allocations: 3.906 kB / 422.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001681/0.5563, allocations: 51.09 kB / 422.1 MB, free: 9.441 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.005267/0.5616, allocations: 1.97 MB / 424.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.5617, allocations: 11.84 kB / 424.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.5625, allocations: 225.8 kB / 424.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/0.5688, allocations: 1.966 MB / 426.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.569, allocations: 138.1 kB / 426.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005198/0.5696, allocations: 168.9 kB / 426.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.5751, allocations: 2.345 MB / 428.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.233e-05/0.5752, allocations: 7.656 kB / 428.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/0.5755, allocations: 71.62 kB / 429 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-05/0.5756, allocations: 72.17 kB / 429.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004745/0.5804, allocations: 1.963 MB / 431 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.5957, allocations: 7.258 MB / 438.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.5991, allocations: 1.623 MB / 439.9 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.601, allocations: 0.8927 MB / 440.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/0.6011, allocations: 13 kB / 440.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.603, allocations: 0.8401 MB / 441.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.37e-06/0.603, allocations: 0 / 441.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.003586/0.6066, allocations: 1.485 MB / 443.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6068, allocations: 127.8 kB / 443.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.6094, allocations: 1.092 MB / 444.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.6097, allocations: 69.69 kB / 444.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009624/0.6107, allocations: 0.7477 MB / 445.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.6113, allocations: 339.3 kB / 445.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.6114, allocations: 24 kB / 445.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.6117, allocations: 358.8 kB / 445.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.613, allocations: 0.5921 MB / 446.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.6146, allocations: 0.7953 MB / 447.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.6159, allocations: 0.6139 MB / 447.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.305e-06/0.616, allocations: 0 / 447.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003677/0.6196, allocations: 1.634 MB / 449.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.6208, allocations: 1.925 MB / 451.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.6208, allocations: 11.98 kB / 451.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.6223, allocations: 419.2 kB / 451.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.6234, allocations: 175.7 kB / 452 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.632, allocations: 4.389 MB / 456.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.6336, allocations: 183.2 kB / 456.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.6338, allocations: 40 kB / 456.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6339, allocations: 4 kB / 456.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003753/0.6376, allocations: 1.585 MB / 458.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.6377, allocations: 4.625 kB / 458.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6389, allocations: 420.6 kB / 458.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.64, allocations: 175.7 kB / 458.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/0.6482, allocations: 4.454 MB / 463.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6493, allocations: 159.3 kB / 463.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.6495, allocations: 40 kB / 463.5 MB, free: 8.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.65, allocations: 216.8 kB / 463.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.6505, allocations: 134.4 kB / 463.8 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/0.651, allocations: 164.7 kB / 464 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6511, allocations: 12 kB / 464 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-06/0.6511, allocations: 0 / 464 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.6511, allocations: 7.984 kB / 464 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008686/0.6598, allocations: 3.563 MB / 467.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.6599, allocations: 11.89 kB / 467.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.6607, allocations: 115.9 kB / 467.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.6619, allocations: 401 kB / 468.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.6621, allocations: 23.98 kB / 468.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008232/0.6704, allocations: 4.318 MB / 472.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.029e-06/0.6704, allocations: 4 kB / 472.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.676, allocations: 2.466 MB / 474.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.6772, allocations: 367.2 kB / 475.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.6776, allocations: 35.92 kB / 475.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6788, allocations: 107.9 kB / 475.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007596/0.6795, allocations: 236.6 kB / 475.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.6797, allocations: 35.92 kB / 475.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001998/0.6817, allocations: 0.8407 MB / 476.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.138e-06/0.6818, allocations: 0 / 476.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003311/0.6851, allocations: 0.8254 MB / 477.3 MB, free: 10.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004158/0.6855, allocations: 180.5 kB / 477.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006261/0.6918, allocations: 2.735 MB / 480.2 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.6919, allocations: 0.7812 kB / 480.2 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.6943, allocations: 0.9761 MB / 481.2 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.6964, allocations: 293.1 kB / 481.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.704, allocations: 2.842 MB / 484.3 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/0.7062, allocations: 1.72 MB / 486.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.7068, allocations: 91.42 kB / 486.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of SimCode: time 2.022e-06/0.7068, allocations: 0 / 486.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of Templates: time 0.05788/0.7647, allocations: 30.89 MB / 0.5049 GB, free: 2.301 MB / 394.7 MB