Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 224.7 MB / 241.1 MB, free: 1.637 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.787e-05, allocations: 8 kB / 294.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 50.41 MB / 345 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.006998/0.1315, allocations: 3.961 MB / 349 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.135, allocations: 1.22 MB / 350.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.1358, allocations: 35.88 kB / 350.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.1363, allocations: 111.1 kB / 350.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009478/0.1373, allocations: 231.2 kB / 350.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.1382, allocations: 223.5 kB / 350.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1394, allocations: 492.1 kB / 351.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.14, allocations: 253.1 kB / 351.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.1404, allocations: 219.3 kB / 351.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.1409, allocations: 254.9 kB / 351.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.141, allocations: 28 kB / 352 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.1411, allocations: 28 kB / 352 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1413, allocations: 115.5 kB / 352.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1415, allocations: 60 kB / 352.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1426, allocations: 0.783 MB / 353 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1426, allocations: 0 / 353 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1426, allocations: 4 kB / 353 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.1427, allocations: 3.938 kB / 353 MB, free: 0.8945 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002539/0.1452, allocations: 0.8744 MB / 353.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.1453, allocations: 12.03 kB / 353.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.1456, allocations: 90.89 kB / 353.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1467, allocations: 493.8 kB / 354.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/0.1468, allocations: 49.31 kB / 354.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.147, allocations: 68 kB / 354.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.1491, allocations: 0.7224 MB / 355.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.1492, allocations: 8 kB / 355.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.1493, allocations: 27.95 kB / 355.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.1493, allocations: 19.94 kB / 355.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.1512, allocations: 0.5477 MB / 355.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006517/0.1577, allocations: 2.639 MB / 358.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1596, allocations: 0.5837 MB / 359.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.1597, allocations: 4.438 kB / 359.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.1607, allocations: 381.6 kB / 359.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=59): time 3.346e-06/0.1607, allocations: 4 kB / 359.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=59): time 0.005272/0.166, allocations: 1.121 MB / 360.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.1662, allocations: 137.1 kB / 360.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/0.1671, allocations: 421.1 kB / 361.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.1672, allocations: 41.69 kB / 361.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.1676, allocations: 354.8 kB / 361.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.1679, allocations: 177.5 kB / 361.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1679, allocations: 8 kB / 361.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1681, allocations: 342.8 kB / 362 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.1689, allocations: 201.2 kB / 362.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008864/0.1698, allocations: 378.4 kB / 362.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.1706, allocations: 234.1 kB / 362.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.1706, allocations: 4 kB / 362.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002202/0.1728, allocations: 0.6716 MB / 363.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007574/0.1736, allocations: 1.669 MB / 365.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.1737, allocations: 4 kB / 365.2 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008243/0.1745, allocations: 159.6 kB / 365.3 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.1752, allocations: 91.83 kB / 365.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.1799, allocations: 2.374 MB / 367.8 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.1808, allocations: 75.55 kB / 367.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.1809, allocations: 28 kB / 367.9 MB, free: 1.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1809, allocations: 4 kB / 367.9 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001802/0.1827, allocations: 0.6114 MB / 368.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1827, allocations: 4 kB / 368.5 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.1834, allocations: 155.5 kB / 368.7 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.1841, allocations: 87.78 kB / 368.8 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.1886, allocations: 2.354 MB / 371.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.1892, allocations: 59.67 kB / 371.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.1893, allocations: 24 kB / 371.2 MB, free: 13.84 MB / 314.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: 27 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (62): * Single equations (assignments): 61 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005673/0.1899, allocations: 241.6 kB / 371.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.1901, allocations: 59.25 kB / 371.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1903, allocations: 73.58 kB / 371.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1903, allocations: 8.078 kB / 371.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1903, allocations: 3.953 kB / 371.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1903, allocations: 3.984 kB / 371.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.1942, allocations: 1.477 MB / 373.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.1943, allocations: 0 / 373.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.1948, allocations: 55.91 kB / 373.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/0.1956, allocations: 140.8 kB / 373.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/0.1957, allocations: 16.06 kB / 373.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.2003, allocations: 2.362 MB / 375.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2003, allocations: 0 / 375.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.2034, allocations: 1.04 MB / 376.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.204, allocations: 188.3 kB / 376.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.2042, allocations: 19.98 kB / 376.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.2048, allocations: 43.97 kB / 376.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.2051, allocations: 64.41 kB / 377 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/0.2051, allocations: 16 kB / 377 MB, free: 7.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006184/0.2058, allocations: 326.9 kB / 377.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2058, allocations: 0 / 377.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001443/0.2072, allocations: 339 kB / 377.6 MB, free: 7.125 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.2075, allocations: 142.6 kB / 377.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.2109, allocations: 1.239 MB / 379 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.211, allocations: 0 / 379 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.2123, allocations: 0.495 MB / 379.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.2133, allocations: 110 kB / 379.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.2173, allocations: 1.553 MB / 381.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.2181, allocations: 0.955 MB / 382.1 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2184, allocations: 43.44 kB / 382.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2184, allocations: 0 / 382.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of Templates: time 0.02441/0.2428, allocations: 10.92 MB / 393.1 MB, free: 7.605 MB / 330.7 MB