Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.507e-05, allocations: 4 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.0892, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4621, allocations: 93.83 MB / 436.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4624, allocations: 86.94 kB / 437 MB, free: 464 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1472/0.6097, allocations: 38.86 MB / 475.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.446e-06/0.6097, allocations: 0 / 475.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001536/0.6099, allocations: 51.94 kB / 475.9 MB, free: 13.71 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.005054/0.615, allocations: 2.099 MB / 478 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.615, allocations: 8.031 kB / 478 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.6156, allocations: 237.2 kB / 478.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/0.6224, allocations: 2.012 MB / 480.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.6226, allocations: 147.5 kB / 480.4 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.6231, allocations: 184 kB / 480.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005693/0.6288, allocations: 2.419 MB / 483 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.6289, allocations: 0 / 483 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.6292, allocations: 83.97 kB / 483.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.6293, allocations: 79.58 kB / 483.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.6342, allocations: 2.022 MB / 485.2 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.6503, allocations: 7.412 MB / 492.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.6539, allocations: 1.645 MB / 494.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.6559, allocations: 0.9636 MB / 495.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.656, allocations: 16.94 kB / 495.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.6578, allocations: 0.885 MB / 496.1 MB, free: 9.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 4.533e-06/0.6579, allocations: 0 / 496.1 MB, free: 9.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.003632/0.6615, allocations: 1.575 MB / 497.7 MB, free: 7.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6617, allocations: 161.5 kB / 497.9 MB, free: 7.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.664, allocations: 1.125 MB / 499 MB, free: 6.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.6642, allocations: 73.61 kB / 499 MB, free: 6.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009796/0.6651, allocations: 0.793 MB / 499.8 MB, free: 5.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004669/0.6656, allocations: 374.9 kB / 0.4885 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6657, allocations: 20 kB / 0.4885 GB, free: 4.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.666, allocations: 353.9 kB / 0.4888 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6674, allocations: 0.6195 MB / 0.4894 GB, free: 3.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.669, allocations: 0.8407 MB / 0.4903 GB, free: 3.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6704, allocations: 0.6528 MB / 0.4909 GB, free: 2.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.521e-06/0.6704, allocations: 4 kB / 0.4909 GB, free: 2.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003998/0.6744, allocations: 1.793 MB / 0.4927 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.6755, allocations: 1.938 MB / 0.4946 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.6756, allocations: 4 kB / 0.4946 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.677, allocations: 438.7 kB / 0.495 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6781, allocations: 211.6 kB / 0.4952 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.6862, allocations: 4.389 MB / 0.4995 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6878, allocations: 175.1 kB / 0.4996 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.6879, allocations: 48 kB / 0.4997 GB, free: 9.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.688, allocations: 4 kB / 0.4997 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/0.6916, allocations: 1.656 MB / 0.5013 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6917, allocations: 4 kB / 0.5013 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.693, allocations: 432.2 kB / 0.5017 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.6941, allocations: 191.8 kB / 0.5019 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/0.7021, allocations: 4.402 MB / 0.5062 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7036, allocations: 171.2 kB / 0.5064 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.7037, allocations: 40 kB / 0.5064 GB, free: 2.07 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.0004691/0.7042, allocations: 228.5 kB / 0.5066 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.7046, allocations: 134.4 kB / 0.5067 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.7051, allocations: 177.4 kB / 0.5069 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7051, allocations: 15.94 kB / 0.5069 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-06/0.7051, allocations: 0 / 0.5069 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.7051, allocations: 7.984 kB / 0.5069 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008228/0.7134, allocations: 3.775 MB / 0.5106 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.756e-06/0.7134, allocations: 0 / 0.5106 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/0.7144, allocations: 147.8 kB / 0.5108 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.7156, allocations: 392.5 kB / 0.5111 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.7157, allocations: 27.98 kB / 0.5112 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007853/0.7236, allocations: 4.33 MB / 0.5154 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.7236, allocations: 3.938 kB / 0.5154 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.7291, allocations: 2.647 MB / 0.518 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.7302, allocations: 391 kB / 0.5184 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.7305, allocations: 28 kB / 0.5184 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7316, allocations: 123.9 kB / 0.5185 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.7322, allocations: 228.6 kB / 0.5187 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.7324, allocations: 35.98 kB / 0.5188 GB, free: 5.176 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.7341, allocations: 0.8575 MB / 0.5196 GB, free: 4.309 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.17e-07/0.7341, allocations: 4 kB / 0.5196 GB, free: 4.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002761/0.7369, allocations: 0.868 MB / 0.5204 GB, free: 3.434 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.0003872/0.7373, allocations: 196.5 kB / 0.5206 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006195/0.7435, allocations: 2.855 MB / 0.5234 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.521e-06/0.7436, allocations: 1.25 kB / 0.5234 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2344/0.978, allocations: 1.009 MB / 0.5244 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.001805/0.9798, allocations: 301 kB / 0.5247 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.987, allocations: 3.009 MB / 0.5276 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.9889, allocations: 1.8 MB / 0.5294 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002513/0.9915, allocations: 0.6539 MB / 0.53 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.9918, allocations: 69.78 kB / 0.5301 GB, free: 127.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.728e-06/0.9918, allocations: 4.406 kB / 0.5301 GB, free: 127.2 MB / 442.7 MB Notification: Performance of Templates: time 0.06119/1.053, allocations: 27.49 MB / 0.5569 GB, free: 125.9 MB / 442.7 MB