Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.396e-05, allocations: 0 / 292.2 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08895, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5141, allocations: 93.62 MB / 436.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5145, allocations: 88.88 kB / 436.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/0.657, allocations: 37.94 MB / 474.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.721e-06/0.657, allocations: 0 / 474.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.6572, allocations: 51.94 kB / 474.3 MB, free: 15.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.004852/0.662, allocations: 1.993 MB / 476.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6621, allocations: 12.03 kB / 476.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.6627, allocations: 229.4 kB / 476.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007063/0.6698, allocations: 2.093 MB / 478.6 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.67, allocations: 139.5 kB / 478.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.6704, allocations: 172 kB / 478.9 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005706/0.6761, allocations: 2.388 MB / 481.3 MB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.6762, allocations: 7.906 kB / 481.3 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.6765, allocations: 72 kB / 481.4 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.6766, allocations: 71.48 kB / 481.4 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.6813, allocations: 1.936 MB / 483.4 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.6971, allocations: 6.95 MB / 490.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.7003, allocations: 1.559 MB / 491.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.7029, allocations: 1.157 MB / 493 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.703, allocations: 13 kB / 493.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.7049, allocations: 0.886 MB / 493.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.148e-06/0.705, allocations: 0 / 493.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.003942/0.7089, allocations: 1.68 MB / 495.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.7091, allocations: 187.2 kB / 495.8 MB, free: 9.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.7113, allocations: 1.075 MB / 496.9 MB, free: 8.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.7116, allocations: 73.67 kB / 496.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.7125, allocations: 0.74 MB / 497.7 MB, free: 7.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/0.713, allocations: 374.9 kB / 498.1 MB, free: 6.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.7131, allocations: 28 kB / 498.1 MB, free: 6.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.7133, allocations: 362.7 kB / 498.4 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.7148, allocations: 0.6637 MB / 499.1 MB, free: 5.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.7165, allocations: 0.93 MB / 0.4883 GB, free: 4.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.718, allocations: 0.7075 MB / 0.489 GB, free: 4.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-06/0.718, allocations: 8 kB / 0.489 GB, free: 4.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004053/0.7221, allocations: 1.891 MB / 0.4909 GB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001404/0.7235, allocations: 2.449 MB / 0.4932 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.7236, allocations: 12 kB / 0.4933 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.7253, allocations: 0.512 MB / 0.4938 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/0.7263, allocations: 183.7 kB / 0.4939 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.7377, allocations: 5.536 MB / 0.4993 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7393, allocations: 190.9 kB / 0.4995 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.7394, allocations: 51.94 kB / 0.4996 GB, free: 8.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7395, allocations: 8 kB / 0.4996 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003933/0.7434, allocations: 1.831 MB / 0.5014 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7434, allocations: 11.94 kB / 0.5014 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.745, allocations: 0.5049 MB / 0.5019 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.7459, allocations: 171.7 kB / 0.502 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.7571, allocations: 5.571 MB / 0.5075 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.7581, allocations: 171.2 kB / 0.5076 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.7583, allocations: 44 kB / 0.5077 GB, free: 0.5352 MB / 426.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_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,$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 (135): * Single equations (assignments): 134 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.7588, allocations: 245.4 kB / 0.5079 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.7592, allocations: 134.4 kB / 0.508 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.7598, allocations: 173.6 kB / 0.5082 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.7598, allocations: 12 kB / 0.5082 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7598, allocations: 0 / 0.5082 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.7598, allocations: 7.984 kB / 0.5082 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.775, allocations: 3.815 MB / 0.512 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.7751, allocations: 7.984 kB / 0.512 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7763, allocations: 91.83 kB / 0.512 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.7793, allocations: 497.2 kB / 0.5125 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/0.7795, allocations: 19.98 kB / 0.5125 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.7992, allocations: 5.423 MB / 0.5178 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.954e-06/0.7993, allocations: 0 / 0.5178 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.8098, allocations: 2.647 MB / 0.5204 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/0.8116, allocations: 379.1 kB / 0.5208 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/0.8122, allocations: 43.98 kB / 0.5208 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.8142, allocations: 111.9 kB / 0.5209 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/0.8155, allocations: 232.6 kB / 0.5212 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/0.8158, allocations: 35.98 kB / 0.5212 GB, free: 2.445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003091/0.8189, allocations: 0.8049 MB / 0.522 GB, free: 1.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.349e-06/0.8189, allocations: 0 / 0.522 GB, free: 1.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005679/0.8246, allocations: 0.8606 MB / 0.5228 GB, free: 0.7656 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007012/0.8254, allocations: 213.5 kB / 0.523 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2449/1.07, allocations: 3.023 MB / 0.526 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.07, allocations: 0.5625 kB / 0.526 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.073, allocations: 1.046 MB / 0.527 GB, free: 128.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.075, allocations: 324.4 kB / 0.5273 GB, free: 128.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/1.082, allocations: 2.833 MB / 0.5301 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.084, allocations: 1.721 MB / 0.5318 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/1.084, allocations: 91.16 kB / 0.5318 GB, free: 127.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.821e-06/1.084, allocations: 3.75 kB / 0.5318 GB, free: 127.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04973/1.134, allocations: 31.64 MB / 0.5627 GB, free: 123.5 MB / 442.7 MB