Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.17e-05, allocations: 7.984 kB / 258.8 MB, free: 8.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3005, allocations: 44.49 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006684/0.3072, allocations: 3.915 MB / 307.3 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3107, allocations: 1.228 MB / 308.5 MB, free: 8.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.3113, allocations: 35.88 kB / 308.5 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.3118, allocations: 107.2 kB / 308.6 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.3126, allocations: 227.2 kB / 308.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.3134, allocations: 219.5 kB / 309.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000994/0.3144, allocations: 456.1 kB / 309.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005348/0.315, allocations: 249.2 kB / 309.7 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.3154, allocations: 223.3 kB / 310 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.3159, allocations: 243 kB / 310.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.316, allocations: 28 kB / 310.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.3161, allocations: 24 kB / 310.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3163, allocations: 111.5 kB / 310.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.3165, allocations: 56 kB / 310.4 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3175, allocations: 0.744 MB / 311.2 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3175, allocations: 0 / 311.2 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3175, allocations: 11.88 kB / 311.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.3176, allocations: 0 / 311.2 MB, free: 5.762 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002275/0.3199, allocations: 0.8658 MB / 312 MB, free: 4.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3199, allocations: 8.031 kB / 312 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.3201, allocations: 83.06 kB / 312.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3212, allocations: 481.9 kB / 312.6 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.3213, allocations: 53.25 kB / 312.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.3215, allocations: 67.98 kB / 312.7 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.3233, allocations: 0.6787 MB / 313.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3234, allocations: 3.938 kB / 313.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/0.3235, allocations: 28 kB / 313.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3235, allocations: 16 kB / 313.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.3251, allocations: 0.5126 MB / 314 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.3308, allocations: 2.542 MB / 316.5 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.3324, allocations: 0.5386 MB / 317 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.3325, allocations: 8.391 kB / 317 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009656/0.3335, allocations: 361.7 kB / 317.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.356e-06/0.3335, allocations: 0 / 317.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004732/0.3382, allocations: 1.055 MB / 318.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.3384, allocations: 119.3 kB / 318.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.3391, allocations: 405 kB / 319 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.3393, allocations: 41.7 kB / 319 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.3396, allocations: 308.4 kB / 319.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.3398, allocations: 169.6 kB / 319.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3399, allocations: 16 kB / 319.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3401, allocations: 366.8 kB / 319.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/0.3407, allocations: 197.2 kB / 320 MB, free: 12.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.3415, allocations: 361.5 kB / 320.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.3423, allocations: 218.1 kB / 320.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3423, allocations: 0 / 320.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001989/0.3443, allocations: 0.6829 MB / 321.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006992/0.345, allocations: 1.671 MB / 323 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.345, allocations: 4 kB / 323 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.3458, allocations: 152.7 kB / 323.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3465, allocations: 87.83 kB / 323.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.351, allocations: 2.392 MB / 325.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.3518, allocations: 75.52 kB / 325.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.3519, allocations: 24 kB / 325.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3519, allocations: 4 kB / 325.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001698/0.3536, allocations: 0.592 MB / 326.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.3536, allocations: 11.89 kB / 326.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007194/0.3543, allocations: 166.2 kB / 326.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.3549, allocations: 83.84 kB / 326.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/0.3593, allocations: 2.38 MB / 328.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.36, allocations: 63.52 kB / 329 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.3601, allocations: 24 kB / 329 MB, free: 3.109 MB / 266.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (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.000542/0.3607, allocations: 241.7 kB / 329.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3608, allocations: 59.25 kB / 329.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.361, allocations: 65.44 kB / 329.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.361, allocations: 8 kB / 329.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.361, allocations: 0 / 329.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3611, allocations: 0 / 329.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.3645, allocations: 1.403 MB / 330.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3645, allocations: 7.938 kB / 330.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.365, allocations: 51.91 kB / 330.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/0.3657, allocations: 148.7 kB / 331 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.3658, allocations: 15.95 kB / 331 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/0.3703, allocations: 2.306 MB / 333.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.3703, allocations: 3.938 kB / 333.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.373, allocations: 0.9818 MB / 334.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.3734, allocations: 188.4 kB / 334.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3736, allocations: 12 kB / 334.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.3741, allocations: 36.16 kB / 334.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.3744, allocations: 76.39 kB / 334.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.3745, allocations: 23.97 kB / 334.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.3751, allocations: 315.1 kB / 334.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3751, allocations: 0 / 334.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001441/0.3765, allocations: 338.9 kB / 335.2 MB, free: 12.59 MB / 282.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.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n2.off,rectifier.thyristor_n1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.0002639/0.3768, allocations: 132.2 kB / 335.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.3802, allocations: 1.222 MB / 336.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3802, allocations: 0 / 336.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3815, allocations: 487 kB / 337.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008458/0.3824, allocations: 102 kB / 337.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.3861, allocations: 1.463 MB / 338.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.3868, allocations: 0.9434 MB / 339.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007253/0.3875, allocations: 104.8 kB / 339.7 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3877, allocations: 31.44 kB / 339.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3877, allocations: 0 / 339.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of Templates: time 0.03056/0.4183, allocations: 10.55 MB / 350.3 MB, free: 13.48 MB / 298.7 MB