Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.05e-05, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07679/0.07684, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4088, allocations: 85.07 MB / 384.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.4091, allocations: 86.62 kB / 385 MB, free: 20.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09626/0.5054, allocations: 28.17 MB / 413.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.282e-06/0.5054, allocations: 0 / 413.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.618e-05/0.5055, allocations: 35.38 kB / 413.2 MB, free: 13.33 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005338/0.5109, allocations: 1.517 MB / 414.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.511, allocations: 7.812 kB / 414.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008244/0.5118, allocations: 164.2 kB / 414.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007817/0.5196, allocations: 1.632 MB / 416.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.5199, allocations: 101.5 kB / 416.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/0.5205, allocations: 133.7 kB / 416.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006155/0.5267, allocations: 1.651 MB / 418.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.456e-05/0.5268, allocations: 11.73 kB / 418.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/0.5272, allocations: 54.8 kB / 418.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.5273, allocations: 57.36 kB / 418.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/0.5326, allocations: 1.306 MB / 419.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.549, allocations: 4.947 MB / 424.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.5527, allocations: 1.039 MB / 425.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.5545, allocations: 0.5504 MB / 426.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.5546, allocations: 8.406 kB / 426.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.5563, allocations: 0.5912 MB / 427 MB, free: 8.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 8.498e-06/0.5563, allocations: 0 / 427 MB, free: 8.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.003685/0.5601, allocations: 0.9858 MB / 428 MB, free: 7.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.5602, allocations: 145.8 kB / 428.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.563, allocations: 0.7665 MB / 428.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.5634, allocations: 59.94 kB / 428.9 MB, free: 7.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000946/0.5644, allocations: 0.5881 MB / 429.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006073/0.5651, allocations: 236.9 kB / 429.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.5653, allocations: 18.81 kB / 429.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.5655, allocations: 353.2 kB / 430.1 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.5677, allocations: 405.5 kB / 430.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.5701, allocations: 0.6224 MB / 431.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.5723, allocations: 439.6 kB / 431.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.5723, allocations: 0 / 431.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003044/0.5754, allocations: 1.13 MB / 432.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005178/0.576, allocations: 2.526 MB / 435.2 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.576, allocations: 11.38 kB / 435.2 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006974/0.5767, allocations: 215.5 kB / 435.5 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.5775, allocations: 153.5 kB / 435.6 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.5816, allocations: 2.778 MB / 438.4 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5828, allocations: 155.1 kB / 438.5 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.583, allocations: 43.98 kB / 438.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.583, allocations: 3.906 kB / 438.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002179/0.5852, allocations: 1.077 MB / 439.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.5853, allocations: 4.094 kB / 439.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.5859, allocations: 216.7 kB / 439.9 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.5865, allocations: 152.1 kB / 440 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.5908, allocations: 2.795 MB / 442.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.5916, allocations: 127.5 kB / 442.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.5917, allocations: 39.94 kB / 443 MB, free: 12.84 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 (106): * Single equations (assignments): 105 * 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.0003841/0.5921, allocations: 204.9 kB / 443.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.5925, allocations: 94.83 kB / 443.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.5928, allocations: 113 kB / 443.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5928, allocations: 8 kB / 443.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.913e-06/0.5928, allocations: 0 / 443.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.5929, allocations: 3.984 kB / 443.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.5987, allocations: 2.537 MB / 445.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5988, allocations: 7.984 kB / 445.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.5993, allocations: 75.89 kB / 446 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006421/0.6, allocations: 192.7 kB / 446.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.6001, allocations: 16 kB / 446.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.6045, allocations: 2.725 MB / 448.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6046, allocations: 0 / 448.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.6081, allocations: 1.641 MB / 450.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.6087, allocations: 259.9 kB / 450.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6089, allocations: 27.98 kB / 450.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/0.6098, allocations: 87.91 kB / 451 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/0.6102, allocations: 148.5 kB / 451.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.6103, allocations: 23.98 kB / 451.1 MB, free: 4.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.6115, allocations: 0.5772 MB / 451.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6115, allocations: 4 kB / 451.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002324/0.6139, allocations: 0.5798 MB / 452.3 MB, free: 3.262 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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0003442/0.6142, allocations: 160.8 kB / 452.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004048/0.6183, allocations: 1.814 MB / 454.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.19e-06/0.6184, allocations: 448 / 454.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.6199, allocations: 0.6767 MB / 454.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.6212, allocations: 195.4 kB / 455.1 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.6261, allocations: 1.955 MB / 457.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.6276, allocations: 1.382 MB / 458.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.628, allocations: 67.42 kB / 458.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.776e-06/0.628, allocations: 3.938 kB / 458.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of Templates: time 0.03782/0.6658, allocations: 21.39 MB / 479.9 MB, free: 7.527 MB / 362.7 MB