Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.941e-05, allocations: 4 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.0767, allocations: 44.51 MB / 299.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4663, allocations: 85.52 MB / 385.4 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4666, allocations: 89.27 kB / 385.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.5667, allocations: 28.57 MB / 414.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.852e-06/0.5668, allocations: 0 / 414.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.587e-05/0.5669, allocations: 39 kB / 414.1 MB, free: 12.61 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002884/0.5698, allocations: 1.556 MB / 415.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5698, allocations: 7.719 kB / 415.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.5702, allocations: 164.4 kB / 415.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004394/0.5746, allocations: 1.624 MB / 417.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.5747, allocations: 107.8 kB / 417.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.575, allocations: 138.7 kB / 417.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.5782, allocations: 1.681 MB / 419.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.5782, allocations: 0 / 419.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.5784, allocations: 50.47 kB / 419.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.424e-05/0.5785, allocations: 60.88 kB / 419.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.5813, allocations: 1.325 MB / 420.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009216/0.5905, allocations: 5.014 MB / 425.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.5925, allocations: 1.034 MB / 426.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.5936, allocations: 0.5791 MB / 427.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.5937, allocations: 8.406 kB / 427.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.5947, allocations: 0.615 MB / 428.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 4.276e-06/0.5948, allocations: 0 / 428.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.002145/0.5969, allocations: 1.011 MB / 429.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.597, allocations: 152.3 kB / 429.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5983, allocations: 0.7609 MB / 430 MB, free: 6.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.5984, allocations: 56.44 kB / 430.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.5989, allocations: 0.5861 MB / 430.6 MB, free: 6.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5991, allocations: 249.2 kB / 430.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.5992, allocations: 20.62 kB / 430.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.5993, allocations: 344.3 kB / 431.2 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.6001, allocations: 409 kB / 431.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.601, allocations: 0.6306 MB / 432.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.6019, allocations: 441.4 kB / 432.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.897e-06/0.6019, allocations: 3.906 kB / 432.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002133/0.604, allocations: 1.205 MB / 433.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.6045, allocations: 2.528 MB / 436.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.6045, allocations: 7.812 kB / 436.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.6052, allocations: 217.7 kB / 436.7 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.6059, allocations: 164.8 kB / 436.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/0.6096, allocations: 2.763 MB / 439.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009219/0.6105, allocations: 155.1 kB / 439.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6106, allocations: 39.94 kB / 439.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.6107, allocations: 4 kB / 439.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/0.6128, allocations: 1.097 MB / 440.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6129, allocations: 4 kB / 440.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/0.6135, allocations: 228.8 kB / 441.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.6143, allocations: 151.7 kB / 441.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.6186, allocations: 2.772 MB / 444 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/0.6196, allocations: 135.5 kB / 444.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6197, allocations: 36.23 kB / 444.2 MB, free: 11.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.6201, allocations: 207.6 kB / 444.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6203, allocations: 98.88 kB / 444.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.6206, allocations: 113.2 kB / 444.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6207, allocations: 8 kB / 444.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-06/0.6207, allocations: 0 / 444.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6207, allocations: 3.984 kB / 444.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.6261, allocations: 2.588 MB / 447.2 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.05e-06/0.6261, allocations: 0 / 447.2 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.6267, allocations: 103.8 kB / 447.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/0.6274, allocations: 192.8 kB / 447.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.6275, allocations: 23.95 kB / 447.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.6317, allocations: 2.724 MB / 450.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6317, allocations: 0 / 450.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.6351, allocations: 1.692 MB / 451.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.6357, allocations: 267.8 kB / 452.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.6359, allocations: 23.98 kB / 452.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.6366, allocations: 99.91 kB / 452.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.637, allocations: 148.5 kB / 452.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.6371, allocations: 23.98 kB / 452.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.6383, allocations: 0.5811 MB / 453.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.94e-07/0.6383, allocations: 0 / 453.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002099/0.6404, allocations: 0.5917 MB / 453.7 MB, free: 1.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003092/0.6407, allocations: 164.4 kB / 453.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.6445, allocations: 1.869 MB / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.341e-06/0.6445, allocations: 4.312 kB / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6459, allocations: 0.7035 MB / 456.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.647, allocations: 187.9 kB / 456.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.6518, allocations: 2.003 MB / 458.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.6534, allocations: 1.41 MB / 460 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00158/0.655, allocations: 423 kB / 460.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6552, allocations: 63.36 kB / 460.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.646e-06/0.6553, allocations: 0 / 460.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Templates: time 0.04216/0.6974, allocations: 16.78 MB / 477.3 MB, free: 9.746 MB / 362.7 MB