Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.152e-05, allocations: 4 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.4017, allocations: 87.22 MB / 381.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00049/0.4023, allocations: 99.86 kB / 381.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.225/0.6274, allocations: 36.2 MB / 417.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.911e-06/0.6274, allocations: 0 / 417.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003201/0.6278, allocations: 47.94 kB / 417.7 MB, free: 6.125 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.00802/0.6358, allocations: 1.984 MB / 419.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6359, allocations: 8.031 kB / 419.7 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.6367, allocations: 229.3 kB / 419.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/0.644, allocations: 2.061 MB / 422 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6441, allocations: 64 kB / 422 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.6446, allocations: 100 kB / 422.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2116/0.8562, allocations: 1.825 MB / 424 MB, free: 93.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.8619, allocations: 2.117 MB / 426.1 MB, free: 93.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.862, allocations: 1.312 kB / 426.1 MB, free: 93.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.8623, allocations: 8.578 kB / 426.1 MB, free: 93.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.8624, allocations: 72.98 kB / 426.2 MB, free: 93.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.8758, allocations: 6.521 MB / 432.7 MB, free: 92.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.8788, allocations: 1.56 MB / 434.2 MB, free: 92.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.8806, allocations: 0.9169 MB / 435.1 MB, free: 92.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-05/0.8807, allocations: 14.27 kB / 435.2 MB, free: 92.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.8823, allocations: 0.8573 MB / 436 MB, free: 91.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 5.714e-06/0.8823, allocations: 3.906 kB / 436 MB, free: 91.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.003222/0.8855, allocations: 1.568 MB / 437.6 MB, free: 91.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.8856, allocations: 155.4 kB / 437.7 MB, free: 91.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.8874, allocations: 0.8886 MB / 438.6 MB, free: 90.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.8877, allocations: 59.45 kB / 438.7 MB, free: 90.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.8885, allocations: 0.7451 MB / 439.4 MB, free: 90.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/0.8892, allocations: 370.8 kB / 439.8 MB, free: 90.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.8894, allocations: 0 / 439.8 MB, free: 90.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8896, allocations: 367.3 kB / 440.2 MB, free: 89.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.8915, allocations: 0.6214 MB / 440.8 MB, free: 89.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.8939, allocations: 0.8794 MB / 441.7 MB, free: 88.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.8959, allocations: 0.6655 MB / 442.3 MB, free: 88.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.8959, allocations: 3.562 kB / 442.3 MB, free: 88.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004582/0.9005, allocations: 1.744 MB / 444.1 MB, free: 88.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005025/0.9011, allocations: 2.444 MB / 446.5 MB, free: 85.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9011, allocations: 10.42 kB / 446.5 MB, free: 85.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.9025, allocations: 491.6 kB / 447 MB, free: 85.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.9035, allocations: 182.6 kB / 447.2 MB, free: 85.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/0.9114, allocations: 5.122 MB / 452.3 MB, free: 82.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.9129, allocations: 147.8 kB / 452.5 MB, free: 82.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.9131, allocations: 48.91 kB / 452.5 MB, free: 82.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9131, allocations: 6.781 kB / 452.5 MB, free: 82.37 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003177/0.9163, allocations: 1.659 MB / 454.2 MB, free: 81.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.9163, allocations: 5.594 kB / 454.2 MB, free: 81.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.9177, allocations: 479 kB / 454.6 MB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/0.9187, allocations: 179 kB / 454.8 MB, free: 81.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/0.9265, allocations: 5.177 MB / 460 MB, free: 78.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/0.9275, allocations: 139.5 kB / 460.1 MB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.9276, allocations: 42.62 kB / 460.2 MB, free: 78.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (138): * Single equations (assignments): 137 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.9281, allocations: 201.7 kB / 460.4 MB, free: 78.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.9284, allocations: 125.5 kB / 460.5 MB, free: 78.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.9289, allocations: 148.8 kB / 460.6 MB, free: 78.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.9289, allocations: 20.2 kB / 460.7 MB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.9289, allocations: 0 / 460.7 MB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.9289, allocations: 7.734 kB / 460.7 MB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.9356, allocations: 3.256 MB / 463.9 MB, free: 76.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.701e-06/0.9357, allocations: 0 / 463.9 MB, free: 76.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.9364, allocations: 127.2 kB / 464 MB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.9376, allocations: 456.3 kB / 464.5 MB, free: 76.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.9378, allocations: 15.72 kB / 464.5 MB, free: 76.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00791/0.9457, allocations: 5.011 MB / 469.5 MB, free: 73.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-06/0.9458, allocations: 7.203 kB / 469.5 MB, free: 73.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.9503, allocations: 2.517 MB / 472 MB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008472/0.9512, allocations: 362.2 kB / 472.4 MB, free: 71.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.9514, allocations: 19 kB / 472.4 MB, free: 71.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9525, allocations: 99.64 kB / 472.5 MB, free: 71.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005936/0.9531, allocations: 233.9 kB / 472.7 MB, free: 71.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.9532, allocations: 39.84 kB / 472.8 MB, free: 71.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.9544, allocations: 0.6538 MB / 473.4 MB, free: 70.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.35e-07/0.9544, allocations: 0 / 473.4 MB, free: 70.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002707/0.9571, allocations: 0.7935 MB / 474.2 MB, free: 69.78 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].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_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/0.9575, allocations: 201.1 kB / 474.4 MB, free: 69.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005073/0.9626, allocations: 2.884 MB / 477.3 MB, free: 67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.9627, allocations: 4.625 kB / 477.3 MB, free: 67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.9644, allocations: 1.012 MB / 478.3 MB, free: 66.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.9661, allocations: 277.1 kB / 478.6 MB, free: 65.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/0.9721, allocations: 2.794 MB / 481.4 MB, free: 63.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.9737, allocations: 1.703 MB / 483.1 MB, free: 62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.9742, allocations: 83.44 kB / 483.2 MB, free: 61.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.915e-06/0.9742, allocations: 0 / 483.2 MB, free: 61.91 MB / 362.7 MB Notification: Performance of Templates: time 0.04039/1.015, allocations: 30.71 MB / 0.5018 GB, free: 32.32 MB / 362.7 MB