Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.925e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09211, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.539, allocations: 86.06 MB / 428.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5393, allocations: 81.39 kB / 428.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03991/0.5793, allocations: 10.32 MB / 439 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.5793, allocations: 0 / 439 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.5794, allocations: 12 kB / 439 MB, free: 15.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001441/0.5808, allocations: 0.698 MB / 439.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5809, allocations: 8.031 kB / 439.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.581, allocations: 55.34 kB / 439.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.5818, allocations: 385.1 kB / 440.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.5819, allocations: 40.42 kB / 440.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.582, allocations: 41.25 kB / 440.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.583, allocations: 464.6 kB / 440.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.583, allocations: 4 kB / 440.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.5831, allocations: 17.75 kB / 440.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5831, allocations: 11.98 kB / 440.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.5839, allocations: 315.5 kB / 441 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.5873, allocations: 1.645 MB / 442.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.5881, allocations: 283.4 kB / 443 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.5883, allocations: 101.6 kB / 443.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.5884, allocations: 4 kB / 443.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.5889, allocations: 235.6 kB / 443.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.524e-06/0.5889, allocations: 0 / 443.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008307/0.5897, allocations: 309.8 kB / 443.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.5899, allocations: 144.5 kB / 443.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.5904, allocations: 313.3 kB / 444 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.5905, allocations: 41.39 kB / 444.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.5907, allocations: 296.5 kB / 444.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5909, allocations: 88.17 kB / 444.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.5909, allocations: 11.56 kB / 444.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5911, allocations: 329.8 kB / 444.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.5914, allocations: 115.1 kB / 444.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.5918, allocations: 265.2 kB / 445.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.5921, allocations: 130.9 kB / 445.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-06/0.5921, allocations: 4 kB / 445.3 MB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008909/0.593, allocations: 401.3 kB / 445.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009177/0.594, allocations: 1.664 MB / 447.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.594, allocations: 4 kB / 447.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.5943, allocations: 43.62 kB / 447.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.5947, allocations: 83.19 kB / 447.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.5965, allocations: 1.491 MB / 449 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.5971, allocations: 78.39 kB / 449 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.5971, allocations: 15.69 kB / 449.1 MB, free: 6.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5971, allocations: 7.953 kB / 449.1 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007855/0.5979, allocations: 349.2 kB / 449.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.598, allocations: 8 kB / 449.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.5981, allocations: 43.84 kB / 449.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.5985, allocations: 67.12 kB / 449.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.6002, allocations: 1.482 MB / 451 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.6006, allocations: 68.97 kB / 451.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.6006, allocations: 15.88 kB / 451.1 MB, free: 4.191 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (48): * Single equations (assignments): 47 * 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.0002058/0.6008, allocations: 148.2 kB / 451.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.601, allocations: 31.62 kB / 451.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.6011, allocations: 41.75 kB / 451.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.032e-06/0.6011, allocations: 4 kB / 451.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-06/0.6011, allocations: 128 / 451.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6011, allocations: 7.984 kB / 451.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.6029, allocations: 0.8822 MB / 452.2 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-06/0.6029, allocations: 4 kB / 452.2 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.6031, allocations: 27.17 kB / 452.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.6033, allocations: 38.78 kB / 452.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.6034, allocations: 11.86 kB / 452.3 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.605, allocations: 1.408 MB / 453.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-06/0.605, allocations: 0 / 453.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.6061, allocations: 0.5347 MB / 454.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.6063, allocations: 138.7 kB / 454.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.6064, allocations: 19.98 kB / 454.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.6068, allocations: 35.84 kB / 454.4 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.607, allocations: 30.95 kB / 454.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.607, allocations: 11.98 kB / 454.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.6074, allocations: 236.3 kB / 454.7 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.6074, allocations: 4 kB / 454.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001067/0.6085, allocations: 212.1 kB / 454.9 MB, free: 0.7031 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (27): * Single equations (assignments): 21 * 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.0002267/0.6087, allocations: 135 kB / 455 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.6101, allocations: 0.6908 MB / 455.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.234e-06/0.6101, allocations: 0 / 455.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.6106, allocations: 247 kB / 456 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.611, allocations: 57.38 kB / 456 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.6127, allocations: 0.6142 MB / 456.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.6133, allocations: 0.8511 MB / 457.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.6134, allocations: 37.8 kB / 457.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.45e-06/0.6135, allocations: 0 / 457.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01276/0.6262, allocations: 6.992 MB / 464.5 MB, free: 7.375 MB / 378.7 MB