Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.262/2.262, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.282e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.01158/0.1641, allocations: 4.043 MB / 349 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.1697, allocations: 1.251 MB / 350.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.1709, allocations: 39.88 kB / 350.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.172, allocations: 107.2 kB / 350.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1739, allocations: 231.2 kB / 350.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1758, allocations: 235.6 kB / 350.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.178, allocations: 0.4927 MB / 351.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.1791, allocations: 265.7 kB / 351.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008331/0.1799, allocations: 227.3 kB / 351.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007976/0.1808, allocations: 266.9 kB / 352.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.181, allocations: 28 kB / 352.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.1812, allocations: 28 kB / 352.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.1815, allocations: 127.4 kB / 352.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.1818, allocations: 60 kB / 352.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1838, allocations: 0.8102 MB / 353.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1838, allocations: 0 / 353.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1839, allocations: 0 / 353.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.1839, allocations: 0 / 353.2 MB, free: 0.7188 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003889/0.1878, allocations: 0.9029 MB / 354.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.1879, allocations: 12.03 kB / 354.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.1884, allocations: 86.97 kB / 354.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.1902, allocations: 498.5 kB / 354.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.1904, allocations: 50 kB / 354.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.1907, allocations: 72 kB / 354.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.1943, allocations: 0.7623 MB / 355.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.1944, allocations: 4 kB / 355.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.1946, allocations: 35.89 kB / 355.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.1947, allocations: 20 kB / 355.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.1981, allocations: 0.5595 MB / 356.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.209, allocations: 2.705 MB / 358.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.2118, allocations: 0.5872 MB / 359.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.212, allocations: 8.547 kB / 359.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.2139, allocations: 393.7 kB / 359.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=61): time 6.182e-06/0.2139, allocations: 4 kB / 359.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.007256/0.2212, allocations: 1.132 MB / 361 MB, free: 8.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.2214, allocations: 137.1 kB / 361.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.2228, allocations: 425.1 kB / 361.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.223, allocations: 45.7 kB / 361.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.2236, allocations: 358.8 kB / 361.9 MB, free: 7.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/0.2241, allocations: 185.4 kB / 362.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.2242, allocations: 16 kB / 362.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.2244, allocations: 334.8 kB / 362.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.2257, allocations: 221.9 kB / 362.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.2273, allocations: 389.8 kB / 363 MB, free: 6.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.2287, allocations: 246.1 kB / 363.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.2288, allocations: 0 / 363.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003628/0.2325, allocations: 0.7036 MB / 364 MB, free: 5.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.2336, allocations: 1.657 MB / 365.6 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.2337, allocations: 4 kB / 365.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.2351, allocations: 157.6 kB / 365.8 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.2364, allocations: 99.81 kB / 365.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.2446, allocations: 3.475 MB / 369.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.246, allocations: 87.41 kB / 369.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.2462, allocations: 32 kB / 369.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2462, allocations: 11.92 kB / 369.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00299/0.2492, allocations: 0.6277 MB / 370.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.2493, allocations: 4 kB / 370.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2503, allocations: 141.7 kB / 370.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.2515, allocations: 100.1 kB / 370.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007913/0.2594, allocations: 3.463 MB / 373.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.2604, allocations: 71.45 kB / 373.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2606, allocations: 27.95 kB / 373.9 MB, free: 10.82 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: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008879/0.2615, allocations: 250.2 kB / 374.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.2618, allocations: 63.39 kB / 374.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.2621, allocations: 69.53 kB / 374.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.2621, allocations: 8 kB / 374.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2622, allocations: 0 / 374.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.2622, allocations: 3.984 kB / 374.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.2684, allocations: 1.505 MB / 375.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.2685, allocations: 64 / 375.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/0.2695, allocations: 71.89 kB / 375.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.2706, allocations: 137.6 kB / 376 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.2707, allocations: 12 kB / 376 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007785/0.2785, allocations: 3.312 MB / 379.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.2786, allocations: 4 kB / 379.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.2834, allocations: 1.072 MB / 380.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.2839, allocations: 196.2 kB / 380.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.284, allocations: 12 kB / 380.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.2847, allocations: 43.97 kB / 380.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.285, allocations: 80.44 kB / 380.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.2851, allocations: 19.98 kB / 380.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006034/0.2857, allocations: 322.9 kB / 381.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2857, allocations: 0 / 381.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001615/0.2873, allocations: 350.9 kB / 381.4 MB, free: 2.91 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: 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.2876, allocations: 137.5 kB / 381.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.2912, allocations: 1.451 MB / 383 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.2912, allocations: 0 / 383 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.2926, allocations: 0.5835 MB / 383.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.2935, allocations: 115.1 kB / 383.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.2976, allocations: 1.667 MB / 385.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.2984, allocations: 0.9626 MB / 386.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2987, allocations: 43.44 kB / 386.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2987, allocations: 0 / 386.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Templates: time 0.313/0.6117, allocations: 14.03 MB / 400.4 MB, free: 49.19 MB / 330.7 MB