Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.655e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09336, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5133, allocations: 91.98 MB / 434.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5136, allocations: 88.88 kB / 434.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.6312, allocations: 30.61 MB / 465.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6313, allocations: 0 / 465.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.6314, allocations: 32 kB / 465.3 MB, free: 8.242 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004126/0.6355, allocations: 1.579 MB / 466.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6356, allocations: 8.031 kB / 466.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.6362, allocations: 170 kB / 467 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.6422, allocations: 1.675 MB / 468.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.6424, allocations: 106.6 kB / 468.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.6427, allocations: 128 kB / 468.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.647, allocations: 1.74 MB / 470.7 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.6471, allocations: 11.94 kB / 470.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.6473, allocations: 52 kB / 470.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.6475, allocations: 58.62 kB / 470.8 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.651, allocations: 1.38 MB / 472.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.663, allocations: 5.163 MB / 477.3 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.6654, allocations: 1.034 MB / 478.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.6668, allocations: 0.5927 MB / 479 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.6668, allocations: 8.781 kB / 479 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.6682, allocations: 0.6331 MB / 479.6 MB, free: 9.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 4.529e-06/0.6682, allocations: 0 / 479.6 MB, free: 9.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002486/0.6707, allocations: 1.015 MB / 480.6 MB, free: 8.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.6709, allocations: 182.9 kB / 480.8 MB, free: 8.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.6726, allocations: 0.7968 MB / 481.6 MB, free: 7.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.6728, allocations: 65.72 kB / 481.6 MB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.6735, allocations: 0.6031 MB / 482.3 MB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.6739, allocations: 260.4 kB / 482.5 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.674, allocations: 23.94 kB / 482.5 MB, free: 6.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.6742, allocations: 350.8 kB / 482.9 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000981/0.6752, allocations: 429.8 kB / 483.3 MB, free: 5.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.6765, allocations: 0.6641 MB / 484 MB, free: 5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6776, allocations: 469.7 kB / 484.4 MB, free: 4.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.941e-06/0.6776, allocations: 4 kB / 484.4 MB, free: 4.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002752/0.6804, allocations: 1.211 MB / 485.6 MB, free: 3.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.6818, allocations: 2.522 MB / 488.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.6818, allocations: 8 kB / 488.2 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000816/0.6827, allocations: 224.6 kB / 488.4 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.6836, allocations: 155.7 kB / 488.5 MB, free: 220 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.6882, allocations: 2.776 MB / 491.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6895, allocations: 151.3 kB / 491.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6896, allocations: 36 kB / 491.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6896, allocations: 7.984 kB / 491.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0026/0.6922, allocations: 1.148 MB / 492.6 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6923, allocations: 8.094 kB / 492.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.6929, allocations: 224.9 kB / 492.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/0.6938, allocations: 159.7 kB / 493 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.6983, allocations: 2.795 MB / 495.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.6992, allocations: 131.4 kB / 496 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6993, allocations: 40 kB / 496 MB, free: 8.477 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 (112): * Single equations (assignments): 111 * 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.0003973/0.6997, allocations: 200.9 kB / 496.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.7, allocations: 98.83 kB / 496.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.7004, allocations: 125.7 kB / 496.4 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7004, allocations: 8 kB / 496.4 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.476e-06/0.7004, allocations: 4 kB / 496.4 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.7005, allocations: 3.984 kB / 496.4 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/0.7064, allocations: 2.693 MB / 499.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.7064, allocations: 0 / 499.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.707, allocations: 95.84 kB / 499.2 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.7077, allocations: 196.7 kB / 499.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/0.7078, allocations: 19.98 kB / 499.4 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.7122, allocations: 2.732 MB / 0.4904 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.001e-06/0.7123, allocations: 0 / 0.4904 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.716, allocations: 1.766 MB / 0.4921 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006764/0.7167, allocations: 275.8 kB / 0.4924 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.7169, allocations: 28.03 kB / 0.4924 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.7178, allocations: 91.91 kB / 0.4925 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.7182, allocations: 140.6 kB / 0.4926 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.7183, allocations: 27.98 kB / 0.4926 GB, free: 15.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.7196, allocations: 0.6045 MB / 0.4932 GB, free: 15.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.46e-07/0.7196, allocations: 0 / 0.4932 GB, free: 15.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00232/0.7219, allocations: 0.6031 MB / 0.4938 GB, free: 14.51 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 (75): * Single equations (assignments): 65 * 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.0003379/0.7223, allocations: 182.7 kB / 0.494 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.7265, allocations: 1.914 MB / 0.4959 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7265, allocations: 2.125 kB / 0.4959 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.728, allocations: 0.7269 MB / 0.4966 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.7294, allocations: 203.5 kB / 0.4968 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.7344, allocations: 2.066 MB / 0.4988 GB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.736, allocations: 1.42 MB / 0.5002 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.7365, allocations: 71.42 kB / 0.5002 GB, free: 7.832 MB / 426.7 MB Notification: Performance of SimCode: time 1.841e-06/0.7365, allocations: 0 / 0.5002 GB, free: 7.832 MB / 426.7 MB Notification: Performance of Templates: time 0.03927/0.7758, allocations: 22.57 MB / 0.5223 GB, free: 1.305 MB / 442.7 MB