Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.442e-05, allocations: 3.984 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 50.43 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.511, allocations: 94.13 MB / 436.7 MB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5113, allocations: 82.45 kB / 436.8 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2272/0.7385, allocations: 49.58 MB / 486.4 MB, free: 2.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.106e-06/0.7386, allocations: 8 kB / 486.4 MB, free: 2.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001764/0.7387, allocations: 55.92 kB / 486.4 MB, free: 2.906 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.005396/0.7442, allocations: 2 MB / 488.4 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7442, allocations: 12.03 kB / 488.4 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008482/0.7451, allocations: 225.3 kB / 488.7 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/0.7524, allocations: 2.105 MB / 490.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.7527, allocations: 143.5 kB / 490.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.7531, allocations: 180 kB / 491.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/0.7587, allocations: 2.4 MB / 493.5 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.7588, allocations: 3.938 kB / 493.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.7591, allocations: 75.98 kB / 493.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.7592, allocations: 79.53 kB / 493.6 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.7646, allocations: 1.94 MB / 495.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.781, allocations: 7.017 MB / 0.4908 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.7842, allocations: 1.567 MB / 0.4923 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.7862, allocations: 0.9578 MB / 0.4933 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.7863, allocations: 17 kB / 0.4933 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.7882, allocations: 0.9016 MB / 0.4942 GB, free: 14.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.319e-06/0.7882, allocations: 0 / 0.4942 GB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.003964/0.7922, allocations: 1.695 MB / 0.4958 GB, free: 13.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.7924, allocations: 179.5 kB / 0.496 GB, free: 13.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.7947, allocations: 1.075 MB / 0.497 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.795, allocations: 77.67 kB / 0.4971 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000901/0.7959, allocations: 0.7478 MB / 0.4979 GB, free: 11.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/0.7965, allocations: 382.8 kB / 0.4982 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7966, allocations: 32 kB / 0.4982 GB, free: 10.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.7969, allocations: 362.8 kB / 0.4986 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.7983, allocations: 0.6716 MB / 0.4993 GB, free: 9.637 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.8001, allocations: 0.9418 MB / 0.5002 GB, free: 8.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8017, allocations: 0.7272 MB / 0.5009 GB, free: 7.867 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.709e-06/0.8018, allocations: 0 / 0.5009 GB, free: 7.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004149/0.8059, allocations: 1.911 MB / 0.5027 GB, free: 5.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001385/0.8073, allocations: 2.449 MB / 0.5051 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.8074, allocations: 4 kB / 0.5051 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.809, allocations: 498.6 kB / 0.5056 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.8101, allocations: 191.6 kB / 0.5058 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/0.8199, allocations: 5.217 MB / 0.5109 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8215, allocations: 191 kB / 0.5111 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.8217, allocations: 48 kB / 0.5111 GB, free: 13.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8217, allocations: 11.94 kB / 0.5111 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/0.8257, allocations: 1.847 MB / 0.5129 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.8258, allocations: 4 kB / 0.5129 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.8272, allocations: 488.8 kB / 0.5134 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.8282, allocations: 183.7 kB / 0.5136 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.8377, allocations: 5.276 MB / 0.5187 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.8388, allocations: 167.2 kB / 0.5189 GB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.8389, allocations: 47.98 kB / 0.5189 GB, free: 4.895 MB / 442.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 (142): * Single equations (assignments): 141 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004958/0.8394, allocations: 251.7 kB / 0.5192 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.8399, allocations: 138.3 kB / 0.5193 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.8404, allocations: 173.6 kB / 0.5195 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.8404, allocations: 12 kB / 0.5195 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.8404, allocations: 3.953 kB / 0.5195 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.8404, allocations: 7.969 kB / 0.5195 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007921/0.8484, allocations: 3.709 MB / 0.5231 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.8484, allocations: 3.953 kB / 0.5231 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.8491, allocations: 111.8 kB / 0.5232 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2384/1.088, allocations: 460.7 kB / 0.5237 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.088, allocations: 24.53 kB / 0.5237 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009947/1.098, allocations: 5.145 MB / 0.5287 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.078e-06/1.098, allocations: 5.719 kB / 0.5287 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/1.104, allocations: 2.701 MB / 0.5314 GB, free: 126.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.105, allocations: 378.9 kB / 0.5317 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.105, allocations: 44.14 kB / 0.5318 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.106, allocations: 106.3 kB / 0.5319 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/1.107, allocations: 234.2 kB / 0.5321 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.107, allocations: 35.27 kB / 0.5321 GB, free: 126.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001582/1.109, allocations: 0.8097 MB / 0.5329 GB, free: 126 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.99e-07/1.109, allocations: 0 / 0.5329 GB, free: 126 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003011/1.112, allocations: 0.8739 MB / 0.5338 GB, free: 125.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003949/1.112, allocations: 213.2 kB / 0.534 GB, free: 125.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006238/1.118, allocations: 3.037 MB / 0.5369 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.118, allocations: 2.609 kB / 0.5369 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.12, allocations: 1.063 MB / 0.538 GB, free: 125.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.123, allocations: 320.2 kB / 0.5383 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/1.13, allocations: 2.924 MB / 0.5411 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/1.132, allocations: 1.724 MB / 0.5428 GB, free: 124 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/1.132, allocations: 90.59 kB / 0.5429 GB, free: 124 MB / 442.7 MB Notification: Performance of SimCode: time 1.577e-06/1.132, allocations: 0 / 0.5429 GB, free: 124 MB / 442.7 MB Notification: Performance of Templates: time 0.04638/1.178, allocations: 31.94 MB / 0.5741 GB, free: 118 MB / 442.7 MB