Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,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_RLV") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.414e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 44.49 MB / 294.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.3881, allocations: 85.92 MB / 380.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.3884, allocations: 91.88 kB / 380.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1346/0.5231, allocations: 35.68 MB / 415.8 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.617e-06/0.5231, allocations: 0 / 415.8 MB, free: 8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.5233, allocations: 51.94 kB / 415.9 MB, free: 7.949 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.005303/0.5286, allocations: 2.003 MB / 417.9 MB, free: 5.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5287, allocations: 12.03 kB / 417.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.5297, allocations: 225.4 kB / 418.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.5368, allocations: 1.969 MB / 420.1 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.5369, allocations: 60 kB / 420.1 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.5374, allocations: 100 kB / 420.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004966/0.5424, allocations: 1.873 MB / 422.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.7581, allocations: 2.107 MB / 424.2 MB, free: 92.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.7582, allocations: 4.531 kB / 424.2 MB, free: 92.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.7585, allocations: 6.844 kB / 424.2 MB, free: 92.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.7587, allocations: 74.52 kB / 424.3 MB, free: 92.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.7741, allocations: 6.964 MB / 431.3 MB, free: 91.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.7774, allocations: 1.573 MB / 432.8 MB, free: 91.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.7791, allocations: 0.8726 MB / 433.7 MB, free: 91.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.7792, allocations: 12.3 kB / 433.7 MB, free: 91.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.7807, allocations: 0.8034 MB / 434.5 MB, free: 91.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 5.712e-06/0.7807, allocations: 0 / 434.5 MB, free: 91.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.002749/0.7835, allocations: 1.422 MB / 435.9 MB, free: 90.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.7836, allocations: 129.1 kB / 436.1 MB, free: 90.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.7853, allocations: 0.9755 MB / 437 MB, free: 90.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.7855, allocations: 41.67 kB / 437.1 MB, free: 90.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.7862, allocations: 0.7618 MB / 437.8 MB, free: 90.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.7866, allocations: 320.2 kB / 438.2 MB, free: 90.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.7867, allocations: 0 / 438.2 MB, free: 90.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7868, allocations: 358.2 kB / 438.5 MB, free: 89.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.7879, allocations: 0.5737 MB / 439.1 MB, free: 89.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.7891, allocations: 0.7655 MB / 439.8 MB, free: 89.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7902, allocations: 0.5919 MB / 440.4 MB, free: 88.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.49e-06/0.7902, allocations: 3.125 kB / 440.4 MB, free: 88.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002995/0.7932, allocations: 1.54 MB / 442 MB, free: 88.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003888/0.7937, allocations: 1.926 MB / 443.9 MB, free: 86.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.7937, allocations: 3.969 kB / 443.9 MB, free: 86.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.7949, allocations: 427.3 kB / 444.3 MB, free: 86.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.796, allocations: 181.5 kB / 444.5 MB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.8026, allocations: 4.312 MB / 448.8 MB, free: 83.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8041, allocations: 158.6 kB / 449 MB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.8043, allocations: 41.44 kB / 449 MB, free: 83.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8044, allocations: 8.906 kB / 449 MB, free: 83.56 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/0.8072, allocations: 1.457 MB / 450.5 MB, free: 83.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.8073, allocations: 3.75 kB / 450.5 MB, free: 83.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.8084, allocations: 417.2 kB / 450.9 MB, free: 82.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.8094, allocations: 170 kB / 451.1 MB, free: 82.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/0.8159, allocations: 4.361 MB / 455.4 MB, free: 80.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.8169, allocations: 135.8 kB / 455.5 MB, free: 80.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.8171, allocations: 42.25 kB / 455.6 MB, free: 80.27 MB / 362.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 (122): * Single equations (assignments): 121 * 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.0004027/0.8175, allocations: 185.5 kB / 455.8 MB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.8179, allocations: 122.9 kB / 455.9 MB, free: 80.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.8183, allocations: 151.4 kB / 456 MB, free: 79.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.8183, allocations: 12.53 kB / 456.1 MB, free: 79.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.049e-06/0.8184, allocations: 3.797 kB / 456.1 MB, free: 79.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.8184, allocations: 3.797 kB / 456.1 MB, free: 79.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006745/0.8251, allocations: 3.256 MB / 459.3 MB, free: 78.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.063e-06/0.8252, allocations: 3.562 kB / 459.3 MB, free: 78.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.8259, allocations: 123.7 kB / 459.4 MB, free: 78.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.8269, allocations: 391.5 kB / 459.8 MB, free: 78.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.8271, allocations: 7.844 kB / 459.8 MB, free: 78.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006029/0.8331, allocations: 4.197 MB / 464 MB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.836e-06/0.8332, allocations: 3.203 kB / 464 MB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.8373, allocations: 2.393 MB / 466.4 MB, free: 74.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/0.8382, allocations: 356.6 kB / 466.8 MB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.8384, allocations: 20.78 kB / 466.8 MB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.8393, allocations: 87.23 kB / 466.9 MB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/0.8399, allocations: 225.6 kB / 467.1 MB, free: 74.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.84, allocations: 32 kB / 467.1 MB, free: 74.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.8413, allocations: 0.7231 MB / 467.9 MB, free: 74.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.097e-06/0.8413, allocations: 0 / 467.9 MB, free: 74.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002958/0.8443, allocations: 0.773 MB / 468.6 MB, free: 74.2 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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.0003817/0.8447, allocations: 170.2 kB / 468.8 MB, free: 74.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004802/0.8495, allocations: 2.616 MB / 471.4 MB, free: 72.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.8496, allocations: 4.719 kB / 471.4 MB, free: 72.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.8514, allocations: 0.9473 MB / 472.4 MB, free: 71.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8531, allocations: 248.1 kB / 472.6 MB, free: 71.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.8596, allocations: 2.787 MB / 475.4 MB, free: 68.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.8611, allocations: 1.724 MB / 477.1 MB, free: 67.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.8616, allocations: 79.19 kB / 477.2 MB, free: 67.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.841e-06/0.8616, allocations: 4 kB / 477.2 MB, free: 67.3 MB / 362.7 MB Notification: Performance of Templates: time 0.04124/0.9029, allocations: 30.4 MB / 0.4957 GB, free: 38.32 MB / 362.7 MB