Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.42e-05, allocations: 8 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.3687, allocations: 78.88 MB / 373 MB, free: 3.098 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.369, allocations: 87.88 kB / 373.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03648/0.4055, allocations: 9.133 MB / 382.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.129e-06/0.4055, allocations: 0 / 382.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.4056, allocations: 8 kB / 382.2 MB, free: 9.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00147/0.4071, allocations: 0.6876 MB / 382.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4071, allocations: 12.02 kB / 382.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4073, allocations: 55.44 kB / 383 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.408, allocations: 374.7 kB / 383.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.4081, allocations: 12 kB / 383.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.4082, allocations: 27.98 kB / 383.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007316/0.4089, allocations: 273.5 kB / 383.7 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.4098, allocations: 374.2 kB / 384 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.4099, allocations: 15.88 kB / 384 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.4099, allocations: 0 / 384 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.41, allocations: 12 kB / 384 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.4133, allocations: 1.498 MB / 385.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.4143, allocations: 343.2 kB / 385.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.4146, allocations: 97.31 kB / 386 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.4146, allocations: 8.219 kB / 386 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.4151, allocations: 225.2 kB / 386.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.877e-06/0.4152, allocations: 0 / 386.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008703/0.416, allocations: 293.9 kB / 386.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.4162, allocations: 114.8 kB / 386.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.4166, allocations: 261.1 kB / 386.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.4167, allocations: 33.7 kB / 386.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4169, allocations: 282.6 kB / 387.2 MB, free: 4.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4171, allocations: 90.7 kB / 387.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.4171, allocations: 4 kB / 387.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4173, allocations: 326.8 kB / 387.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.4175, allocations: 96.86 kB / 387.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.4179, allocations: 242 kB / 387.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4182, allocations: 115.9 kB / 388 MB, free: 3.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4183, allocations: 4 kB / 388 MB, free: 3.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000832/0.4191, allocations: 347.4 kB / 388.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009512/0.4201, allocations: 1.663 MB / 390 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4201, allocations: 4 kB / 390 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.4204, allocations: 48.77 kB / 390.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.4208, allocations: 71.91 kB / 390.1 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.4226, allocations: 1.443 MB / 391.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.4231, allocations: 59.78 kB / 391.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.4232, allocations: 16 kB / 391.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4232, allocations: 11.89 kB / 391.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000729/0.424, allocations: 304.8 kB / 392 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.424, allocations: 8 kB / 392 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.4242, allocations: 36.84 kB / 392 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.4245, allocations: 71.89 kB / 392.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.4262, allocations: 1.443 MB / 393.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4266, allocations: 51.78 kB / 393.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4267, allocations: 20 kB / 393.6 MB, free: 13.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.4269, allocations: 134.8 kB / 393.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4271, allocations: 35.62 kB / 393.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.4272, allocations: 40.23 kB / 393.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.543e-06/0.4272, allocations: 4 kB / 393.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4272, allocations: 8.125 kB / 393.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.4273, allocations: 0 / 393.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.4289, allocations: 0.761 MB / 394.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.4289, allocations: 0 / 394.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4292, allocations: 47.91 kB / 394.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.4294, allocations: 40.83 kB / 394.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.4295, allocations: 4.094 kB / 394.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.4311, allocations: 1.347 MB / 396 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.454e-06/0.4311, allocations: 192 / 396 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4322, allocations: 0.5114 MB / 396.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.4324, allocations: 136.7 kB / 396.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.4325, allocations: 11.98 kB / 396.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.433, allocations: 36.03 kB / 396.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4331, allocations: 35.94 kB / 396.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4331, allocations: 12 kB / 396.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.4335, allocations: 196.6 kB / 396.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4335, allocations: 0 / 396.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001062/0.4345, allocations: 179.3 kB / 397.1 MB, free: 10 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.4348, allocations: 118.9 kB / 397.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.4361, allocations: 0.6456 MB / 397.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.796e-06/0.4361, allocations: 0 / 397.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.4366, allocations: 241.6 kB / 398.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.437, allocations: 42.14 kB / 398.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4386, allocations: 0.5877 MB / 398.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.4393, allocations: 0.8431 MB / 399.6 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4394, allocations: 31.44 kB / 399.6 MB, free: 7.41 MB / 346.7 MB Notification: Performance of SimCode: time 3.705e-06/0.4394, allocations: 3.938 kB / 399.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Templates: time 0.01276/0.4522, allocations: 6.558 MB / 406.2 MB, free: 0.8633 MB / 346.7 MB