Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.836e-05, allocations: 4 kB / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08208, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.4637, allocations: 84.42 MB / 401.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.464, allocations: 85.52 kB / 401.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03681/0.5008, allocations: 9.592 MB / 411 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.835e-06/0.5009, allocations: 0 / 411 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.5009, allocations: 11.5 kB / 411 MB, free: 11.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001371/0.5023, allocations: 0.6763 MB / 411.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5024, allocations: 8.031 kB / 411.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5025, allocations: 55.42 kB / 411.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.5032, allocations: 365.5 kB / 412.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.5033, allocations: 36.39 kB / 412.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.5034, allocations: 44.28 kB / 412.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/0.5043, allocations: 428.3 kB / 412.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5044, allocations: 4 kB / 412.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.5045, allocations: 15.75 kB / 412.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5045, allocations: 12 kB / 412.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.5052, allocations: 280.3 kB / 412.9 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.5084, allocations: 1.571 MB / 414.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.509, allocations: 225.1 kB / 414.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.5092, allocations: 90.78 kB / 414.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.5092, allocations: 3.938 kB / 414.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.5097, allocations: 222 kB / 415 MB, free: 8.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.298e-06/0.5097, allocations: 0 / 415 MB, free: 8.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007636/0.5105, allocations: 286.5 kB / 415.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.5106, allocations: 118.7 kB / 415.4 MB, free: 7.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.5111, allocations: 300.1 kB / 415.7 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.5112, allocations: 41.14 kB / 415.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.5114, allocations: 245.3 kB / 416 MB, free: 7.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5115, allocations: 82.58 kB / 416.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5115, allocations: 11.69 kB / 416.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5118, allocations: 342.2 kB / 416.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.512, allocations: 103.2 kB / 416.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.5124, allocations: 248.2 kB / 416.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.5127, allocations: 123.5 kB / 416.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-06/0.5127, allocations: 0 / 416.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008627/0.5136, allocations: 400.4 kB / 417.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009014/0.5145, allocations: 1.658 MB / 419 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5146, allocations: 4 kB / 419 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.5148, allocations: 44.47 kB / 419 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.5152, allocations: 71.78 kB / 419.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.517, allocations: 1.491 MB / 420.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.5174, allocations: 79.27 kB / 420.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.5175, allocations: 15.95 kB / 420.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.277e-06/0.5175, allocations: 4 kB / 420.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007287/0.5183, allocations: 336.1 kB / 421 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5183, allocations: 4 kB / 421 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.5185, allocations: 47.66 kB / 421 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.5188, allocations: 59.78 kB / 421.1 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.5204, allocations: 1.485 MB / 422.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.5208, allocations: 66.59 kB / 422.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.5209, allocations: 22.81 kB / 422.7 MB, free: 0.7109 MB / 330.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.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001931/0.5211, allocations: 155.4 kB / 422.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.5212, allocations: 31.62 kB / 422.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5213, allocations: 39.19 kB / 422.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.197e-06/0.5213, allocations: 8 kB / 422.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-06/0.5214, allocations: 0 / 422.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5214, allocations: 3.984 kB / 422.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.523, allocations: 0.8144 MB / 423.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-06/0.523, allocations: 4 kB / 423.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.5232, allocations: 31.3 kB / 423.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.5234, allocations: 31.66 kB / 423.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.5234, allocations: 15.12 kB / 423.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.525, allocations: 1.418 MB / 425.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.5251, allocations: 0 / 425.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.5261, allocations: 0.4915 MB / 425.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.5263, allocations: 138.3 kB / 425.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.5264, allocations: 11.55 kB / 425.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.5267, allocations: 37.47 kB / 425.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5269, allocations: 27.39 kB / 425.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.5269, allocations: 11.88 kB / 425.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.5273, allocations: 232 kB / 426.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.5273, allocations: 0 / 426.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001017/0.5283, allocations: 195.5 kB / 426.3 MB, free: 13.32 MB / 346.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.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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.000213/0.5285, allocations: 138.5 kB / 426.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.5298, allocations: 0.6559 MB / 427.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.532e-06/0.5299, allocations: 0 / 427.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.5303, allocations: 237.8 kB / 427.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.5307, allocations: 55.33 kB / 427.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5322, allocations: 0.5605 MB / 428 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.5329, allocations: 0.8461 MB / 428.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.5333, allocations: 83.39 kB / 428.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.5334, allocations: 26.81 kB / 428.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.487e-06/0.5334, allocations: 0 / 428.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01431/0.5477, allocations: 5.004 MB / 433.9 MB, free: 5.922 MB / 346.7 MB