Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.963e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.42 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.006826/0.1211, allocations: 3.941 MB / 348.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.1246, allocations: 1.197 MB / 350.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.1252, allocations: 39.81 kB / 350.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.1257, allocations: 111.2 kB / 350.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.1264, allocations: 211.3 kB / 350.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.1272, allocations: 215.7 kB / 350.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.1281, allocations: 464.6 kB / 351.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.1286, allocations: 253.7 kB / 351.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.129, allocations: 219.3 kB / 351.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.1295, allocations: 255 kB / 351.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1297, allocations: 24 kB / 351.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.1298, allocations: 28 kB / 351.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.1299, allocations: 115.5 kB / 352 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1301, allocations: 56 kB / 352.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1311, allocations: 0.7479 MB / 352.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1312, allocations: 0 / 352.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1312, allocations: 0 / 352.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1312, allocations: 0 / 352.8 MB, free: 1.055 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002409/0.1336, allocations: 0.8945 MB / 353.7 MB, free: 116 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1337, allocations: 12.03 kB / 353.7 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.1339, allocations: 82.97 kB / 353.8 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.1351, allocations: 486 kB / 354.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.1352, allocations: 53.31 kB / 354.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1354, allocations: 71.89 kB / 354.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.1376, allocations: 0.709 MB / 355.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.1377, allocations: 7.891 kB / 355.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1378, allocations: 31.98 kB / 355.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1378, allocations: 16 kB / 355.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1399, allocations: 0.5478 MB / 355.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.1456, allocations: 2.419 MB / 358.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.1479, allocations: 0.6218 MB / 358.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.148, allocations: 4.438 kB / 358.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.1491, allocations: 371.8 kB / 359.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.1491, allocations: 0 / 359.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.00363/0.1527, allocations: 0.9261 MB / 360.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1529, allocations: 141.7 kB / 360.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.1536, allocations: 408.9 kB / 360.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.1537, allocations: 41.7 kB / 360.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.1541, allocations: 362.7 kB / 361 MB, free: 8.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1543, allocations: 153.8 kB / 361.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1543, allocations: 12 kB / 361.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1545, allocations: 330.8 kB / 361.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.1552, allocations: 217.1 kB / 361.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.1562, allocations: 386.2 kB / 362.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.157, allocations: 236.7 kB / 362.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.157, allocations: 0 / 362.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002045/0.1591, allocations: 0.6374 MB / 362.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006586/0.1598, allocations: 1.665 MB / 364.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1598, allocations: 4 kB / 364.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/0.1602, allocations: 72.83 kB / 364.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.161, allocations: 107.8 kB / 364.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.1637, allocations: 1.803 MB / 366.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.1645, allocations: 91.45 kB / 366.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.1646, allocations: 24 kB / 366.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1646, allocations: 7.953 kB / 366.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/0.1664, allocations: 0.569 MB / 367.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1664, allocations: 4.531 kB / 367.3 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.1668, allocations: 88.94 kB / 367.4 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.1674, allocations: 99.83 kB / 367.5 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.1701, allocations: 1.788 MB / 369.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.1707, allocations: 75.62 kB / 369.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.1708, allocations: 24 kB / 369.3 MB, free: 15.71 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: 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 (65): * Single equations (assignments): 64 * 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.0005513/0.1713, allocations: 237.6 kB / 369.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.1715, allocations: 59.33 kB / 369.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.1717, allocations: 65.52 kB / 369.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1717, allocations: 4 kB / 369.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1717, allocations: 0 / 369.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1717, allocations: 3.984 kB / 369.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.1751, allocations: 1.327 MB / 371 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.1751, allocations: 0 / 371 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.1761, allocations: 67.89 kB / 371.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.1765, allocations: 76.8 kB / 371.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.1766, allocations: 15.98 kB / 371.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.1794, allocations: 1.804 MB / 373 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1794, allocations: 4.125 kB / 373 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.1822, allocations: 0.9366 MB / 373.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.1826, allocations: 176.3 kB / 374.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.1827, allocations: 19.94 kB / 374.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.1834, allocations: 51.97 kB / 374.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.1836, allocations: 60.34 kB / 374.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.1837, allocations: 8 kB / 374.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005599/0.1842, allocations: 315.1 kB / 374.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1842, allocations: 3.938 kB / 374.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001323/0.1856, allocations: 311 kB / 374.9 MB, free: 9.953 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (44): * Single equations (assignments): 38 * 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.0002331/0.1858, allocations: 133.4 kB / 375 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.1889, allocations: 1.115 MB / 376.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.189, allocations: 0 / 376.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1901, allocations: 417.6 kB / 376.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.1908, allocations: 78.89 kB / 376.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.1942, allocations: 1.539 MB / 378.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.1949, allocations: 0.9339 MB / 379.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.1952, allocations: 47.42 kB / 379.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1952, allocations: 0 / 379.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of Templates: time 0.02074/0.2159, allocations: 10.34 MB / 389.4 MB, free: 11.29 MB / 330.7 MB