Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.899e-05, allocations: 4 kB / 258.8 MB, free: 8.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3022, allocations: 44.51 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005205/0.3074, allocations: 2.984 MB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3103, allocations: 0.9824 MB / 307.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.3107, allocations: 23.94 kB / 307.3 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.3111, allocations: 71.45 kB / 307.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.3116, allocations: 143.5 kB / 307.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.3122, allocations: 159.7 kB / 307.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.3127, allocations: 283.8 kB / 308 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.3131, allocations: 165.5 kB / 308.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.3134, allocations: 139.6 kB / 308.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.3137, allocations: 151.4 kB / 308.4 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.3138, allocations: 16 kB / 308.4 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.3139, allocations: 16 kB / 308.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.314, allocations: 75.66 kB / 308.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3141, allocations: 39.94 kB / 308.6 MB, free: 8.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.3147, allocations: 458.8 kB / 309 MB, free: 7.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3148, allocations: 0 / 309 MB, free: 7.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.08e-06/0.3148, allocations: 3.984 kB / 309 MB, free: 7.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3148, allocations: 4 kB / 309 MB, free: 7.898 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001761/0.3166, allocations: 0.6871 MB / 309.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3166, allocations: 8.031 kB / 309.7 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.3168, allocations: 55.42 kB / 309.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.3176, allocations: 379 kB / 310.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.3177, allocations: 37 kB / 310.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.3178, allocations: 40 kB / 310.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3192, allocations: 470.9 kB / 310.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3192, allocations: 0 / 310.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.3193, allocations: 19.98 kB / 310.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3193, allocations: 8 kB / 310.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3206, allocations: 355.8 kB / 311.1 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.3244, allocations: 1.579 MB / 312.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3259, allocations: 355.4 kB / 313 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.326, allocations: 4.234 kB / 313 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000795/0.3268, allocations: 269 kB / 313.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.614e-06/0.3268, allocations: 0 / 313.2 MB, free: 3.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002258/0.3291, allocations: 0.5927 MB / 313.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.3292, allocations: 114.8 kB / 314 MB, free: 2.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.3296, allocations: 271.6 kB / 314.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.3297, allocations: 45.69 kB / 314.3 MB, free: 2.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.33, allocations: 248 kB / 314.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3301, allocations: 90.73 kB / 314.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.3302, allocations: 12 kB / 314.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3303, allocations: 342.8 kB / 314.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.3309, allocations: 136.8 kB / 315.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.3315, allocations: 278.9 kB / 315.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3321, allocations: 151.9 kB / 315.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3321, allocations: 7.938 kB / 315.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001485/0.3336, allocations: 478 kB / 316 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007119/0.3343, allocations: 1.663 MB / 317.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3344, allocations: 4 kB / 317.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.3347, allocations: 48.83 kB / 317.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.3352, allocations: 75.83 kB / 317.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3371, allocations: 1.514 MB / 319.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.3377, allocations: 71.67 kB / 319.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.3378, allocations: 20 kB / 319.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3378, allocations: 4 kB / 319.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001265/0.3391, allocations: 396.4 kB / 319.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3392, allocations: 8 kB / 319.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.3394, allocations: 37.25 kB / 319.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.3398, allocations: 79.83 kB / 319.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3416, allocations: 1.499 MB / 321.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.3421, allocations: 51.67 kB / 321.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.3422, allocations: 16 kB / 321.4 MB, free: 10.68 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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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.twoPulse.fire_n[1],pulse2.fire_p,$PRE.idealthyristor.off,idealthyristor.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004007/0.3426, allocations: 212.5 kB / 321.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.3427, allocations: 31.62 kB / 321.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3428, allocations: 39.95 kB / 321.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3428, allocations: 4 kB / 321.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3428, allocations: 0 / 321.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3429, allocations: 3.984 kB / 321.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.345, allocations: 0.9126 MB / 322.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3451, allocations: 4 kB / 322.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.3455, allocations: 43.91 kB / 322.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.3457, allocations: 40.83 kB / 322.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.3457, allocations: 4 kB / 322.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.3474, allocations: 1.429 MB / 324.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3475, allocations: 3.953 kB / 324.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.3493, allocations: 0.6145 MB / 324.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.3496, allocations: 132.7 kB / 324.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.3497, allocations: 7.984 kB / 324.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.3502, allocations: 39.97 kB / 324.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3503, allocations: 31.95 kB / 325 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.3504, allocations: 15.94 kB / 325 MB, free: 6.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003498/0.3508, allocations: 219 kB / 325.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.577e-06/0.3508, allocations: 0 / 325.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001059/0.3518, allocations: 203.2 kB / 325.4 MB, free: 6.465 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.fire_n[1],pulse2.fire_p,idealthyristor.off) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.3521, allocations: 119.1 kB / 325.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3545, allocations: 0.7945 MB / 326.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3545, allocations: 0 / 326.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007366/0.3552, allocations: 282.5 kB / 326.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.3558, allocations: 53.38 kB / 326.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3583, allocations: 0.9841 MB / 327.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.3589, allocations: 0.8473 MB / 328.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005708/0.3595, allocations: 83.08 kB / 328.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3597, allocations: 27.44 kB / 328.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3597, allocations: 0 / 328.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01656/0.3762, allocations: 5.11 MB / 333.7 MB, free: 14.08 MB / 282.7 MB