Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_RL") Notification: Performance of loadModel(Modelica): time 2.173/2.173, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.145e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 50.42 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.007096/0.118, allocations: 3.824 MB / 348.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.1213, allocations: 1.165 MB / 350 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.122, allocations: 35.88 kB / 350 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.1225, allocations: 99.28 kB / 350.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.1233, allocations: 207.3 kB / 350.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.1242, allocations: 219.6 kB / 350.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.1254, allocations: 448.5 kB / 351 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.1259, allocations: 244.8 kB / 351.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.1264, allocations: 203.4 kB / 351.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.1268, allocations: 235 kB / 351.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1269, allocations: 24 kB / 351.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.127, allocations: 24 kB / 351.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1272, allocations: 111.5 kB / 351.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1274, allocations: 56 kB / 351.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1284, allocations: 0.7206 MB / 352.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1285, allocations: 3.938 kB / 352.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1285, allocations: 4 kB / 352.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1285, allocations: 0 / 352.6 MB, free: 1.316 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002212/0.1307, allocations: 0.8478 MB / 353.4 MB, free: 428 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1308, allocations: 12.03 kB / 353.4 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.131, allocations: 83.06 kB / 353.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.132, allocations: 478.1 kB / 354 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.1321, allocations: 49.25 kB / 354 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.1323, allocations: 67.91 kB / 354.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.1342, allocations: 0.6739 MB / 354.8 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.1343, allocations: 3.984 kB / 354.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1344, allocations: 27.78 kB / 354.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.1345, allocations: 19.94 kB / 354.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.1362, allocations: 0.5049 MB / 355.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.142, allocations: 2.349 MB / 357.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.1434, allocations: 488.6 kB / 358.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.1435, allocations: 4.375 kB / 358.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.1446, allocations: 343.7 kB / 358.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.266e-06/0.1446, allocations: 4 kB / 358.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.003444/0.1481, allocations: 0.8598 MB / 359.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.1482, allocations: 137 kB / 359.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.149, allocations: 397 kB / 359.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.1492, allocations: 45.69 kB / 359.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.1495, allocations: 358.7 kB / 360.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.1498, allocations: 145.9 kB / 360.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1498, allocations: 16 kB / 360.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.15, allocations: 334.8 kB / 360.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.1507, allocations: 189.2 kB / 360.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.1516, allocations: 358.3 kB / 361.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/0.1523, allocations: 220.7 kB / 361.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1524, allocations: 0 / 361.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00186/0.1542, allocations: 0.5939 MB / 362.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008569/0.1551, allocations: 1.657 MB / 363.8 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1552, allocations: 4 kB / 363.8 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.1557, allocations: 84.81 kB / 363.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.1564, allocations: 99.78 kB / 363.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.1594, allocations: 1.8 MB / 365.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.1603, allocations: 91.41 kB / 365.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.1603, allocations: 20 kB / 365.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1604, allocations: 4 kB / 365.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/0.162, allocations: 0.5261 MB / 366.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.162, allocations: 4 kB / 366.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1624, allocations: 85.38 kB / 366.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.163, allocations: 95.83 kB / 366.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.1659, allocations: 1.772 MB / 368.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.1665, allocations: 71.56 kB / 368.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.1665, allocations: 20.06 kB / 368.4 MB, free: 0.6406 MB / 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 (63): * Single equations (assignments): 62 * 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.0005508/0.1671, allocations: 242.1 kB / 368.7 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.1673, allocations: 55.3 kB / 368.7 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.1675, allocations: 65.41 kB / 368.8 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1675, allocations: 4 kB / 368.8 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.1675, allocations: 0 / 368.8 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1675, allocations: 8.203 kB / 368.8 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.1709, allocations: 1.301 MB / 370.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.171, allocations: 0 / 370.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.1716, allocations: 63.84 kB / 370.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/0.172, allocations: 84.8 kB / 370.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/0.1721, allocations: 12 kB / 370.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.175, allocations: 1.792 MB / 372 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.175, allocations: 0 / 372 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.1777, allocations: 0.9071 MB / 373 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.1782, allocations: 176.3 kB / 373.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.1783, allocations: 12 kB / 373.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.1789, allocations: 55.89 kB / 373.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.1792, allocations: 56.31 kB / 373.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.1792, allocations: 12 kB / 373.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005967/0.1798, allocations: 311.1 kB / 373.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1798, allocations: 0 / 373.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001399/0.1813, allocations: 295 kB / 373.9 MB, free: 10.95 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 (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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.1815, allocations: 145.4 kB / 374 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.1845, allocations: 1.04 MB / 375 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.1846, allocations: 0 / 375 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.1857, allocations: 414.2 kB / 375.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.1866, allocations: 86.27 kB / 375.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.1902, allocations: 1.482 MB / 377 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.191, allocations: 0.9338 MB / 377.9 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.1913, allocations: 39.44 kB / 378 MB, free: 6.719 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1913, allocations: 0 / 378 MB, free: 6.719 MB / 314.7 MB Notification: Performance of Templates: time 0.02279/0.2141, allocations: 10.01 MB / 388 MB, free: 12.72 MB / 330.7 MB