Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.272e-05, allocations: 4 kB / 292.2 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09488, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4747, allocations: 93.89 MB / 436.5 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.475, allocations: 89.88 kB / 436.5 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1488/0.6238, allocations: 38.85 MB / 475.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.6239, allocations: 0 / 475.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001736/0.624, allocations: 51.94 kB / 475.4 MB, free: 13.98 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.005918/0.63, allocations: 2.107 MB / 477.6 MB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6301, allocations: 8.031 kB / 477.6 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.6309, allocations: 237.2 kB / 477.8 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006992/0.638, allocations: 2.008 MB / 479.8 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.6382, allocations: 143.5 kB / 479.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/0.6388, allocations: 184 kB / 480.1 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006153/0.645, allocations: 2.423 MB / 482.5 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.6451, allocations: 0 / 482.5 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.6454, allocations: 75.98 kB / 482.6 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.6455, allocations: 79.58 kB / 482.7 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005323/0.6508, allocations: 2.026 MB / 484.7 MB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.6685, allocations: 7.404 MB / 492.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.6723, allocations: 1.648 MB / 493.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.6745, allocations: 0.9712 MB / 494.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.972e-05/0.6746, allocations: 9 kB / 494.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002064/0.6767, allocations: 0.8889 MB / 495.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 5.596e-06/0.6767, allocations: 0 / 495.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.003809/0.6805, allocations: 1.579 MB / 497.2 MB, free: 7.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.6807, allocations: 157.4 kB / 497.4 MB, free: 7.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.6832, allocations: 1.129 MB / 498.5 MB, free: 6.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.6835, allocations: 65.69 kB / 498.6 MB, free: 6.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000928/0.6845, allocations: 0.7713 MB / 499.3 MB, free: 5.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.685, allocations: 370.8 kB / 499.7 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.6852, allocations: 24 kB / 499.7 MB, free: 5.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.6854, allocations: 358.8 kB / 0.4884 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.6869, allocations: 0.6234 MB / 0.489 GB, free: 4.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.6885, allocations: 0.8407 MB / 0.4898 GB, free: 3.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.69, allocations: 0.6489 MB / 0.4904 GB, free: 2.641 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.69, allocations: 0 / 0.4904 GB, free: 2.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003925/0.6939, allocations: 1.708 MB / 0.4921 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.6951, allocations: 1.931 MB / 0.494 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6951, allocations: 4 kB / 0.494 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6966, allocations: 434.4 kB / 0.4944 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.6978, allocations: 203.6 kB / 0.4946 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/0.706, allocations: 4.392 MB / 0.4989 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7075, allocations: 175.2 kB / 0.499 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.7077, allocations: 44.09 kB / 0.4991 GB, free: 9.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.7078, allocations: 4 kB / 0.4991 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/0.7115, allocations: 1.655 MB / 0.5007 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.7116, allocations: 4 kB / 0.5007 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.7128, allocations: 432.8 kB / 0.5011 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7139, allocations: 187.7 kB / 0.5013 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00805/0.722, allocations: 4.458 MB / 0.5057 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.723, allocations: 163.2 kB / 0.5058 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.7232, allocations: 44 kB / 0.5059 GB, free: 2.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (129): * Single equations (assignments): 128 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.000483/0.7237, allocations: 224.8 kB / 0.5061 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.7242, allocations: 142.3 kB / 0.5062 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.7247, allocations: 173.4 kB / 0.5064 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.7247, allocations: 19.92 kB / 0.5064 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.472e-06/0.7247, allocations: 0 / 0.5064 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.7248, allocations: 7.969 kB / 0.5064 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008453/0.7332, allocations: 3.776 MB / 0.5101 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.493e-06/0.7333, allocations: 3.938 kB / 0.5101 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/0.7342, allocations: 147.8 kB / 0.5102 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.7355, allocations: 392.6 kB / 0.5106 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.7356, allocations: 23.98 kB / 0.5106 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007913/0.7436, allocations: 4.347 MB / 0.5149 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-06/0.7436, allocations: 0 / 0.5149 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/0.7492, allocations: 2.632 MB / 0.5174 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.7503, allocations: 383.2 kB / 0.5178 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.7506, allocations: 35.98 kB / 0.5178 GB, free: 5.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7517, allocations: 123.9 kB / 0.518 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006594/0.7524, allocations: 232.6 kB / 0.5182 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.7525, allocations: 31.98 kB / 0.5182 GB, free: 5.512 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.7543, allocations: 0.8615 MB / 0.519 GB, free: 4.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.7543, allocations: 0 / 0.519 GB, free: 4.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002759/0.7571, allocations: 0.864 MB / 0.5199 GB, free: 3.773 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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 87 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.7575, allocations: 204.5 kB / 0.5201 GB, free: 3.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.7637, allocations: 2.804 MB / 0.5228 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.7638, allocations: 4.781 kB / 0.5228 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2338/0.9976, allocations: 1.001 MB / 0.5238 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.9995, allocations: 303.9 kB / 0.5241 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/1.007, allocations: 2.994 MB / 0.527 GB, free: 127.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.009, allocations: 1.762 MB / 0.5287 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/1.009, allocations: 88.91 kB / 0.5288 GB, free: 127.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/1.009, allocations: 1.531 kB / 0.5288 GB, free: 127.1 MB / 442.7 MB Notification: Performance of Templates: time 0.04832/1.058, allocations: 32.28 MB / 0.5604 GB, free: 123.3 MB / 442.7 MB