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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.653e-05, allocations: 0 / 258.8 MB, free: 8.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3004, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006916/0.3074, allocations: 3.915 MB / 307.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3111, allocations: 1.229 MB / 308.5 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008631/0.3121, allocations: 39.88 kB / 308.5 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.3127, allocations: 103.2 kB / 308.6 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.3138, allocations: 231.2 kB / 308.8 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3149, allocations: 207.7 kB / 309 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3162, allocations: 460.1 kB / 309.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.3169, allocations: 245.2 kB / 309.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3174, allocations: 219.3 kB / 309.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.318, allocations: 243 kB / 310.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3181, allocations: 28 kB / 310.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3183, allocations: 28 kB / 310.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3185, allocations: 111.5 kB / 310.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.3186, allocations: 56 kB / 310.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3198, allocations: 0.7518 MB / 311.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3198, allocations: 0 / 311.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3198, allocations: 0 / 311.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.3198, allocations: 0 / 311.1 MB, free: 5.867 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.00247/0.3223, allocations: 0.8658 MB / 312 MB, free: 4.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3224, allocations: 8.031 kB / 312 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.3227, allocations: 83.06 kB / 312.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3239, allocations: 485.9 kB / 312.6 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.324, allocations: 49.31 kB / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3242, allocations: 64 kB / 312.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.3263, allocations: 0.6825 MB / 313.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.3264, allocations: 3.938 kB / 313.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.3265, allocations: 32 kB / 313.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.3265, allocations: 20 kB / 313.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3284, allocations: 0.5087 MB / 313.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.3347, allocations: 2.542 MB / 316.5 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3364, allocations: 0.5425 MB / 317 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.701e-05/0.3365, allocations: 8.391 kB / 317 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.3376, allocations: 365.7 kB / 317.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 6.542e-06/0.3376, allocations: 0 / 317.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.005075/0.3427, allocations: 1.055 MB / 318.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.3429, allocations: 123.3 kB / 318.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008305/0.3437, allocations: 397 kB / 318.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3439, allocations: 41.7 kB / 319 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.3442, allocations: 354.9 kB / 319.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.3445, allocations: 169.5 kB / 319.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3445, allocations: 16 kB / 319.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3447, allocations: 334.8 kB / 319.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.3454, allocations: 193.2 kB / 320 MB, free: 12.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/0.3463, allocations: 361.5 kB / 320.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.347, allocations: 214.1 kB / 320.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.347, allocations: 4 kB / 320.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002039/0.3491, allocations: 0.6477 MB / 321.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009422/0.3501, allocations: 1.671 MB / 322.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.3501, allocations: 4 kB / 322.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009024/0.351, allocations: 152.8 kB / 323 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.3517, allocations: 87.83 kB / 323.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004829/0.3566, allocations: 2.391 MB / 325.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.3574, allocations: 75.45 kB / 325.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.3574, allocations: 24 kB / 325.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3575, allocations: 4 kB / 325.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001803/0.3593, allocations: 0.5916 MB / 326.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3593, allocations: 8.484 kB / 326.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/0.36, allocations: 161.7 kB / 326.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.3606, allocations: 83.84 kB / 326.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.3652, allocations: 2.377 MB / 328.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.3657, allocations: 55.62 kB / 328.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.3658, allocations: 24 kB / 328.9 MB, free: 3.254 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.0005923/0.3664, allocations: 241.7 kB / 329.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3666, allocations: 59.34 kB / 329.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.3668, allocations: 69.38 kB / 329.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3668, allocations: 8 kB / 329.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3668, allocations: 0 / 329.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3668, allocations: 3.984 kB / 329.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.3704, allocations: 1.402 MB / 330.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.3705, allocations: 4 kB / 330.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.371, allocations: 51.91 kB / 330.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.3717, allocations: 148.8 kB / 330.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.3718, allocations: 15.95 kB / 330.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.3765, allocations: 2.312 MB / 333.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3766, allocations: 0 / 333.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.3794, allocations: 0.9741 MB / 334.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.3799, allocations: 184.3 kB / 334.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.3801, allocations: 16.17 kB / 334.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.3807, allocations: 35.98 kB / 334.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.381, allocations: 84.36 kB / 334.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.381, allocations: 16 kB / 334.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006085/0.3817, allocations: 311.1 kB / 334.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3817, allocations: 0 / 334.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001568/0.3833, allocations: 334.9 kB / 335.2 MB, free: 12.75 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.0002861/0.3836, allocations: 133.4 kB / 335.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.3871, allocations: 1.208 MB / 336.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.3872, allocations: 0 / 336.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3885, allocations: 486.5 kB / 337 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.3894, allocations: 102 kB / 337.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.3936, allocations: 1.494 MB / 338.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/0.3945, allocations: 0.9387 MB / 339.5 MB, free: 8.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.3948, allocations: 43.44 kB / 339.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3949, allocations: 0 / 339.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of Templates: time 0.02543/0.4203, allocations: 10.41 MB / 350 MB, free: 13.85 MB / 298.7 MB