Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.988e-05, allocations: 6.5 kB / 292.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09384, allocations: 50.4 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.505, allocations: 94.27 MB / 436.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5053, allocations: 84.12 kB / 436.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1463/0.6516, allocations: 38.57 MB / 475.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.021e-06/0.6517, allocations: 4 kB / 475.5 MB, free: 13.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001787/0.6518, allocations: 59.92 kB / 475.5 MB, free: 13.86 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.005843/0.6577, allocations: 2.012 MB / 477.5 MB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6578, allocations: 15.95 kB / 477.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.6587, allocations: 229.3 kB / 477.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007633/0.6664, allocations: 2.117 MB / 479.9 MB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.6666, allocations: 147.5 kB / 480 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.6671, allocations: 180 kB / 480.2 MB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.6732, allocations: 2.42 MB / 482.6 MB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.6733, allocations: 0 / 482.6 MB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.6736, allocations: 79.98 kB / 482.7 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.6737, allocations: 79.58 kB / 482.8 MB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.6791, allocations: 1.951 MB / 484.8 MB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.6962, allocations: 7.056 MB / 491.8 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.6996, allocations: 1.573 MB / 493.4 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.7018, allocations: 0.9928 MB / 494.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.7019, allocations: 13 kB / 494.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/0.7039, allocations: 0.9094 MB / 495.3 MB, free: 9.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 5.022e-06/0.7039, allocations: 0 / 495.3 MB, free: 9.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.004179/0.7081, allocations: 1.692 MB / 497 MB, free: 8.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.7083, allocations: 183.5 kB / 497.2 MB, free: 7.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.7107, allocations: 1.08 MB / 498.2 MB, free: 6.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.711, allocations: 81.67 kB / 498.3 MB, free: 6.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/0.7119, allocations: 0.7517 MB / 499.1 MB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.7125, allocations: 390.7 kB / 499.5 MB, free: 5.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7126, allocations: 31.94 kB / 499.5 MB, free: 5.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.7129, allocations: 366.8 kB / 499.8 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.7144, allocations: 0.6716 MB / 0.4888 GB, free: 4.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.7162, allocations: 0.942 MB / 0.4897 GB, free: 3.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.7178, allocations: 0.727 MB / 0.4904 GB, free: 2.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7178, allocations: 8 kB / 0.4904 GB, free: 2.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004274/0.7221, allocations: 1.915 MB / 0.4923 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001403/0.7236, allocations: 2.445 MB / 0.4947 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.7236, allocations: 8 kB / 0.4947 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.7253, allocations: 494.6 kB / 0.4952 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7264, allocations: 187.7 kB / 0.4953 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.7365, allocations: 5.221 MB / 0.5004 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.7382, allocations: 199 kB / 0.5006 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.7383, allocations: 51.94 kB / 0.5007 GB, free: 7.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7384, allocations: 4 kB / 0.5007 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004091/0.7425, allocations: 1.851 MB / 0.5025 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.7425, allocations: 8.812 kB / 0.5025 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.744, allocations: 488.5 kB / 0.503 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.745, allocations: 179.6 kB / 0.5031 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/0.7549, allocations: 5.291 MB / 0.5083 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.756, allocations: 155.2 kB / 0.5085 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.7562, allocations: 52 kB / 0.5085 GB, free: 15.66 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 (143): * Single equations (assignments): 142 * 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.0004937/0.7567, allocations: 247.7 kB / 0.5087 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.7571, allocations: 130.4 kB / 0.5089 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.7577, allocations: 181.8 kB / 0.509 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.7577, allocations: 15.94 kB / 0.5091 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.528e-06/0.7577, allocations: 0 / 0.5091 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.7578, allocations: 11.92 kB / 0.5091 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008282/0.7661, allocations: 3.722 MB / 0.5127 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.098e-06/0.7661, allocations: 4 kB / 0.5127 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.7669, allocations: 123.8 kB / 0.5128 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.7684, allocations: 460.8 kB / 0.5133 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.7686, allocations: 27.98 kB / 0.5133 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009942/0.7786, allocations: 5.151 MB / 0.5183 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-06/0.7786, allocations: 4 kB / 0.5183 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005841/0.7845, allocations: 2.715 MB / 0.521 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.7857, allocations: 387.2 kB / 0.5213 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.786, allocations: 39.98 kB / 0.5214 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7871, allocations: 111.9 kB / 0.5215 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006988/0.7879, allocations: 225 kB / 0.5217 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.788, allocations: 39.98 kB / 0.5217 GB, free: 1.844 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001735/0.7897, allocations: 0.8131 MB / 0.5225 GB, free: 1.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.397e-06/0.7898, allocations: 4 kB / 0.5225 GB, free: 1.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003067/0.7928, allocations: 0.8721 MB / 0.5234 GB, free: 144 kB / 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[2].off,rectifier.thyristor_p.idealThyristor[3].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 (96): * Single equations (assignments): 86 * 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.2323/1.025, allocations: 214 kB / 0.5236 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007132/1.032, allocations: 3.046 MB / 0.5266 GB, free: 128.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.032, allocations: 0.5625 kB / 0.5266 GB, free: 128.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.035, allocations: 1.062 MB / 0.5276 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.037, allocations: 325.5 kB / 0.5279 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/1.044, allocations: 2.938 MB / 0.5308 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/1.046, allocations: 1.733 MB / 0.5325 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.046, allocations: 89.53 kB / 0.5326 GB, free: 127.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.16e-06/1.046, allocations: 0 / 0.5326 GB, free: 127.3 MB / 442.7 MB Notification: Performance of Templates: time 0.049/1.095, allocations: 32.14 MB / 0.5639 GB, free: 123 MB / 442.7 MB