Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.228/2.228, allocations: 224.8 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.693e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV): time 0.006985/0.1173, allocations: 3.914 MB / 348.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.1208, allocations: 1.189 MB / 350.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.1215, allocations: 27.94 kB / 350.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.122, allocations: 103.2 kB / 350.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.1228, allocations: 215.3 kB / 350.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.1237, allocations: 215.6 kB / 350.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.1248, allocations: 464.4 kB / 351.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.1253, allocations: 245.3 kB / 351.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.1258, allocations: 219.3 kB / 351.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1263, allocations: 243 kB / 351.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1264, allocations: 24 kB / 351.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.1265, allocations: 28 kB / 351.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.1267, allocations: 119.4 kB / 352 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1269, allocations: 56 kB / 352 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.128, allocations: 0.744 MB / 352.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.128, allocations: 0 / 352.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.128, allocations: 3.938 kB / 352.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.128, allocations: 0 / 352.8 MB, free: 1.156 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002381/0.1304, allocations: 0.8595 MB / 353.6 MB, free: 256 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1305, allocations: 8.031 kB / 353.6 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.1308, allocations: 83.06 kB / 353.7 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.1319, allocations: 489.8 kB / 354.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.132, allocations: 49.31 kB / 354.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.1322, allocations: 68 kB / 354.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.1343, allocations: 0.7012 MB / 355 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.1344, allocations: 3.953 kB / 355 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.1345, allocations: 28 kB / 355 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.1345, allocations: 16 kB / 355.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.1363, allocations: 0.5165 MB / 355.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.1425, allocations: 2.392 MB / 358 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.144, allocations: 488.5 kB / 358.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.1441, allocations: 12.36 kB / 358.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.1451, allocations: 351.7 kB / 358.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.606e-06/0.1452, allocations: 4 kB / 358.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.003462/0.1487, allocations: 0.8676 MB / 359.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1488, allocations: 144.9 kB / 359.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.1497, allocations: 417 kB / 360.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.1498, allocations: 41.69 kB / 360.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.1501, allocations: 350.8 kB / 360.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.1504, allocations: 161.8 kB / 360.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1504, allocations: 12 kB / 360.8 MB, free: 8.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1506, allocations: 334.8 kB / 361.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.1513, allocations: 189.2 kB / 361.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.1521, allocations: 358.3 kB / 361.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.1528, allocations: 216.7 kB / 361.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1528, allocations: 0 / 361.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001879/0.1547, allocations: 0.6022 MB / 362.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007304/0.1555, allocations: 1.668 MB / 364.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.1555, allocations: 4 kB / 364.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.156, allocations: 76.81 kB / 364.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.1568, allocations: 95.83 kB / 364.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1596, allocations: 1.803 MB / 366.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.1604, allocations: 87.39 kB / 366.2 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.1605, allocations: 20 kB / 366.2 MB, free: 3.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1605, allocations: 6.969 kB / 366.2 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/0.1621, allocations: 0.5383 MB / 366.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1622, allocations: 4 kB / 366.7 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.1625, allocations: 72.83 kB / 366.8 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.1631, allocations: 91.83 kB / 366.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.1658, allocations: 1.788 MB / 368.7 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.1664, allocations: 68.59 kB / 368.8 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.1665, allocations: 20 kB / 368.8 MB, free: 320 kB / 298.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: 25 ($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,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005791/0.1671, allocations: 241.6 kB / 369 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.1673, allocations: 59.25 kB / 369.1 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.1675, allocations: 69.44 kB / 369.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1675, allocations: 8 kB / 369.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1675, allocations: 0 / 369.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1676, allocations: 0 / 369.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.1709, allocations: 1.321 MB / 370.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1709, allocations: 64 / 370.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.1715, allocations: 67.89 kB / 370.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.1719, allocations: 68.83 kB / 370.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/0.1719, allocations: 23.88 kB / 370.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.1747, allocations: 1.792 MB / 372.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1747, allocations: 0 / 372.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.1773, allocations: 0.923 MB / 373.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.1777, allocations: 184.3 kB / 373.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.1779, allocations: 12 kB / 373.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.1785, allocations: 51.91 kB / 373.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.1787, allocations: 52.36 kB / 373.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.1788, allocations: 20 kB / 373.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006008/0.1794, allocations: 322.9 kB / 374 MB, free: 10.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1794, allocations: 3.938 kB / 374 MB, free: 10.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001435/0.1809, allocations: 299 kB / 374.3 MB, free: 10.56 MB / 314.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: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p.off,rectifier.thyristor_n.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000303/0.1812, allocations: 137.6 kB / 374.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.1842, allocations: 1.045 MB / 375.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.1843, allocations: 8.5 kB / 375.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.1854, allocations: 420.9 kB / 375.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/0.1863, allocations: 86.31 kB / 375.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.1901, allocations: 1.508 MB / 377.5 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.1908, allocations: 0.9378 MB / 378.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.1911, allocations: 47.42 kB / 378.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1911, allocations: 0 / 378.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of Templates: time 0.02314/0.2143, allocations: 10.21 MB / 388.7 MB, free: 12.07 MB / 330.7 MB