Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.202e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09154, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5391, allocations: 93.69 MB / 436.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5394, allocations: 87.5 kB / 436.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1459/0.6853, allocations: 38.71 MB / 475.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.873e-06/0.6854, allocations: 0 / 475.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.6855, allocations: 55.88 kB / 475.1 MB, free: 14.32 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.004956/0.6905, allocations: 2.075 MB / 477.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6906, allocations: 12.03 kB / 477.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.6912, allocations: 241.2 kB / 477.4 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/0.6979, allocations: 2.008 MB / 479.4 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.6981, allocations: 143.5 kB / 479.6 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.6985, allocations: 179.9 kB / 479.8 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/0.704, allocations: 2.419 MB / 482.2 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.7041, allocations: 3.984 kB / 482.2 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.7044, allocations: 75.98 kB / 482.3 MB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.7045, allocations: 71.58 kB / 482.3 MB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.7092, allocations: 2.022 MB / 484.3 MB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.7255, allocations: 7.522 MB / 491.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.7286, allocations: 1.512 MB / 493.4 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.7306, allocations: 0.9439 MB / 494.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.7307, allocations: 13 kB / 494.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.7325, allocations: 0.8811 MB / 495.2 MB, free: 9.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.349e-06/0.7325, allocations: 3.938 kB / 495.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.003595/0.7362, allocations: 1.552 MB / 496.8 MB, free: 8.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.7363, allocations: 153.5 kB / 496.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.7387, allocations: 1.153 MB / 498.1 MB, free: 6.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.739, allocations: 69.67 kB / 498.1 MB, free: 6.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008942/0.7399, allocations: 0.7673 MB / 498.9 MB, free: 6.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.7404, allocations: 363 kB / 499.3 MB, free: 5.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.7405, allocations: 24 kB / 499.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.7407, allocations: 358.8 kB / 499.6 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.7421, allocations: 0.6155 MB / 0.4885 GB, free: 4.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.7437, allocations: 0.8406 MB / 0.4893 GB, free: 3.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.7451, allocations: 0.6412 MB / 0.49 GB, free: 3.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.436e-06/0.7451, allocations: 8 kB / 0.49 GB, free: 3.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003745/0.7489, allocations: 1.701 MB / 0.4916 GB, free: 1.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001101/0.75, allocations: 1.923 MB / 0.4935 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.75, allocations: 7.938 kB / 0.4935 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.7515, allocations: 435 kB / 0.4939 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.7526, allocations: 187.7 kB / 0.4941 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.7608, allocations: 4.402 MB / 0.4984 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.7624, allocations: 175.2 kB / 0.4986 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.7625, allocations: 44 kB / 0.4986 GB, free: 9.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7625, allocations: 4 kB / 0.4986 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003639/0.7662, allocations: 1.648 MB / 0.5002 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7662, allocations: 8.625 kB / 0.5003 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.7675, allocations: 428.2 kB / 0.5007 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.7685, allocations: 183.7 kB / 0.5008 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007963/0.7765, allocations: 4.458 MB / 0.5052 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/0.7775, allocations: 155.2 kB / 0.5053 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.7777, allocations: 40 kB / 0.5054 GB, free: 2.906 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 (128): * Single equations (assignments): 127 * 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.0004686/0.7782, allocations: 227 kB / 0.5056 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.7786, allocations: 142.3 kB / 0.5057 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.7791, allocations: 177.3 kB / 0.5059 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.7792, allocations: 12 kB / 0.5059 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-06/0.7792, allocations: 3.938 kB / 0.5059 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.7792, allocations: 3.984 kB / 0.5059 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/0.7878, allocations: 3.756 MB / 0.5096 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.7878, allocations: 0 / 0.5096 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.7887, allocations: 127.7 kB / 0.5097 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.7899, allocations: 404.4 kB / 0.5101 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.79, allocations: 27.98 kB / 0.5101 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007918/0.798, allocations: 4.337 MB / 0.5144 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-06/0.798, allocations: 0 / 0.5144 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.8036, allocations: 2.595 MB / 0.5169 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.8047, allocations: 383.2 kB / 0.5173 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.8051, allocations: 31.98 kB / 0.5173 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8061, allocations: 111.9 kB / 0.5174 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/0.8068, allocations: 232.6 kB / 0.5176 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.8069, allocations: 31.98 kB / 0.5176 GB, free: 6.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001822/0.8088, allocations: 0.8773 MB / 0.5185 GB, free: 5.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.8088, allocations: 0 / 0.5185 GB, free: 5.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002869/0.8117, allocations: 0.8563 MB / 0.5193 GB, free: 4.355 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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * 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.0004005/0.8121, allocations: 204.3 kB / 0.5195 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005894/0.818, allocations: 2.79 MB / 0.5223 GB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.054e-06/0.818, allocations: 4.906 kB / 0.5223 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.8201, allocations: 0.9922 MB / 0.5232 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.8219, allocations: 303.3 kB / 0.5235 GB, free: 36 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2404/1.062, allocations: 2.958 MB / 0.5264 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.064, allocations: 1.757 MB / 0.5281 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/1.065, allocations: 93.86 kB / 0.5282 GB, free: 127.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.026e-06/1.065, allocations: 0 / 0.5282 GB, free: 127.2 MB / 442.7 MB Notification: Performance of Templates: time 0.05031/1.115, allocations: 32.13 MB / 0.5596 GB, free: 123.5 MB / 442.7 MB