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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 194.9 MB / 211.2 MB, free: 7.859 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.124e-05, allocations: 7.984 kB / 258.8 MB, free: 8.191 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3492, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005448/0.3547, allocations: 2.976 MB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3577, allocations: 0.9859 MB / 307.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.3583, allocations: 22.09 kB / 307.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.3588, allocations: 72.77 kB / 307.4 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006867/0.3595, allocations: 147 kB / 307.5 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.3603, allocations: 162 kB / 307.7 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007447/0.361, allocations: 283.8 kB / 307.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3615, allocations: 161.5 kB / 308.1 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.3618, allocations: 139.6 kB / 308.2 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.3622, allocations: 159.4 kB / 308.4 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.3623, allocations: 12 kB / 308.4 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.3624, allocations: 16 kB / 308.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3625, allocations: 75.67 kB / 308.5 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3626, allocations: 32 kB / 308.5 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.3633, allocations: 468.6 kB / 309 MB, free: 7.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3633, allocations: 0 / 309 MB, free: 7.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3634, allocations: 3.938 kB / 309 MB, free: 7.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.3634, allocations: 0 / 309 MB, free: 7.926 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.00188/0.3653, allocations: 0.6974 MB / 309.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3653, allocations: 8.031 kB / 309.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.3655, allocations: 51.44 kB / 309.7 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.3664, allocations: 367 kB / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3665, allocations: 33 kB / 310.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3666, allocations: 43.98 kB / 310.2 MB, free: 6.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.368, allocations: 474.9 kB / 310.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3681, allocations: 0 / 310.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.3682, allocations: 16 kB / 310.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3682, allocations: 19.98 kB / 310.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3696, allocations: 351.8 kB / 311 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.3736, allocations: 1.587 MB / 312.6 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3752, allocations: 351.5 kB / 313 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.3753, allocations: 240 / 313 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/0.3762, allocations: 273 kB / 313.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.3762, allocations: 0 / 313.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002323/0.3785, allocations: 0.5965 MB / 313.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.3787, allocations: 110.8 kB / 313.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.3792, allocations: 275.6 kB / 314.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.3793, allocations: 37.7 kB / 314.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3795, allocations: 294.5 kB / 314.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3796, allocations: 86.8 kB / 314.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3797, allocations: 12 kB / 314.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3798, allocations: 334.8 kB / 314.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.3804, allocations: 132.7 kB / 315.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.3811, allocations: 286.9 kB / 315.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.3817, allocations: 155.9 kB / 315.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3817, allocations: 7.938 kB / 315.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001489/0.3832, allocations: 458 kB / 316 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007248/0.3839, allocations: 1.659 MB / 317.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.384, allocations: 4 kB / 317.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.3843, allocations: 40.84 kB / 317.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.3849, allocations: 79.83 kB / 317.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.3869, allocations: 1.511 MB / 319.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.3875, allocations: 67.61 kB / 319.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.3876, allocations: 20 kB / 319.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.3876, allocations: 3.938 kB / 319.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.3889, allocations: 400.8 kB / 319.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3889, allocations: 4 kB / 319.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.3892, allocations: 48.83 kB / 319.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3896, allocations: 71.84 kB / 319.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.3915, allocations: 1.499 MB / 321.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.392, allocations: 55.86 kB / 321.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3921, allocations: 20 kB / 321.4 MB, free: 10.69 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.0004229/0.3925, allocations: 199.9 kB / 321.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3926, allocations: 31.62 kB / 321.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3928, allocations: 43.95 kB / 321.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3928, allocations: 4.234 kB / 321.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3928, allocations: 0 / 321.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3928, allocations: 7.969 kB / 321.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.3951, allocations: 0.9088 MB / 322.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3952, allocations: 0 / 322.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3956, allocations: 43.97 kB / 322.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.3958, allocations: 40.77 kB / 322.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.3959, allocations: 8 kB / 322.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.3976, allocations: 1.425 MB / 324.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3976, allocations: 7.984 kB / 324.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.3996, allocations: 0.6065 MB / 324.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3998, allocations: 136.7 kB / 324.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4, allocations: 15.98 kB / 324.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.4004, allocations: 35.97 kB / 324.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4006, allocations: 27.95 kB / 325 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.4006, allocations: 19.94 kB / 325 MB, free: 6.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003504/0.401, allocations: 223 kB / 325.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.401, allocations: 0 / 325.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001088/0.4021, allocations: 191.3 kB / 325.4 MB, free: 6.492 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.0002403/0.4024, allocations: 122.9 kB / 325.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.4049, allocations: 0.7849 MB / 326.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.405, allocations: 0 / 326.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.4057, allocations: 282.7 kB / 326.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.4064, allocations: 53.22 kB / 326.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.4091, allocations: 1.009 MB / 327.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.4097, allocations: 0.8431 MB / 328.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4099, allocations: 31.42 kB / 328.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4099, allocations: 0 / 328.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01557/0.4255, allocations: 6.654 MB / 335.1 MB, free: 12.62 MB / 282.7 MB