Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.813e-05, allocations: 0 / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08871, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4399, allocations: 91.03 MB / 408 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4402, allocations: 88.38 kB / 408.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1099/0.5501, allocations: 29.01 MB / 437.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5502, allocations: 0 / 437.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.5503, allocations: 39.94 kB / 437.1 MB, free: 4.602 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003835/0.5542, allocations: 1.557 MB / 438.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5542, allocations: 11.97 kB / 438.7 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.5547, allocations: 162 kB / 438.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.5601, allocations: 1.637 MB / 440.5 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.5603, allocations: 113.8 kB / 440.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.5606, allocations: 131.8 kB / 440.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.5642, allocations: 1.676 MB / 442.4 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.5643, allocations: 7.984 kB / 442.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.5645, allocations: 52.31 kB / 442.4 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/0.5646, allocations: 58.52 kB / 442.5 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.5675, allocations: 1.328 MB / 443.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.5782, allocations: 5.019 MB / 448.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.5806, allocations: 1.045 MB / 449.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5819, allocations: 0.5693 MB / 450.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/0.582, allocations: 8.781 kB / 450.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.5832, allocations: 0.6135 MB / 451.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 4.672e-06/0.5832, allocations: 4 kB / 451.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.002524/0.5858, allocations: 1.007 MB / 452.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5859, allocations: 153.3 kB / 452.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5875, allocations: 0.7654 MB / 453 MB, free: 6.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.5876, allocations: 57.69 kB / 453.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000713/0.5883, allocations: 0.5851 MB / 453.7 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.5887, allocations: 252.6 kB / 453.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.5888, allocations: 19.94 kB / 453.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.589, allocations: 341.9 kB / 454.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009064/0.5899, allocations: 409.8 kB / 454.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.5911, allocations: 0.632 MB / 455.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.5921, allocations: 449.9 kB / 455.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.583e-06/0.5921, allocations: 4 kB / 455.7 MB, free: 4.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002747/0.5948, allocations: 1.207 MB / 456.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001374/0.5962, allocations: 2.524 MB / 459.5 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5963, allocations: 4 kB / 459.5 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/0.5971, allocations: 216.7 kB / 459.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.598, allocations: 163.8 kB / 459.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00457/0.6026, allocations: 2.777 MB / 462.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.6038, allocations: 155.2 kB / 462.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.6039, allocations: 36 kB / 462.8 MB, free: 12.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6039, allocations: 8 kB / 462.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002474/0.6064, allocations: 1.097 MB / 463.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6065, allocations: 4 kB / 463.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/0.6072, allocations: 220.9 kB / 464.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/0.608, allocations: 159.9 kB / 464.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.6124, allocations: 2.768 MB / 467 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6136, allocations: 139.4 kB / 467.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6137, allocations: 36 kB / 467.2 MB, free: 8.176 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.6141, allocations: 204.8 kB / 467.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.6144, allocations: 102.8 kB / 467.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.6147, allocations: 109.3 kB / 467.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.6147, allocations: 8 kB / 467.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6147, allocations: 0 / 467.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.6148, allocations: 3.984 kB / 467.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/0.6204, allocations: 2.588 MB / 470.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.533e-06/0.6204, allocations: 0 / 470.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.6211, allocations: 99.81 kB / 470.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.6218, allocations: 192.7 kB / 470.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.6219, allocations: 28.05 kB / 470.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.6264, allocations: 2.724 MB / 473.3 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.045e-06/0.6264, allocations: 4 kB / 473.3 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.6299, allocations: 1.684 MB / 475 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.6307, allocations: 271.7 kB / 475.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.6309, allocations: 20 kB / 475.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.6317, allocations: 100.1 kB / 475.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/0.6321, allocations: 144.6 kB / 475.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.6322, allocations: 31.92 kB / 475.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.6334, allocations: 0.5849 MB / 476.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.6334, allocations: 0 / 476.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002138/0.6355, allocations: 0.5837 MB / 476.7 MB, free: 14.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.6359, allocations: 172.4 kB / 476.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.6399, allocations: 1.882 MB / 478.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.164e-06/0.6399, allocations: 0 / 478.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.6414, allocations: 0.6956 MB / 479.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.6427, allocations: 199.9 kB / 479.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.6476, allocations: 2.006 MB / 481.6 MB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.6492, allocations: 1.41 MB / 483 MB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001661/0.6509, allocations: 427.1 kB / 483.5 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.6511, allocations: 63.36 kB / 483.5 MB, free: 7.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.676e-06/0.6511, allocations: 0 / 483.5 MB, free: 7.492 MB / 394.7 MB Notification: Performance of Templates: time 0.04259/0.6937, allocations: 16.88 MB / 0.4887 GB, free: 6.684 MB / 410.7 MB