Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.131e-05, allocations: 3.984 kB / 292.2 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09806, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4676, allocations: 92.47 MB / 435 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4679, allocations: 88.8 kB / 435.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.5861, allocations: 31.04 MB / 466.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.675e-06/0.5861, allocations: 0 / 466.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.5862, allocations: 32 kB / 466.2 MB, free: 7.328 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004129/0.5904, allocations: 1.627 MB / 467.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5904, allocations: 8.031 kB / 467.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.591, allocations: 166 kB / 468 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/0.597, allocations: 1.683 MB / 469.7 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.5972, allocations: 106.7 kB / 469.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.5975, allocations: 140.3 kB / 469.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/0.6017, allocations: 1.761 MB / 471.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.6018, allocations: 0 / 471.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.602, allocations: 52 kB / 471.7 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.691e-05/0.6021, allocations: 66.69 kB / 471.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.6056, allocations: 1.399 MB / 473.2 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.6176, allocations: 5.226 MB / 478.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.6203, allocations: 1.147 MB / 479.6 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.6218, allocations: 0.62 MB / 480.2 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.6219, allocations: 8.781 kB / 480.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.6232, allocations: 0.6449 MB / 480.8 MB, free: 8.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.642e-06/0.6233, allocations: 0 / 480.8 MB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.002528/0.6258, allocations: 1.05 MB / 481.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.626, allocations: 182.9 kB / 482.1 MB, free: 7.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6276, allocations: 0.793 MB / 482.9 MB, free: 6.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.6278, allocations: 57.69 kB / 482.9 MB, free: 6.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/0.6285, allocations: 0.6149 MB / 483.5 MB, free: 5.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.629, allocations: 264.3 kB / 483.8 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.629, allocations: 20 kB / 483.8 MB, free: 5.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.6293, allocations: 354.8 kB / 484.2 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/0.6303, allocations: 441.8 kB / 484.6 MB, free: 4.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.6315, allocations: 0.6718 MB / 485.3 MB, free: 3.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.6326, allocations: 469.8 kB / 485.7 MB, free: 3.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.422e-06/0.6326, allocations: 11.94 kB / 485.7 MB, free: 3.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002751/0.6354, allocations: 1.216 MB / 487 MB, free: 2.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001456/0.6368, allocations: 2.537 MB / 489.5 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.6369, allocations: 8 kB / 489.5 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/0.6377, allocations: 216.7 kB / 489.7 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.6387, allocations: 175.7 kB / 489.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.6433, allocations: 2.765 MB / 492.6 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.6446, allocations: 159.2 kB / 492.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.6447, allocations: 36 kB / 492.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6448, allocations: 11.95 kB / 492.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002669/0.6474, allocations: 1.167 MB / 494 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6475, allocations: 8 kB / 494 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.6482, allocations: 221.1 kB / 494.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.649, allocations: 164 kB / 494.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.6535, allocations: 2.791 MB / 497.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.6544, allocations: 135.4 kB / 497.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6545, allocations: 36 kB / 497.4 MB, free: 7.141 MB / 410.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (114): * Single equations (assignments): 113 * 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.0004294/0.655, allocations: 212.7 kB / 497.6 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.6553, allocations: 98.86 kB / 497.7 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.6557, allocations: 117.8 kB / 497.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6557, allocations: 11.98 kB / 497.8 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-06/0.6557, allocations: 0 / 497.8 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.6557, allocations: 7.984 kB / 497.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.6619, allocations: 2.732 MB / 0.4888 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6619, allocations: 4 kB / 0.4888 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.6627, allocations: 115.8 kB / 0.4889 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006548/0.6633, allocations: 200.8 kB / 0.4891 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-05/0.6634, allocations: 24.05 kB / 0.4891 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.6679, allocations: 2.725 MB / 0.4918 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-06/0.6679, allocations: 0 / 0.4918 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.6717, allocations: 1.809 MB / 0.4936 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/0.6725, allocations: 283.7 kB / 0.4938 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.6727, allocations: 20 kB / 0.4938 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.6736, allocations: 103.9 kB / 0.4939 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.674, allocations: 148.5 kB / 0.4941 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.6741, allocations: 27.98 kB / 0.4941 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.6754, allocations: 0.6006 MB / 0.4947 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.54e-07/0.6754, allocations: 192 / 0.4947 GB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002282/0.6777, allocations: 0.6189 MB / 0.4953 GB, free: 13.03 MB / 426.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * 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.0003484/0.6781, allocations: 176.4 kB / 0.4955 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.6823, allocations: 1.955 MB / 0.4974 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.748e-06/0.6823, allocations: 0.5625 kB / 0.4974 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6839, allocations: 0.7268 MB / 0.4981 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.6853, allocations: 199.9 kB / 0.4983 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.6906, allocations: 2.115 MB / 0.5003 GB, free: 7.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.6922, allocations: 1.425 MB / 0.5017 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.6927, allocations: 79.42 kB / 0.5018 GB, free: 6.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.495e-06/0.6927, allocations: 0 / 0.5018 GB, free: 6.25 MB / 426.7 MB Notification: Performance of Templates: time 0.2741/0.9667, allocations: 22.92 MB / 0.5242 GB, free: 132.5 MB / 442.7 MB