Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.756e-05, allocations: 0 / 258.8 MB, free: 8.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 44.49 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.006994/0.318, allocations: 3.922 MB / 307.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3217, allocations: 1.225 MB / 308.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008514/0.3226, allocations: 35.88 kB / 308.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.3232, allocations: 99.28 kB / 308.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.3243, allocations: 231.2 kB / 308.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.3253, allocations: 207.6 kB / 309 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3267, allocations: 463.9 kB / 309.5 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.3273, allocations: 249.2 kB / 309.7 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.3278, allocations: 211.3 kB / 309.9 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.3283, allocations: 243 kB / 310.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3284, allocations: 28 kB / 310.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.3285, allocations: 24 kB / 310.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.3287, allocations: 111.5 kB / 310.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3289, allocations: 56 kB / 310.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.33, allocations: 0.7402 MB / 311.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.33, allocations: 0 / 311.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.33, allocations: 3.938 kB / 311.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.33, allocations: 4 kB / 311.1 MB, free: 5.871 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002395/0.3325, allocations: 0.858 MB / 312 MB, free: 4.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3325, allocations: 8.031 kB / 312 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.3328, allocations: 79.06 kB / 312.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.334, allocations: 486 kB / 312.5 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.3341, allocations: 53.3 kB / 312.6 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3343, allocations: 71.91 kB / 312.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3362, allocations: 0.6708 MB / 313.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.3363, allocations: 4 kB / 313.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3364, allocations: 24 kB / 313.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3365, allocations: 16 kB / 313.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.3382, allocations: 0.5047 MB / 313.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/0.3441, allocations: 2.522 MB / 316.4 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3458, allocations: 0.5283 MB / 316.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.051e-05/0.346, allocations: 8.438 kB / 316.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.347, allocations: 377.4 kB / 317.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.446e-06/0.347, allocations: 0 / 317.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004852/0.3519, allocations: 1.039 MB / 318.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.352, allocations: 119.4 kB / 318.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.3529, allocations: 404.9 kB / 318.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.353, allocations: 45.7 kB / 318.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.3533, allocations: 339 kB / 319.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.3536, allocations: 169.6 kB / 319.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.3537, allocations: 16 kB / 319.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3538, allocations: 334.8 kB / 319.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.3545, allocations: 197.2 kB / 319.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.3554, allocations: 353.5 kB / 320.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.3561, allocations: 206.1 kB / 320.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.3561, allocations: 4 kB / 320.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00203/0.3581, allocations: 0.6402 MB / 321.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008722/0.3591, allocations: 1.665 MB / 322.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3591, allocations: 4.047 kB / 322.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008577/0.36, allocations: 160.6 kB / 322.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.3607, allocations: 83.84 kB / 323 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.3656, allocations: 2.365 MB / 325.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.3664, allocations: 71.52 kB / 325.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.3666, allocations: 20 kB / 325.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3666, allocations: 4 kB / 325.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/0.3684, allocations: 0.5918 MB / 326.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.3685, allocations: 7.938 kB / 326.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.3692, allocations: 146.2 kB / 326.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.3699, allocations: 87.78 kB / 326.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.3747, allocations: 2.341 MB / 328.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.3753, allocations: 67.52 kB / 328.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.3754, allocations: 24 kB / 328.7 MB, free: 3.414 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (60): * Single equations (assignments): 59 * 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.0006052/0.376, allocations: 233.6 kB / 329 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.3762, allocations: 55.34 kB / 329 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.3764, allocations: 65.44 kB / 329.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3764, allocations: 8 kB / 329.1 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3764, allocations: 0 / 329.1 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3765, allocations: 4 kB / 329.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.3802, allocations: 1.399 MB / 330.5 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.3802, allocations: 0 / 330.5 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3807, allocations: 51.91 kB / 330.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007382/0.3815, allocations: 144.8 kB / 330.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.3816, allocations: 15.94 kB / 330.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.3864, allocations: 2.364 MB / 333.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.3865, allocations: 4 kB / 333.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.3893, allocations: 0.9778 MB / 334.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.3898, allocations: 180.3 kB / 334.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.39, allocations: 15.98 kB / 334.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/0.3905, allocations: 31.98 kB / 334.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.3908, allocations: 64.42 kB / 334.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.3909, allocations: 19.98 kB / 334.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006044/0.3915, allocations: 315.1 kB / 334.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.017e-06/0.3915, allocations: 0 / 334.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001512/0.393, allocations: 330.9 kB / 335 MB, free: 12.9 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.0002774/0.3933, allocations: 122.6 kB / 335.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.3968, allocations: 1.197 MB / 336.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.3969, allocations: 4.375 kB / 336.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.3983, allocations: 485.7 kB / 336.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.3992, allocations: 93.98 kB / 336.9 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.4032, allocations: 1.479 MB / 338.4 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.404, allocations: 0.9348 MB / 339.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.4043, allocations: 39.44 kB / 339.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4043, allocations: 4 kB / 339.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of Templates: time 0.02479/0.4291, allocations: 10.41 MB / 349.7 MB, free: 14.04 MB / 298.7 MB